From ce96b316831f771afa5db6d39e2750900a16f1b3 Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Wed, 15 Sep 2021 23:08:04 +0800 Subject: [PATCH] feat: load clostag for all ft --- cli/vim/init.vim | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cli/vim/init.vim b/cli/vim/init.vim index 34728c7..44d5e88 100644 --- a/cli/vim/init.vim +++ b/cli/vim/init.vim @@ -146,7 +146,7 @@ Plug 'scrooloose/nerdcommenter' Plug 'mhinz/vim-grepper', { 'on': ['Grepper', '(GrepperOperator)'] } Plug 'morhetz/gruvbox' Plug 'klesh/vim-fish', { 'for': 'fish' } -Plug 'alvan/vim-closetag', { 'for': ['vue', 'html', 'xml'] } +Plug 'alvan/vim-closetag' "Plug 'francoiscabrol/ranger.vim' Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf.vim' @@ -175,7 +175,7 @@ let g:vim_markdown_folding_disabled = 1 " ==== vim-closetag configuration ==== -let g:closetag_filetypes = 'html,xhtml,phtml,vue' +let g:closetag_filetypes = 'html,xhtml,phtml,vue,jsx' if $VIM_MODE == 'enhanced' @@ -215,6 +215,9 @@ endif nmap ap :call AutoPairsToggle() let g:AutoPairsShortcutToggle = '' +" ==== closetag configuration ==== +nmap ct :CloseTagToggleBuffer + " ==== grepper configuration ==== "