neovim

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

sindacmp.vim (1274B)


      1 " Vim syntax file
      2 " Language:     sinda85, sinda/fluint compare file
      3 " Maintainer:   Adrian Nagle, anagle@ball.com
      4 " Last Change:  2003 May 11
      5 " Filenames:    *.cmp
      6 " URL:		http://www.naglenet.org/vim/syntax/sindacmp.vim
      7 " MAIN URL:     http://www.naglenet.org/vim/
      8 
      9 
     10 
     11 " quit when a syntax file was already loaded
     12 if exists("b:current_syntax")
     13  finish
     14 endif
     15 
     16 
     17 
     18 " Ignore case
     19 syn case ignore
     20 
     21 
     22 
     23 "
     24 " Begin syntax definitions for compare files.
     25 "
     26 
     27 " Define keywords for sinda compare (sincomp)
     28 syn keyword sindacmpUnit     celsius fahrenheit
     29 
     30 
     31 
     32 " Define matches for sinda compare (sincomp)
     33 syn match  sindacmpTitle       "Steady State Temperature Comparison"
     34 
     35 syn match  sindacmpLabel       "File  [1-6] is"
     36 
     37 syn match  sindacmpHeader      "^ *Node\( *File  \d\)* *Node Description"
     38 
     39 syn match  sindacmpInteger     "^ *-\=\<[0-9]*\>"
     40 syn match  sindacmpFloat       "-\=\<[0-9]*\.[0-9]*"
     41 
     42 
     43 
     44 " Define the default highlighting
     45 " Only when an item doesn't have highlighting yet
     46 
     47 hi def link sindacmpTitle		     Type
     48 hi def link sindacmpUnit		     PreProc
     49 
     50 hi def link sindacmpLabel		     Statement
     51 
     52 hi def link sindacmpHeader		     sindaHeader
     53 
     54 hi def link sindacmpInteger	     Number
     55 hi def link sindacmpFloat		     Special
     56 
     57 
     58 
     59 let b:current_syntax = "sindacmp"
     60 
     61 " vim: ts=8 sw=2