File: viminfo.vim

package info (click to toggle)
vim-rt 5.3-12
  • links: PTS
  • area: main
  • in suites: slink
  • size: 3,172 kB
  • ctags: 815
  • sloc: makefile: 857; awk: 778; ansic: 379; perl: 192; sh: 167
file content (32 lines) | stat: -rw-r--r-- 804 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
" Vim syntax file
" Language:	Vim .viminfo file
" Maintainer:	Bram Moolenaar <Bram@vim.org>
" Last change:	1997 Sep 15

" Remove any old syntax stuff hanging around
syn clear

" The lines that are NOT recognized
syn match viminfoError "^[^\t].*"

" The one-character one-liners that are recognized
syn match viminfoStatement "^[/&$:?=%]"

" The two-character one-liners that are recognized
syn match viminfoStatement "^['>"]."
syn match viminfoStatement "^\~[/&]"

" Comments
syn match viminfoComment "^#.*"

if !exists("did_viminfo_syntax_inits")
  let did_viminfo_syntax_inits = 1
  " The default methods for highlighting.  Can be overridden later
  hi link viminfoComment		Comment
  hi link viminfoError		Error
  hi link viminfoStatement	Statement
endif

let b:current_syntax = "viminfo"

" vim: ts=8