Changeset 2114 for trunk


Ignore:
Timestamp:
Nov 23, 2012, 8:11:51 PM (7 years ago)
Author:
sam
Message:

vimlol: work around a Win32 Vim issue that fails on empty lines.

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"
    1418" some custom base types
    1519au Syntax cpp
    1620   \ syn keyword cType
    1721   \ half ldouble lldouble real uint
    18 
     22"
    1923" GLSL types and the Lol Engine extensions
    2024au Syntax cpp
     
    3438   \ i64vec2 i64cmplx i64vec3 i64vec4 i64quat i64mat2 i64mat3 i64mat4
    3539   \ u64vec2 u64cmplx u64vec3 u64vec4 u64quat u64mat2 u64mat3 u64mat4
    36 
     40"
    3741" HLSL types
    3842au Syntax cpp
     
    4044   \ int2 int3 int4 int2x2 int3x3 int4x4
    4145   \ 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"""
    4751au BufRead,BufNewFile *.lolfx let b:current_syntax = "cpp"
    48 
     52"
Note: See TracChangeset for help on using the changeset viewer.