⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sinda.vim

📁 MSYS在windows下模拟了一个类unix的终端
💻 VIM
字号:
" Vim syntax file" Language:     sinda85, sinda/fluint input file" Maintainer:   Adrian Nagle, anagle@ball.com" Last Change:  2001 May 15" Filenames:    *.sin" URL:          http://www.naglenet.org/vim/syntax/sinda.vim" MAIN URL:     http://www.naglenet.org/vim/" For version 5.x: Clear all syntax items" For version 6.x: Quit when a syntax file was already loadedif version < 600  syntax clearelseif exists("b:current_syntax")  finishendif" Ignore casesyn case ignore""" Begin syntax definitions for sinda input and output files."" Force free-form fortran formatlet fortran_free_source=1" Load FORTRAN syntax fileif version < 600  source <sfile>:p:h/fortran.vimelse  runtime! syntax/fortran.vimendifunlet b:current_syntax" Define keywords for SINDAsyn keyword sindaMacro    BUILD BUILDF DEBON DEBOFF DEFMOD FSTART FSTOPsyn keyword sindaOptions  TITLE PPSAVE RSI RSO OUTPUT SAVE QMAP USER1 USER2syn keyword sindaOptions  MODEL PPOUT NOLIST MLINE NODEBUG DIRECTORIESsyn keyword sindaOptions  DOUBLEPRsyn keyword sindaRoutine  FORWRD FWDBCK STDSTL FASTICsyn keyword sindaControl  ABSZRO ACCELX ACCELY ACCELZ ARLXCA ATMPCAsyn keyword sindaControl  BACKUP CSGFAC DRLXCA DTIMEH DTIMEI DTIMELsyn keyword sindaControl  DTIMES DTMPCA EBALNA EBALSA EXTLIM ITEROTsyn keyword sindaControl  ITERXT ITHOLD NLOOPS NLOOPT OUTPUT OPEITRsyn keyword sindaControl  PATMOS SIGMA TIMEO TIMEND UIDsyn keyword sindaSubRoutine  ASKERS ADARIN ADDARY ADDMOD ARINDVsyn keyword sindaSubRoutine  RYINV ARYMPY ARYSUB ARYTRN BAROCsyn keyword sindaSubRoutine  BELACC BNDDRV BNDGET CHENNB CHGFLDsyn keyword sindaSubRoutine  CHGLMP CHGSUC CHGVOL CHKCHL CHKCHPsyn keyword sindaSubRoutine  CNSTAB COMBAL COMPLQ COMPRS CONTRNsyn keyword sindaSubRoutine  CPRINT CRASH CRVINT CRYTRN CSIFLXsyn keyword sindaSubRoutine  CVTEMP D11CYL C11DAI D11DIM D11MCYsyn keyword sindaSubRoutine  D11MDA D11MDI D11MDT D12CYL D12MCYsyn keyword sindaSubRoutine  D12MDA D1D1DA D1D1IM D1D1WM D1D2DAsyn keyword sindaSubRoutine  D1D2WM D1DEG1 D1DEG2 D1DG1I D1IMD1syn keyword sindaSubRoutine  D1IMIM D1IMWM D1M1DA D1M2MD D1M2WMsyn keyword sindaSubRoutine  D1MDG1 D1MDG2 D2D1WM D1DEG1 D2DEG2syn keyword sindaSubRoutine  D2D2syn keyword sindaIdentifier  BIV CAL DIM DIV DPM DPV DTV GEN PER PIV PIMsyn keyword sindaIdentifier  SIM SIV SPM SPV TVS TVD" Define matches for SINDAsyn match  sindaFortran     "^F[0-9 ]"me=e-1syn match  sindaMotran      "^M[0-9 ]"me=e-1syn match  sindaComment     "^C.*$"syn match  sindaComment     "^R.*$"syn match  sindaComment     "\$.*$"syn match  sindaHeader      "^header[^,]*"syn match  sindaIncludeFile "include \+[^ ]\+"hs=s+8 contains=fortranIncludesyn match  sindaMacro       "^PSTART"syn match  sindaMacro       "^PSTOP"syn match  sindaMacro       "^FAC"syn match  sindaInteger     "-\=\<[0-9]*\>"syn match  sindaFloat       "-\=\<[0-9]*\.[0-9]*"syn match  sindaScientific  "-\=\<[0-9]*\.[0-9]*E[-+]\=[0-9]\+\>"syn match  sindaEndData          "^END OF DATA"if exists("thermal_todo")  execute 'syn match  sindaTodo ' . '"^'.thermal_todo.'.*$"'else  syn match  sindaTodo     "^?.*$"endif" Define the default highlighting" For version 5.7 and earlier: only when not done already" For version 5.8 and later: only when an item doesn't have highlighting yetif version >= 508 || !exists("did_sinda_syntax_inits")  if version < 508    let did_sinda_syntax_inits = 1    command -nargs=+ HiLink hi link <args>  else    command -nargs=+ HiLink hi def link <args>  endif  HiLink sindaMacro             Macro  HiLink sindaOptions           Special  HiLink sindaRoutine           Type  HiLink sindaControl           Special  HiLink sindaSubRoutine        Function  HiLink sindaIdentifier        Identifier  HiLink sindaFortran           PreProc  HiLink sindaMotran            PreProc  HiLink sindaComment           Comment  HiLink sindaHeader            Typedef  HiLink sindaIncludeFile       Type  HiLink sindaInteger           Number  HiLink sindaFloat             Float  HiLink sindaScientific        Float  HiLink sindaEndData           Macro  HiLink sindaTodo              Todo  delcommand HiLinkendiflet b:current_syntax = "sinda"" vim: ts=8 sw=2

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -