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
|
||||
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