diff options
author | Florian Walch <florian@fwalch.com> | 2015-01-04 19:37:32 +0100 |
---|---|---|
committer | Florian Walch <florian@fwalch.com> | 2015-01-04 19:42:30 +0100 |
commit | b332aebe252c812ec4068892db4fad71b8075185 (patch) | |
tree | 252a2616a496b575f1b07285df42d88d06cfa8a2 /runtime/syntax | |
parent | 10ff6ee0d7efedc4e3812b39dc8327b8aeef57a7 (diff) | |
download | rneovim-b332aebe252c812ec4068892db4fad71b8075185.tar.gz rneovim-b332aebe252c812ec4068892db4fad71b8075185.tar.bz2 rneovim-b332aebe252c812ec4068892db4fad71b8075185.zip |
vim-patch:6921742
Update runtime files.
https://code.google.com/p/vim/source/detail?r=6921742f396a4abd21d7f69843b804ca0b96059c
Diffstat (limited to 'runtime/syntax')
-rw-r--r-- | runtime/syntax/asciidoc.vim | 4 | ||||
-rw-r--r-- | runtime/syntax/dockerfile.vim | 24 |
2 files changed, 27 insertions, 1 deletions
diff --git a/runtime/syntax/asciidoc.vim b/runtime/syntax/asciidoc.vim index 1303db7cf2..ccb079e06b 100644 --- a/runtime/syntax/asciidoc.vim +++ b/runtime/syntax/asciidoc.vim @@ -5,6 +5,7 @@ " URL: http://asciidoc.org/ " Licence: GPL (http://www.gnu.org) " Remarks: Vim 6 or greater +" Last Update: 2014 Aug 29 (see Issue 240) " Limitations: " " - Nested quoted text formatting is highlighted according to the outer @@ -155,7 +156,8 @@ hi def link asciidocQuotedAttributeList Special hi def link asciidocQuotedBold Special hi def link asciidocQuotedDoubleQuoted Label hi def link asciidocQuotedEmphasized2 Type -hi def link asciidocQuotedEmphasized Type +hi asciidocQuotedEmphasizedItalic term=italic cterm=italic gui=italic +hi def link asciidocQuotedEmphasized asciidocQuotedEmphasizedItalic hi def link asciidocQuotedMonospaced2 Identifier hi def link asciidocQuotedMonospaced Identifier hi def link asciidocQuotedSingleQuoted Label diff --git a/runtime/syntax/dockerfile.vim b/runtime/syntax/dockerfile.vim new file mode 100644 index 0000000000..d1693cba41 --- /dev/null +++ b/runtime/syntax/dockerfile.vim @@ -0,0 +1,24 @@ +" dockerfile.vim - Syntax highlighting for Dockerfiles +" Maintainer: Honza Pokorny <http://honza.ca> +" Version: 0.5 +" Last Change: 2014 Aug 29 +" License: BSD + + +if exists("b:current_syntax") + finish +endif + +let b:current_syntax = "dockerfile" + +syntax case ignore + +syntax match dockerfileKeyword /\v^\s*(ONBUILD\s+)?(ADD|CMD|ENTRYPOINT|ENV|EXPOSE|FROM|MAINTAINER|RUN|USER|VOLUME|WORKDIR|COPY)\s/ + +syntax region dockerfileString start=/\v"/ skip=/\v\\./ end=/\v"/ + +syntax match dockerfileComment "\v^\s*#.*$" + +hi def link dockerfileString String +hi def link dockerfileKeyword Keyword +hi def link dockerfileComment Comment |