mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 18:47:29 -07:00
Update syntax highlighting
This commit is contained in:
parent
361e7ca55b
commit
99b9f5e9c8
4
plug.vim
4
plug.vim
@ -145,8 +145,8 @@ function! s:syntax()
|
|||||||
syntax clear
|
syntax clear
|
||||||
syntax region plug1 start=/\%1l/ end=/\%2l/ contains=ALL
|
syntax region plug1 start=/\%1l/ end=/\%2l/ contains=ALL
|
||||||
syntax region plug2 start=/\%2l/ end=/\%3l/ contains=ALL
|
syntax region plug2 start=/\%2l/ end=/\%3l/ contains=ALL
|
||||||
syn match plugNumber /[0-9]\+[0-9.]*/ containedin=plug1
|
syn match plugNumber /[0-9]\+[0-9.]*/ containedin=plug1 contained
|
||||||
syn match plugBracket /[[\]]/ containedin=plug2
|
syn match plugBracket /[[\]]/ containedin=plug2 contained
|
||||||
syn match plugDash /^-/
|
syn match plugDash /^-/
|
||||||
syn match plugName /\(^- \)\@<=[^:]*/
|
syn match plugName /\(^- \)\@<=[^:]*/
|
||||||
syn match plugError /^- [^:]\+: (x).*/
|
syn match plugError /^- [^:]\+: (x).*/
|
||||||
|
Loading…
Reference in New Issue
Block a user