Add slime syntax, closes #252

This commit is contained in:
Adam Stankiewicz
2017-12-06 13:17:06 +01:00
parent 9fe009095a
commit 11f53253ad
39 changed files with 2292 additions and 3432 deletions

View File

@@ -21,6 +21,19 @@ if exists('s:current_syntax_save')
unlet s:current_syntax_save
endif
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'glsl') == -1
" Language: OpenGL Shading Language
" Maintainer: Sergey Tikhomirov <sergey@tikhomirov.io>
syn include @GLSL syntax/glsl.vim
syn region ShaderScript
\ start="<script [^>]*type=\('\|\"\)x-shader/x-\(vertex\|fragment\)\('\|\"\)[^>]*>"
\ keepend
\ end="</script>"me=s-1
\ contains=@GLSL,htmlScriptTag,@htmlPreproc
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1