mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-06 20:54:30 +08:00
Fix keyword error from containedin pattern
This commit is contained in:
@@ -18,6 +18,8 @@ function! s:GetMatchOption()
|
|||||||
if useJavaScriptPlugin
|
if useJavaScriptPlugin
|
||||||
let containedin = 'jsObject,jsFuncBlock,@jsExpression'
|
let containedin = 'jsObject,jsFuncBlock,@jsExpression'
|
||||||
else
|
else
|
||||||
|
" Just to avoid error from the containedin pattern
|
||||||
|
syntax match javascriptScriptBlock /javascriptScriptBlock/
|
||||||
let containedin = '.*ScriptBlock'
|
let containedin = '.*ScriptBlock'
|
||||||
endif
|
endif
|
||||||
let containedin .= ',typescriptIdentifierName'
|
let containedin .= ',typescriptIdentifierName'
|
||||||
|
|||||||
Reference in New Issue
Block a user