2023-10-13 21:54:13 +02:00
|
|
|
-- Autocmds are automatically loaded on the VeryLazy event
|
|
|
|
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
|
|
|
|
-- Add any additional autocmds here
|
2023-11-17 20:15:04 +01:00
|
|
|
vim.api.nvim_create_autocmd("FileType", {
|
|
|
|
pattern = { "norg" },
|
|
|
|
callback = function()
|
|
|
|
vim.opt_local.wrap = true
|
|
|
|
vim.opt_local.spell = true
|
|
|
|
end,
|
|
|
|
})
|