neovim: Add syntax highlighting for glsl

Note that it may be easier to use treesitter highlighting by default.
This commit is contained in:
Donovan Glover 2024-04-01 19:44:58 -04:00
parent 35b677c46d
commit 1d165d3068
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -581,7 +581,7 @@ in
highlight = { highlight = {
enable = true, enable = true,
disable = function(lang) disable = function(lang)
if lang ~= "javascript" and lang ~= "tsx" and lang ~= "typescript" and lang ~= "astro" and lang ~= "css" then if lang ~= "javascript" and lang ~= "tsx" and lang ~= "typescript" and lang ~= "astro" and lang ~= "css" and lang ~= "glsl" then
return true return true
end end
end, end,