feat: load clostag for all ft

This commit is contained in:
Klesh Wong 2021-09-15 23:08:04 +08:00
parent 3f7ba70bf5
commit ce96b31683

View File

@ -146,7 +146,7 @@ Plug 'scrooloose/nerdcommenter'
Plug 'mhinz/vim-grepper', { 'on': ['Grepper', '<plug>(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 <silent> <leader>ap :call AutoPairsToggle()<CR>
let g:AutoPairsShortcutToggle = ''
" ==== closetag configuration ====
nmap <silent> <leader>ct :CloseTagToggleBuffer<CR>
" ==== grepper configuration ====
"