feat: add autocmds config
This commit is contained in:
parent
9dc1ca27b3
commit
3362873c0a
3 changed files with 21 additions and 0 deletions
7
lua/autocmds.lua
Normal file
7
lua/autocmds.lua
Normal file
|
@ -0,0 +1,7 @@
|
|||
vim.api.nvim_create_autocmd({ "FileType" }, {
|
||||
pattern = { "gitcommit", "markdown", "md", "mdx" },
|
||||
callback = function()
|
||||
vim.opt_local.spell = true
|
||||
vim.opt.wrap = true
|
||||
end
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue