Changeset 15503


Ignore:
Timestamp:
07/18/13 09:37:57 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: updated vim syntax highlight

Location:
issm/trunk-jpl/externalpackages/vim/addons/vim/syntax
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/vim/addons/vim/syntax/Synchronize.sh

    r15303 r15503  
    1414cat c.vim | sed "/ISSM's objects begin/,/vim: ts=8/d" > temp
    1515echo "\"ISSM's objects begin" >> temp
    16 find ../../../../../src/c/classes -name "*.cpp" | sed -e "s/\// /g" -e "s/\.cpp//"| awk '{print  $(NF)}' | awk '{ printf "syn keyword cType " $1 "\n"}'>> temp
     16find ../../../../../src/c/classes -name "*.cpp" -o -name "*.h" | sed -e "s/\// /g" -e "s/\.cpp//" -e "s/\.h//" | awk '{print  $(NF)}' | sort | uniq | awk '{ printf "syn keyword cType " $1 "\n"}'>> temp
    1717echo "\"ISSM's objects end" >> temp
    1818cat c.vim | sed "1,/ISSM's objects end/d" >> temp
  • issm/trunk-jpl/externalpackages/vim/addons/vim/syntax/c.vim

    r15325 r15503  
    410410
    411411"ISSM's objects begin
     412syn keyword cType BoolElementResult
     413syn keyword cType BoolInput
     414syn keyword cType BoolParam
     415syn keyword cType classes
     416syn keyword cType Constraint
     417syn keyword cType Constraints
     418syn keyword cType Contour
     419syn keyword cType Contours
     420syn keyword cType ControlInput
     421syn keyword cType DatasetInput
     422syn keyword cType DataSetParam
     423syn keyword cType DependentObject
     424syn keyword cType DofIndexing
     425syn keyword cType DoubleElementResult
     426syn keyword cType DoubleInput
     427syn keyword cType DoubleMatArrayParam
     428syn keyword cType DoubleMatParam
     429syn keyword cType DoubleParam
     430syn keyword cType DoubleTransientMatParam
     431syn keyword cType DoubleVecParam
     432syn keyword cType Element
     433syn keyword cType ElementHook
     434syn keyword cType ElementMatrix
     435syn keyword cType ElementResult
     436syn keyword cType Elements
     437syn keyword cType ElementVector
     438syn keyword cType ExponentialVariogram
     439syn keyword cType ExternalResult
     440syn keyword cType FemModel
     441syn keyword cType FileParam
     442syn keyword cType Friction
     443syn keyword cType GaussianVariogram
     444syn keyword cType gaussobjects
     445syn keyword cType GaussPenta
     446syn keyword cType GaussTria
     447syn keyword cType GenericExternalResult
     448syn keyword cType GenericOption
     449syn keyword cType GenericParam
     450syn keyword cType GiaDeflectionCoreArgs
     451syn keyword cType Hook
     452syn keyword cType Icefront
     453syn keyword cType IndependentObject
     454syn keyword cType Input
     455syn keyword cType Inputs
     456syn keyword cType IntInput
     457syn keyword cType IntMatParam
     458syn keyword cType IntParam
     459syn keyword cType IntVecParam
     460syn keyword cType IoModel
     461syn keyword cType krigingobjects
     462syn keyword cType Load
     463syn keyword cType Loads
    412464syn keyword cType Matdamageice
     465syn keyword cType Material
    413466syn keyword cType Materials
    414467syn keyword cType Matice
    415468syn keyword cType Matpar
    416 syn keyword cType DofIndexing
    417 syn keyword cType IntVecParam
    418 syn keyword cType BoolParam
    419 syn keyword cType IntMatParam
    420 syn keyword cType DoubleTransientMatParam
    421 syn keyword cType StringParam
    422 syn keyword cType DoubleVecParam
    423 syn keyword cType DoubleMatParam
    424 syn keyword cType FileParam
     469syn keyword cType matrixobjects
     470syn keyword cType MatrixParam
     471syn keyword cType Node
     472syn keyword cType Nodes
     473syn keyword cType Numericalflux
     474syn keyword cType Observation
     475syn keyword cType Observations
     476syn keyword cType Option
     477syn keyword cType Options
     478syn keyword cType OptionUtilities
     479syn keyword cType Param
    425480syn keyword cType Parameters
    426 syn keyword cType DataSetParam
    427 syn keyword cType IntParam
    428 syn keyword cType VectorParam
    429 syn keyword cType MatrixParam
    430 syn keyword cType StringArrayParam
    431 syn keyword cType TransientParam
    432 syn keyword cType DoubleParam
    433 syn keyword cType DoubleMatArrayParam
    434 syn keyword cType ExponentialVariogram
     481syn keyword cType Patch
     482syn keyword cType Pengrid
     483syn keyword cType Penpair
     484syn keyword cType Penta
     485syn keyword cType PentaInput
     486syn keyword cType PentaP1ElementResult
     487syn keyword cType PentaRef
    435488syn keyword cType PowerVariogram
     489syn keyword cType Profiler
    436490syn keyword cType Quadtree
    437 syn keyword cType Observations
    438 syn keyword cType GaussianVariogram
    439 syn keyword cType SphericalVariogram
    440 syn keyword cType Observation
     491syn keyword cType Results
     492syn keyword cType Riftfront
    441493syn keyword cType RiftStruct
    442 syn keyword cType OptionUtilities
    443 syn keyword cType Options
    444 syn keyword cType Penpair
    445 syn keyword cType Loads
    446 syn keyword cType Icefront
    447 syn keyword cType Friction
    448 syn keyword cType Riftfront
    449 syn keyword cType Numericalflux
    450 syn keyword cType Pengrid
    451 syn keyword cType Contours
    452 syn keyword cType Vertex
    453 syn keyword cType ElementMatrix
    454 syn keyword cType ElementVector
    455 syn keyword cType Profiler
    456 syn keyword cType Results
    457 syn keyword cType PentaP1ElementResult
    458 syn keyword cType DoubleElementResult
    459 syn keyword cType BoolElementResult
    460 syn keyword cType TriaP1ElementResult
    461 syn keyword cType Elements
    462 syn keyword cType TriaHook
    463 syn keyword cType PentaHook
    464 syn keyword cType Tria
    465 syn keyword cType Penta
    466 syn keyword cType TriaRef
    467 syn keyword cType PentaRef
    468 syn keyword cType GaussTria
    469 syn keyword cType GaussPenta
    470 syn keyword cType DependentObject
    471 syn keyword cType Patch
    472 syn keyword cType Hook
    473 syn keyword cType ControlInput
    474 syn keyword cType DatasetInput
    475 syn keyword cType IntInput
    476 syn keyword cType BoolInput
    477 syn keyword cType Inputs
    478 syn keyword cType TransientInput
    479 syn keyword cType PentaP1Input
    480 syn keyword cType DoubleInput
    481 syn keyword cType TriaInput
    482 syn keyword cType Constraints
     494syn keyword cType Segment
    483495syn keyword cType SpcDynamic
    484496syn keyword cType SpcStatic
    485497syn keyword cType SpcTransient
    486 syn keyword cType Nodes
    487 syn keyword cType IndependentObject
     498syn keyword cType SphericalVariogram
     499syn keyword cType StringArrayParam
     500syn keyword cType StringParam
     501syn keyword cType TransientInput
     502syn keyword cType TransientParam
     503syn keyword cType Tria
     504syn keyword cType TriaInput
     505syn keyword cType TriaP1ElementResult
     506syn keyword cType TriaRef
     507syn keyword cType Update
     508syn keyword cType Variogram
     509syn keyword cType VectorParam
     510syn keyword cType Vertex
    488511syn keyword cType Vertices
    489 syn keyword cType Node
    490 syn keyword cType IoModel
    491 syn keyword cType FemModel
    492512"ISSM's objects end
    493513"ISSM's Enums begin
     
    554574syn keyword cConstant FlowequationIsmacayealpattynEnum
    555575syn keyword cConstant FlowequationIsstokesEnum
     576syn keyword cConstant FlowequationFeStokesEnum
     577syn keyword cConstant FlowequationFeSsaEnum
    556578syn keyword cConstant FlowequationVertexEquationEnum
    557579syn keyword cConstant FrictionCoefficientEnum
     
    627649syn keyword cConstant MaskVertexongroundediceEnum
    628650syn keyword cConstant MaskVertexonwaterEnum
     651syn keyword cConstant IcelevelsetEnum
    629652syn keyword cConstant MaterialsBetaEnum
    630653syn keyword cConstant MaterialsHeatcapacityEnum
     
    650673syn keyword cConstant MeshAverageVertexConnectivityEnum
    651674syn keyword cConstant MeshDimensionEnum
    652 syn keyword cConstant MeshEdgesEnum
    653 syn keyword cConstant MeshElementconnectivityEnum
    654675syn keyword cConstant MeshElementonbedEnum
    655676syn keyword cConstant MeshElementonsurfaceEnum
     
    657678syn keyword cConstant MeshElementsEnum
    658679syn keyword cConstant MeshLowerelementsEnum
    659 syn keyword cConstant MeshNumberofedgesEnum
    660680syn keyword cConstant MeshNumberofelements2dEnum
    661681syn keyword cConstant MeshNumberofelementsEnum
     
    687707syn keyword cConstant QmuResponsedescriptorsEnum
    688708syn keyword cConstant QmuVariabledescriptorsEnum
     709syn keyword cConstant QmuMaterialsRheologyBEnum
    689710syn keyword cConstant RiftsNumriftsEnum
    690711syn keyword cConstant RiftsRiftstructEnum
     
    754775syn keyword cConstant BalancethicknessAnalysisEnum
    755776syn keyword cConstant BalancethicknessSolutionEnum
    756 syn keyword cConstant WeakBalancethicknessAnalysisEnum
    757 syn keyword cConstant WeakBalancethicknessSolutionEnum
     777syn keyword cConstant BalancethicknessSoftAnalysisEnum
     778syn keyword cConstant BalancethicknessSoftSolutionEnum
    758779syn keyword cConstant BedSlopeAnalysisEnum
    759780syn keyword cConstant BedSlopeSolutionEnum
     
    843864syn keyword cConstant PenpairEnum
    844865syn keyword cConstant PentaEnum
    845 syn keyword cConstant PentaP1InputEnum
     866syn keyword cConstant PentaInputEnum
    846867syn keyword cConstant ProfilerEnum
    847868syn keyword cConstant MatrixParamEnum
     
    900921syn keyword cConstant QmuSurfaceEnum
    901922syn keyword cConstant QmuMeltingEnum
     923syn keyword cConstant QmuVxMeshEnum
     924syn keyword cConstant QmuVyMeshEnum
     925syn keyword cConstant QmuVzMeshEnum
    902926syn keyword cConstant AndroidFrictionCoefficientEnum
    903927syn keyword cConstant ResetPenaltiesEnum
     
    961985syn keyword cConstant P1Enum
    962986syn keyword cConstant P1DGEnum
     987syn keyword cConstant P1bubbleEnum
     988syn keyword cConstant P2Enum
     989syn keyword cConstant P2xP1Enum
    963990syn keyword cConstant MINIEnum
    964 syn keyword cConstant P2Enum
     991syn keyword cConstant TaylorHoodEnum
    965992syn keyword cConstant SaveResultsEnum
    966993syn keyword cConstant BoolElementResultEnum
Note: See TracChangeset for help on using the changeset viewer.