From 2de46cb2ea6b9d3deb9528425deed270632035f6 Mon Sep 17 00:00:00 2001 From: Ryan Kes <> Date: Thu, 27 Aug 2020 21:30:20 +0200 Subject: [PATCH] enable closetag for vue files --- neovim/.config/nvim/init.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index c812ba0..5cc8946 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -190,7 +190,7 @@ let g:ale_sign_warning = '⚠️' " Fix files - let g:ale_fixers = {'*': ['remove_trailing_lines', 'trim_whitespace'], 'javascript': ['importjs', 'prettier', 'eslint'], 'sh': ['shfmt'], 'json': ['prettier'], 'go': ['gofmt', 'goimports'], 'markdown': ['prettier', 'remark-lint', 'textlint'], 'rust': ['rustfmt']} + let g:ale_fixers = {'*': ['remove_trailing_lines', 'trim_whitespace'], 'vue': ['importjs', 'prettier', 'eslint'], 'javascript': ['importjs', 'prettier', 'eslint'], 'sh': ['shfmt'], 'json': ['prettier'], 'go': ['gofmt', 'goimports'], 'markdown': ['prettier', 'remark-lint', 'textlint'], 'rust': ['rustfmt']} " Fix files automatically on save let g:ale_fix_on_save = 1 @@ -228,4 +228,8 @@ nnoremap h: :History: nnoremap h/ :History/ " } + + " closetag { + let g:closetag_filetypes = 'html,xhtml,phtml,vue' + " } " }