neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

abaqus.vim (1093B)


      1 " Vim syntax file
      2 " Language:	Abaqus finite element input file (www.hks.com)
      3 " Maintainer:	Carl Osterwisch <costerwi@gmail.com>
      4 " Last Change:	2002 Feb 24
      5 " Remark:	Huge improvement in folding performance--see filetype plugin
      6 
      7 " quit when a syntax file was already loaded
      8 if exists("b:current_syntax")
      9  finish
     10 endif
     11 
     12 " Abaqus comment lines
     13 syn match abaqusComment	"^\*\*.*$"
     14 
     15 " Abaqus keyword lines
     16 syn match abaqusKeywordLine "^\*\h.*" contains=abaqusKeyword,abaqusParameter,abaqusValue display
     17 syn match abaqusKeyword "^\*\h[^,]*" contained display
     18 syn match abaqusParameter ",[^,=]\+"lc=1 contained display
     19 syn match abaqusValue	"=\s*[^,]*"lc=1 contained display
     20 
     21 " Illegal syntax
     22 syn match abaqusBadLine	"^\s\+\*.*" display
     23 
     24 " Define the default highlighting.
     25 " Only when an item doesn't have highlighting yet
     26 
     27 " The default methods for highlighting.  Can be overridden later
     28 hi def link abaqusComment	Comment
     29 hi def link abaqusKeyword	Statement
     30 hi def link abaqusParameter	Identifier
     31 hi def link abaqusValue		Constant
     32 hi def link abaqusBadLine    	Error
     33 
     34 let b:current_syntax = "abaqus"