Updated runtime files.
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: Vim .viminfo file
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last Change: 2012 Feb 03
|
||||
" Last Change: 2016 Jun 05
|
||||
|
||||
" Quit when a (custom) syntax file was already loaded
|
||||
if exists("b:current_syntax")
|
||||
@ -30,11 +30,15 @@ syn match viminfoOptionName "\*\a*"ms=s+1 contained
|
||||
" Comments
|
||||
syn match viminfoComment "^#.*"
|
||||
|
||||
" New style lines. TODO: highlight numbers and strings.
|
||||
syn match viminfoNew "^|.*"
|
||||
|
||||
" Define the default highlighting.
|
||||
" Only used when an item doesn't have highlighting yet
|
||||
hi def link viminfoComment Comment
|
||||
hi def link viminfoError Error
|
||||
hi def link viminfoStatement Statement
|
||||
hi def link viminfoNew String
|
||||
|
||||
let b:current_syntax = "viminfo"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user