Skip to content

Commit 452f5b5

Browse files
theocvim-scripts
authored andcommitted
Version 0.4.1
Added option to turn off for non-ROOT C/Cpp files (:let c_no_cern_root=1)
0 parents  commit 452f5b5

2 files changed

Lines changed: 43 additions & 0 deletions

File tree

README

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
This is a mirror of http://www.vim.org/scripts/script.php?script_id=2387
2+
3+
Basic syntax highlighting for the ROOT Data Analysis Framework
4+
http://root.cern.ch

syntax/cern_root.vim

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
" Vim syntax file
2+
" Language: C/C++ ROOT
3+
" Maintainer: Theo Christoudias
4+
" Last Change: 2008 Oct 18
5+
" Remark: Addon to c.vim (see :help 44.11)
6+
" Remark: ROOT webite: http://root.cern.ch
7+
8+
if !exists("c_no_cern_root")
9+
syn keyword cType TH1 TH1C TH1D TH1F TH1I TH1K TH1S
10+
syn keyword cType TH2 TH2C TH2D TH2F TH2I TH2S
11+
syn keyword cType TH3 TH3C TH3D TH3F TH3I TH3S
12+
syn keyword cType TF1 TF2 TF3
13+
syn keyword cType THStack TGraph TGraph2D TCanvas TRandom TLimit TLatex
14+
syn keyword cType TNtuple TObject TTree TIter TKey TRandom2 TShape TPad TMacro
15+
syn keyword cType TString TLine TLegend TFile TDatime TRandom3 TMath
16+
syn keyword cType TLeaf TLeafB TLeafC TLeafD TLeafElement TLeafF TLeafI TLeafL TLeafO TLeafObject
17+
syn keyword cType TChain TDirectory TList TArc TBox TEllipse TPolyLine TCurlyLine TCurlyArc TEllipse
18+
syn keyword cType TMinuit TFitter TLinearFitter TLorentzVector TLorentzRotation TVector3 TVector2
19+
syn keyword cType TRotation TGenPhaseSpace TFeldmanCousins TRobustEstimator TRolke TQuaternion
20+
syn keyword cType TPostScript TSVG TPDF TImageDump THtml TColor TStyle TComplex TPRegexp
21+
syn keyword cType TObjArrayIter TMapIter TClass TEnv TGlobal TCint TROOT TDictionary TTime TTimer
22+
syn keyword cType Double_t Int_t Float_t Long_t Bool_t Byte_t
23+
syn keyword cType char_t Marker_t Double32_t Float16_t Long64_t
24+
syn keyword cType Short_t Stat_t Style_t Text_t UShort_t
25+
syn keyword cConstant kRed kPink kBlue kMagenta kViolet kAzure kCyan kTeal kGreen kSpring kYellow
26+
syn keyword cConstant kSolid kDashed kDotted kDashDotted kDot kPlus kStar kCircle kMultiply kFullDotSmall
27+
syn keyword cConstant kFullDotMedium kFullDotLarge kOpenTriangleDown kFullCross kFullCircle kFullSquare
28+
syn keyword cConstant kFullTriangleUp kFullTriangleDown kOpenCircle kOpenSquare kOpenTriangleUp
29+
syn keyword cConstant kOpenDiamond kOpenCross kFullStar kOpenStar
30+
syn keyword cConstant kTRUE kFALSE
31+
syn keyword cConstant kIsClass kIsStruct kIsUnion kIsEnum kIsNamespace kIsTypedef kIsFundamental
32+
syn keyword cConstant kIsAbstract kIsVirtual kIsPureVirtual kIsPublic kIsProtected kIsPrivate kIsPointer
33+
syn keyword cConstant kIsArray kIsStatic kIsDefault kIsReference kIsConstant kIsConstPointer kIsMethConst
34+
syn keyword cSpecial gGeometry gHistImagePalette gWebImagePalette gGrid gClassTable gObjectTable
35+
syn keyword cSpecial gProof gPerfStats gTQSender gTQSlotParams gDebug gDirectory gROOT gFile gPad
36+
syn keyword cSpecial gApplication gBenchmark gEnv gErrorIgnoreLevel gErrorAbortLevel gRandom gStyle
37+
syn keyword cSpecial gRootDir gProgName gProgPath gSystem gVirtualPS gDragManager gGuiBuilder gCurrentRegion
38+
syn keyword cSpecial gClient gMinuit gHtml
39+
endif

0 commit comments

Comments
 (0)