Override or set new options, autocmds, etc. in lua files placed in lua/custom/
This commit is contained in:
parent
5e4d24cb2f
commit
877eedba21
2 changed files with 6 additions and 0 deletions
4
init.lua
4
init.lua
|
@ -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`
|
-- The line beneath this is called `modeline`. See `:help modeline`
|
||||||
-- vim: ts=2 sts=2 sw=2 et
|
-- vim: ts=2 sts=2 sw=2 et
|
||||||
|
|
2
lua/custom/example_override.lua
Normal file
2
lua/custom/example_override.lua
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
-- Override hlsearch option value from init.lua
|
||||||
|
-- vim.o.hlsearch = true
|
Loading…
Add table
Reference in a new issue