update
This commit is contained in:
parent
80cdfee138
commit
b9c532ce5e
5 changed files with 38 additions and 22 deletions
19
syntax/octobercms.vim
Normal file
19
syntax/octobercms.vim
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
runtime! syntax/jinja.vim
|
||||
|
||||
syntax include @octoberPHP syntax/php.vim
|
||||
|
||||
unlet! b:current_syntax
|
||||
|
||||
syntax include @octoberConfig syntax/dosini.vim
|
||||
|
||||
syntax region octoberConfig start=@\%^\([a-zA-z]\+[a-zA-Z0-9]\+\s*=\s*\("\|'\)\)\|\[\s*[a-zA-Z0-9]\+\s*\]@ end=+^==$+me=e-2 contains=@octoberConfig
|
||||
syntax region octoberPHP start=+^==$+ms=s+2 end=+^==$+me=e-2 contains=@octoberPHP
|
||||
|
||||
" syntax match octobercmsSectionDelimiter "^==$"
|
||||
" highlight link octobercmsSectionDelimiter Comment
|
||||
|
||||
let b:current_syntax = "octobercms"
|
||||
Loading…
Add table
Add a link
Reference in a new issue