瀏覽代碼

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

get a proper syntax file.
legacy
Sam Hocevar sam 12 年之前
父節點
當前提交
675797faf8
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. +5
    -0
      tools/vimlol/vimlol.vim

+ 5
- 0
tools/vimlol/vimlol.vim 查看文件

@@ -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"


Loading…
取消
儲存