glsl.vim 320 B

123456789101112131415
  1. " Language: OpenGL Shading Language
  2. " Maintainer: Gregory Anders <greg@gpanders.com>
  3. " Last Modified: 2024 Jul 21
  4. " Upstream: https://github.com/tikhomirov/vim-glsl
  5. if exists('b:did_indent')
  6. finish
  7. endif
  8. let b:did_indent = 1
  9. setlocal autoindent cindent
  10. setlocal cinoptions&
  11. let b:undo_indent = 'setl ai< ci< cino<'