mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-11-01 18:12:19 +08:00
Fix keyword error from containedin pattern
This commit is contained in:
1 parent
c248bd1488
commit
3fa4bea6df
1 file changed
+2
@@ -18,6 +18,8 @@ function! s:GetMatchOption()
|
||||
if useJavaScriptPlugin
|
||||
let containedin = 'jsObject,jsFuncBlock,@jsExpression'
|
||||
else
|
||||
" Just to avoid error from the containedin pattern
|
||||
syntax match javascriptScriptBlock /javascriptScriptBlock/
|
||||
let containedin = '.*ScriptBlock'
|
||||
endif
|
||||
let containedin .= ',typescriptIdentifierName'
|
||||
|
||||
Reference in new issue
Block a user