mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	 a98a6996c2
			
		
	
	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>
		
	
		
			
				
	
	
		
			87 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			VimL
		
	
	
	
	
	
			
		
		
	
	
			87 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			VimL
		
	
	
	
	
	
| " Vim syntax file
 | |
| " This is a GENERATED FILE. Please always refer to source file at the URI below.
 | |
| " Language: Web2C TeX texmf.cnf configuration file
 | |
| " Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz>
 | |
| " Last Change: 2001-05-13
 | |
| " URL: http://physics.muni.cz/~yeti/download/syntax/texmf.vim
 | |
| 
 | |
| " Setup
 | |
| if version >= 600
 | |
|   if exists("b:current_syntax")
 | |
|     finish
 | |
|   endif
 | |
| else
 | |
|   syntax clear
 | |
| endif
 | |
| 
 | |
| syn case match
 | |
| 
 | |
| " Comments
 | |
| syn match texmfComment "%..\+$" contains=texmfTodo
 | |
| syn match texmfComment "%\s*$" contains=texmfTodo
 | |
| syn keyword texmfTodo TODO FIXME XXX NOT contained
 | |
| 
 | |
| " Constants and parameters
 | |
| syn match texmfPassedParameter "[-+]\=%\w\W"
 | |
| syn match texmfPassedParameter "[-+]\=%\w$"
 | |
| syn match texmfNumber "\<\d\+\>"
 | |
| syn match texmfVariable "\$\(\w\k*\|{\w\k*}\)"
 | |
| syn match texmfSpecial +\\"\|\\$+
 | |
| syn region texmfString start=+"+ end=+"+ skip=+\\"\\\\+ contains=texmfVariable,texmfSpecial,texmfPassedParameter
 | |
| 
 | |
| " Assignments
 | |
| syn match texmfLHSStart "^\s*\w\k*" nextgroup=texmfLHSDot,texmfEquals
 | |
| syn match texmfLHSVariable "\w\k*" contained nextgroup=texmfLHSDot,texmfEquals
 | |
| syn match texmfLHSDot "\." contained nextgroup=texmfLHSVariable
 | |
| syn match texmfEquals "\s*=" contained
 | |
| 
 | |
| " Specialities
 | |
| syn match texmfComma "," contained
 | |
| syn match texmfColons ":\|;"
 | |
| syn match texmfDoubleExclam "!!" contained
 | |
| 
 | |
| " Catch errors caused by wrong parenthesization
 | |
| syn region texmfBrace matchgroup=texmfBraceBrace start="{" end="}" contains=ALLBUT,texmfTodo,texmfBraceError,texmfLHSVariable,texmfLHSDot transparent
 | |
| syn match texmfBraceError "}"
 | |
| 
 | |
| " Define the default highlighting
 | |
| if version >= 508 || !exists("did_texmf_syntax_inits")
 | |
|   if version < 508
 | |
|     let did_texmf_syntax_inits = 1
 | |
|     command -nargs=+ HiLink hi link <args>
 | |
|   else
 | |
|     command -nargs=+ HiLink hi def link <args>
 | |
|   endif
 | |
| 
 | |
|   HiLink texmfComment Comment
 | |
|   HiLink texmfTodo Todo
 | |
| 
 | |
|   HiLink texmfPassedParameter texmfVariable
 | |
|   HiLink texmfVariable Identifier
 | |
| 
 | |
|   HiLink texmfNumber Number
 | |
|   HiLink texmfString String
 | |
| 
 | |
|   HiLink texmfLHSStart texmfLHS
 | |
|   HiLink texmfLHSVariable texmfLHS
 | |
|   HiLink texmfLHSDot texmfLHS
 | |
|   HiLink texmfLHS Type
 | |
| 
 | |
|   HiLink texmfEquals Normal
 | |
| 
 | |
|   HiLink texmfBraceBrace texmfDelimiter
 | |
|   HiLink texmfComma texmfDelimiter
 | |
|   HiLink texmfColons texmfDelimiter
 | |
|   HiLink texmfDelimiter Preproc
 | |
| 
 | |
|   HiLink texmfDoubleExclam Statement
 | |
|   HiLink texmfSpecial Special
 | |
| 
 | |
|   HiLink texmfBraceError texmfError
 | |
|   HiLink texmfError Error
 | |
| 
 | |
|   delcommand HiLink
 | |
| endif
 | |
| 
 | |
| let b:current_syntax = "texmf"
 |