initial commit
This commit is contained in:
commit
48bd259cd8
29 changed files with 1107 additions and 0 deletions
13
lua/core/autocmd.lua
Normal file
13
lua/core/autocmd.lua
Normal 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"
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue