diff options
author | listout <listout@protonmail.com> | 2023-05-04 11:20:45 +0530 |
---|---|---|
committer | listout <listout@protonmail.com> | 2023-05-04 11:20:45 +0530 |
commit | 053dcdee1b2fb63135ac8ecfa174c43fb216a700 (patch) | |
tree | 83395ee61ed1b65ea3822d6981ee1afa32f13a92 /lua/core | |
parent | 85dfa645fc4752a6f12b470ed6225fab868ef711 (diff) |
nvim: dropping autosource plugin in favor of exrc
With `vim.o.exrc = true` secure .exrc, .nvimrc and .nvim.lua files can
be loaded.
Signed-off-by: listout <listout@protonmail.com>
Diffstat (limited to 'lua/core')
-rw-r--r-- | lua/core/options.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/core/options.lua b/lua/core/options.lua index b8d3632..4afea06 100644 --- a/lua/core/options.lua +++ b/lua/core/options.lua @@ -28,6 +28,7 @@ opt.hlsearch = false -- No highlight search opt.incsearch = true opt.ignorecase = true opt.backspace = 'indent,eol,start' +opt.exrc = true ----------------------------------------------------------- -- Tabs, indent |