Changeset 2135


Ignore:
Timestamp:
Dec 7, 2012, 1:41:36 PM (11 years ago)
Author:
sam
Message:

vimlol: remove hack for CRLF line endings and replace it with .gitattributes.

Location:
trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/vimlol/vimlol.vim

    r2114 r2135  
    55""" http://lol.zoy.org/wiki/dev/setup/vim
    66"""
    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 "
     7
     8
    149"""
    1510""" Add syntax highlighting for new C++ types
    1611"""
    17 "
     12
    1813" some custom base types
    1914au Syntax cpp
    2015   \ syn keyword cType
    2116   \ half ldouble lldouble real uint
    22 "
     17
    2318" GLSL types and the Lol Engine extensions
    2419au Syntax cpp
     
    3833   \ i64vec2 i64cmplx i64vec3 i64vec4 i64quat i64mat2 i64mat3 i64mat4
    3934   \ u64vec2 u64cmplx u64vec3 u64vec4 u64quat u64mat2 u64mat3 u64mat4
    40 "
     35
    4136" HLSL types
    4237au Syntax cpp
     
    4439   \ int2 int3 int4 int2x2 int3x3 int4x4
    4540   \ float2 float3 float4 float2x2 float3x3 float4x4
    46 "
    47 "
     41
     42
    4843"""
    4944""" For now, pretend .lolfx is C++
    5045"""
    5146au BufRead,BufNewFile *.lolfx let b:current_syntax = "cpp"
    52 "
     47
Note: See TracChangeset for help on using the changeset viewer.