mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-16 15:33:49 -05:00
Compare commits
2 Commits
master
...
f49991ac65
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f49991ac65 | ||
|
|
98665c0764 |
@@ -1,4 +1,8 @@
|
||||

|
||||
This is my top-starred repository on Github, so I've decided to put this ad here:
|
||||
|
||||
If you work for big corp and seek consulting, please visit following repository: https://github.com/sheerun/consultation
|
||||
|
||||
' transparent contains=goworkUse,goworkPath
|
||||
" use, exclude, replace, and go can be also grouped into block
|
||||
syntax region goworkUse start='use (' end=')' transparent contains=goworkUse
|
||||
syntax region goworkReplace start='replace (' end=')' transparent contains=goworkReplace,goworkVersion
|
||||
syntax match goworkGo '^go .*$' transparent contains=goworkGo,goworkGoVersion
|
||||
|
||||
@@ -47,11 +45,6 @@ highlight default link goworkReplaceOperator Operator
|
||||
syntax match goworkGoVersion "1\.\d\+" contained
|
||||
highlight default link goworkGoVersion Identifier
|
||||
|
||||
|
||||
" match paths in use directives
|
||||
syntax match goworkPath "\f\+"
|
||||
|
||||
highlight default link goworkPath Identifier
|
||||
" highlight versions:
|
||||
" * vX.Y.Z-pre
|
||||
" * vX.Y.Z
|
||||
|
||||
Reference in New Issue
Block a user