summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-08-22 19:56:37 +0200
committerSanto Cariotti <santo@dcariotti.me>2022-08-22 19:56:37 +0200
commitfcd2ac5dd707d0d9a96be5e5ebaaaa11595e5dba (patch)
tree99cb0440af00b2f61f3a778cdd133f0378198bb3
parentf4bdcb0c82eadd5984d1f7d1519baaf58c2c058c (diff)
nvim: fix nvim-tree
-rw-r--r--.config/nvim/init.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 25fe8d6..063a8f8 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -120,7 +120,7 @@ if has('nvim')
let g:coq_settings = { 'auto_start': v:true }
lua require('lsp_conf')
- lua require('nvim-tree').setup()
+ lua require('nvim-tree').setup({ actions = { open_file = { quit_on_open = true } } })
lua require('todo-comments').setup()
lua require('crates').setup()
@@ -159,8 +159,6 @@ set nocompatible
set showcmd " show commands at bottom
" nvim-tree
-let g:nvim_tree_quit_on_open = 1
-let g:nvim_tree_highlight_opened_files = 1
nnoremap <C-t> :NvimTreeToggle<CR>
" vim-move