summaryrefslogtreecommitdiff
path: root/.config/nvim/plugin
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/plugin')
-rw-r--r--.config/nvim/plugin/options.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/nvim/plugin/options.lua b/.config/nvim/plugin/options.lua
index 4a2da62..9ee0fd0 100644
--- a/.config/nvim/plugin/options.lua
+++ b/.config/nvim/plugin/options.lua
@@ -2,7 +2,8 @@
vim.g.have_nerd_font = true
vim.opt.mouse = 'a' -- enable mouse
vim.opt.clipboard = 'unnamedplus' -- use system clipboard
-vim.opt.undofile = true -- Persist undo history by saving it to a file
+vim.opt.undofile = true -- persist undo history by saving it to a file
+vim.opt.exrc = true -- WARNING: runs .nvim.lua in cwd, which may execute arbitrary code
-- Tab
vim.opt.expandtab = true -- convert tabs to spaces