summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-05-28 15:38:59 +0800
committerZhineng Li <im@zhineng.li>2026-05-28 15:38:59 +0800
commit441c5c864effd2432118b05c67f4884f7dd8a219 (patch)
treea79871656137323b2bc00ada2b87f61027e49739 /nvim
parente3b9b4b069fb57c4c125b74e0221d19db9d9e168 (diff)
downloaddotfiles-441c5c864effd2432118b05c67f4884f7dd8a219.tar.gz
dotfiles-441c5c864effd2432118b05c67f4884f7dd8a219.zip
allow trusted per-directory local configuration files
Diffstat (limited to 'nvim')
-rw-r--r--nvim/init.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index ddca121..ee7912d 100644
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -16,6 +16,10 @@ set tabstop=4
" Indent using four spaces
set shiftwidth=4
+" Allow trusted per-directory local configuration files
+set exrc
+set secure
+
" Customize the prefix key
let mapleader = ","