Changeset 2114
- Timestamp:
- Nov 23, 2012, 8:11:51 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/vimlol/vimlol.vim
r2075 r2114 1 2 "" 3 "" Experimental Lol Engine Vim plugin 4 "" 5 "" More info here: 6 "" http://lol.zoy.org/wiki/dev/setup/vim 7 "" 8 9 10 "" 11 "" Add syntax highlighting for new C++ types 12 "" 13 1 """ 2 """ Experimental Lol Engine Vim plugin 3 """ 4 """ More info here: 5 """ http://lol.zoy.org/wiki/dev/setup/vim 6 """ 7 " 8 " 9 """ XXX: intentionally no empty lines because some versions of Vim 10 """ for Windows will be unable to parse them if a version control 11 """ system has added CRLF line endings. 12 " 13 " 14 """ 15 """ Add syntax highlighting for new C++ types 16 """ 17 " 14 18 " some custom base types 15 19 au Syntax cpp 16 20 \ syn keyword cType 17 21 \ half ldouble lldouble real uint 18 22 " 19 23 " GLSL types and the Lol Engine extensions 20 24 au Syntax cpp … … 34 38 \ i64vec2 i64cmplx i64vec3 i64vec4 i64quat i64mat2 i64mat3 i64mat4 35 39 \ u64vec2 u64cmplx u64vec3 u64vec4 u64quat u64mat2 u64mat3 u64mat4 36 40 " 37 41 " HLSL types 38 42 au Syntax cpp … … 40 44 \ int2 int3 int4 int2x2 int3x3 int4x4 41 45 \ float2 float3 float4 float2x2 float3x3 float4x4 42 43 44 "" 45 "" For now, pretend .lolfx is C++46 "" 46 " 47 " 48 """ 49 """ For now, pretend .lolfx is C++ 50 """ 47 51 au BufRead,BufNewFile *.lolfx let b:current_syntax = "cpp" 48 52 "
Note: See TracChangeset
for help on using the changeset viewer.