mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 19:25:11 -07:00
a98a6996c2
Vim runtime files based on 7.4.384 / hg changeset 7090d7f160f7 Excluding: Amiga icons (*.info, icons/) doc/hangulin.txt tutor/ spell/ lang/ (only used for menu translations) macros/maze/, macros/hanoi/, macros/life/, macros/urm/ These were used to test vi compatibility. termcap "Demonstration of a termcap file (for the Amiga and Archimedes)" Helped-by: Rich Wareham <rjw57@cam.ac.uk> Helped-by: John <john.schmidt.h@gmail.com> Helped-by: Yann <yann@yann-salaun.com> Helped-by: Christophe Badoit <c.badoit@lesiteimmo.com> Helped-by: drasill <github@tof2k.com> Helped-by: Tae Sandoval Murgan <taecilla@gmail.com> Helped-by: Lowe Thiderman <lowe.thiderman@gmail.com>
42 lines
1.5 KiB
VimL
42 lines
1.5 KiB
VimL
" Vim syntax file
|
|
" This file works only for Vim6.x
|
|
" Language: Tilde
|
|
" Maintainer: Tobias Rundström <tobi@tildesoftware.net>
|
|
" URL: http://www.tildesoftware.net
|
|
" CVS: $Id: tilde.vim,v 1.1 2004/06/13 19:31:51 vimboss Exp $
|
|
|
|
if exists("b:current_syntax")
|
|
finish
|
|
endif
|
|
|
|
"tilde dosent care ...
|
|
syn case ignore
|
|
|
|
syn match tildeFunction "\~[a-z_0-9]\+"ms=s+1
|
|
syn region tildeParen start="(" end=")" contains=tildeString,tildeNumber,tildeVariable,tildeField,tildeSymtab,tildeFunction,tildeParen,tildeHexNumber,tildeOperator
|
|
syn region tildeString contained start=+"+ skip=+\\\\\|\\"+ end=+"+ keepend
|
|
syn region tildeString contained start=+'+ skip=+\\\\\|\\"+ end=+'+ keepend
|
|
syn match tildeNumber "\d" contained
|
|
syn match tildeOperator "or\|and" contained
|
|
syn match tildeHexNumber "0x[a-z0-9]\+" contained
|
|
syn match tildeVariable "$[a-z_0-9]\+" contained
|
|
syn match tildeField "%[a-z_0-9]\+" contained
|
|
syn match tildeSymtab "@[a-z_0-9]\+" contained
|
|
syn match tildeComment "^#.*"
|
|
syn region tildeCurly start=+{+ end=+}+ contained contains=tildeLG,tildeString,tildeNumber,tildeVariable,tildeField,tildeFunction,tildeSymtab,tildeHexNumber
|
|
syn match tildeLG "=>" contained
|
|
|
|
|
|
hi def link tildeComment Comment
|
|
hi def link tildeFunction Operator
|
|
hi def link tildeOperator Operator
|
|
hi def link tildeString String
|
|
hi def link tildeNumber Number
|
|
hi def link tildeHexNumber Number
|
|
hi def link tildeVariable Identifier
|
|
hi def link tildeField Identifier
|
|
hi def link tildeSymtab Identifier
|
|
hi def link tildeError Error
|
|
|
|
let b:current_syntax = "tilde"
|