vim

Fork of vim, an acceptable text editor
git clone git://git.laack.co/vim.git
Log | Files | Refs | README | LICENSE

hlsl.vim (279B)


      1 vim9script
      2 # Language:    HLSL (High-Level Shader Language)
      3 # Maintainer:  Maxim Kim <habamax@gmail.com>
      4 # Last Change: 2026 Aug 11
      5 
      6 if exists('b:did_indent')
      7   finish
      8 endif
      9 b:did_indent = 1
     10 
     11 setlocal autoindent cindent
     12 setlocal cinoptions&
     13 
     14 b:undo_indent = 'setl ai< ci< cino<'