From ad44fd01066ed273342ce9e7fd10fcfb69e7cafd Mon Sep 17 00:00:00 2001 From: leafOfTree Date: Fri, 20 Mar 2020 11:47:56 +0800 Subject: [PATCH] Fix syntax error in nvim caused by matchparis --- ftplugin/vue.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ftplugin/vue.vim b/ftplugin/vue.vim index b3c462c..700b5ce 100644 --- a/ftplugin/vue.vim +++ b/ftplugin/vue.vim @@ -1,7 +1,9 @@ if exists("b:did_ftplugin") | finish | endif let b:did_ftplugin = 1 -setlocal matchpairs+=<:> +if !has('nvim') + setlocal matchpairs+=<:> +endif if exists("loaded_matchit") let b:match_ignorecase = 1