initial commit

This commit is contained in:
xesc 2023-12-09 15:46:50 +01:00
commit 48bd259cd8
29 changed files with 1107 additions and 0 deletions

13
lua/core/autocmd.lua Normal file
View file

@ -0,0 +1,13 @@
-- autocmd
-- Disable autocommenting on new lines under commented ones
vim.api.nvim_create_autocmd("Filetype", {
pattern = "*",
command = "setlocal formatoptions-=c formatoptions-=r formatoptions-=o"
})
vim.api.nvim_create_autocmd("FocusLost", {
pattern = "*",
command = ":wa"
})