aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-30 13:42:20 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-30 13:42:20 -0300
commit4320231000d2f3875cc7afa77ccfb9465f87b016 (patch)
treee19459795761c18839525f9cbc1405c7cc165f7e
parentef4d8da354c539dfd6a40e4c2ba08cec5e753d8b (diff)
downloadvim-4320231000d2f3875cc7afa77ccfb9465f87b016.tar.gz
vim-4320231000d2f3875cc7afa77ccfb9465f87b016.tar.bz2
Fix: use setlocal for FileType events
-rw-r--r--vim.dot.link/plugin/nerdtree_customizations.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim.dot.link/plugin/nerdtree_customizations.vim b/vim.dot.link/plugin/nerdtree_customizations.vim
index 95b50f3..430d8bc 100644
--- a/vim.dot.link/plugin/nerdtree_customizations.vim
+++ b/vim.dot.link/plugin/nerdtree_customizations.vim
@@ -17,8 +17,8 @@ augroup nerdtree
"autocmd VimEnter * NERDTree
"autocmd VimEnter * wincmd p
- autocmd FileType nerdtree set relativenumber
- autocmd FileType taglist set relativenumber
+ autocmd FileType nerdtree setlocal relativenumber
+ autocmd FileType taglist setlocal relativenumber
augroup END
" }}}