2024-03-09 17:18:36 +01:00
|
|
|
local api = vim.api
|
|
|
|
|
|
|
|
api.nvim_create_autocmd(
|
|
|
|
"FileType",
|
|
|
|
{ pattern = "markdown", command = "setlocal spell" }
|
|
|
|
)
|
|
|
|
|
|
|
|
api.nvim_create_autocmd(
|
|
|
|
"FileType",
|
|
|
|
{ pattern = "markdown", command = "setlocal complete+=kspell" }
|
|
|
|
)
|
2024-03-26 19:18:28 +01:00
|
|
|
|
|
|
|
api.nvim_create_autocmd({
|
|
|
|
"BufNewFile", "BufRead"
|
|
|
|
},
|
|
|
|
{ pattern = "*.mcfunction", command = "set filetype=mcfunction" }
|
|
|
|
)
|
2024-04-15 15:06:07 +02:00
|
|
|
|
|
|
|
api.nvim_create_autocmd({
|
|
|
|
|
|
|
|
"VimEnter"
|
|
|
|
},
|
|
|
|
{ callback = require('lualine').setup }
|
|
|
|
)
|