Initial commit for astronvim v4 configuration

This commit is contained in:
Xavier Logerais
2024-05-17 19:55:13 +02:00
committed by Xavier Logerais
parent 73890a9ca5
commit dbe1a472b2
29 changed files with 938 additions and 0 deletions

View File

@ -0,0 +1,9 @@
vim.api.nvim_create_autocmd("FileType", {
desc = "Enable wrap and spell for text like documents",
group = vim.api.nvim_create_augroup("auto_spell", { clear = true }),
pattern = { "gitcommit", "markdown", "text", "plaintex" },
callback = function()
vim.opt_local.wrap = true
vim.opt_local.spell = true
end,
})