From 11f53253ad9fd0cd3e7a44ed9f8c80a4f265b46e Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 6 Dec 2017 13:17:06 +0100 Subject: Add slime syntax, closes #252 --- after/syntax/html.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'after/syntax/html.vim') diff --git a/after/syntax/html.vim b/after/syntax/html.vim index 0ba2c14d..43c0c41e 100644 --- a/after/syntax/html.vim +++ b/after/syntax/html.vim @@ -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 + +syn include @GLSL syntax/glsl.vim +syn region ShaderScript + \ start=""me=s-1 + \ contains=@GLSL,htmlScriptTag,@htmlPreproc + endif if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1 -- cgit v1.2.3