1
0
Fork 0
mirror of https://github.com/vim/vim synced 2025-03-21 01:05:11 +01:00
vim/runtime/syntax/abaqus.vim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
1.1 KiB
VimL
Raw Permalink Normal View History

2004-06-13 20:20:40 +00:00
" Vim syntax file
" Language: Abaqus finite element input file (www.hks.com)
2022-08-08 15:42:38 +01:00
" Maintainer: Carl Osterwisch <costerwi@gmail.com>
2004-06-13 20:20:40 +00:00
" Last Change: 2002 Feb 24
" Remark: Huge improvement in folding performance--see filetype plugin
" quit when a syntax file was already loaded
if exists("b:current_syntax")
2004-06-13 20:20:40 +00:00
finish
endif
" Abaqus comment lines
syn match abaqusComment "^\*\*.*$"
" Abaqus keyword lines
syn match abaqusKeywordLine "^\*\h.*" contains=abaqusKeyword,abaqusParameter,abaqusValue display
syn match abaqusKeyword "^\*\h[^,]*" contained display
syn match abaqusParameter ",[^,=]\+"lc=1 contained display
syn match abaqusValue "=\s*[^,]*"lc=1 contained display
" Illegal syntax
syn match abaqusBadLine "^\s\+\*.*" display
" Define the default highlighting.
" Only when an item doesn't have highlighting yet
" The default methods for highlighting. Can be overridden later
hi def link abaqusComment Comment
hi def link abaqusKeyword Statement
hi def link abaqusParameter Identifier
2022-08-08 15:42:38 +01:00
hi def link abaqusValue Constant
hi def link abaqusBadLine Error
2004-06-13 20:20:40 +00:00
let b:current_syntax = "abaqus"