Override or set new options, autocmds, etc. in lua files placed in lua/custom/

This commit is contained in:
gmnz 2023-06-06 08:01:42 +02:00
parent 5e4d24cb2f
commit 877eedba21
2 changed files with 6 additions and 0 deletions

View File

@ -511,5 +511,9 @@ cmp.setup {
},
}
-- Override or set new options, autocmds, etc. in lua files placed in lua/custom/
-- See lua/custom/example_override.lua
vim.cmd('runtime! lua/custom/*.lua')
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et

View File

@ -0,0 +1,2 @@
-- Override hlsearch option value from init.lua
-- vim.o.hlsearch = true