Quellcode durchsuchen

vimlol: pretend lolfx files are C++ so that Vim highlights them until we

get a proper syntax file.
legacy
Sam Hocevar sam vor 12 Jahren
Ursprung
Commit
675797faf8
1 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  1. +5
    -0
      tools/vimlol/vimlol.vim

+ 5
- 0
tools/vimlol/vimlol.vim Datei anzeigen

@@ -33,3 +33,8 @@ au Syntax cpp syn keyword cType rvec2 rcmplx rvec3 rvec4 rquat rmat2 rmat3 rmat4
au Syntax cpp syn keyword cType int2 int3 int4 int2x2 int3x3 int4x4
au Syntax cpp syn keyword cType float2 float3 float4 float2x2 float3x3 float4x4

""
"" For now, pretend .lolfx is C++
""
au BufRead,BufNewFile *.lolfx let b:current_syntax = "cpp"


Laden…
Abbrechen
Speichern