neovim: Remove useless if statement

Yikes.
This commit is contained in:
Donovan Glover 2024-05-10 15:29:46 -04:00
parent 7f063961cb
commit 681251cc75
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -493,7 +493,7 @@ in
highlight = { highlight = {
enable = true, enable = true,
disable = function(lang) disable = function(lang)
if lang ~= "javascript" return lang ~= "javascript"
and lang ~= "tsx" and lang ~= "tsx"
and lang ~= "typescript" and lang ~= "typescript"
and lang ~= "astro" and lang ~= "astro"
@ -502,9 +502,6 @@ in
and lang ~= "nix" and lang ~= "nix"
and lang ~= "vue" and lang ~= "vue"
and lang ~= "pug" and lang ~= "pug"
then
return true
end
end, end,
additional_vim_regex_highlighting = true, additional_vim_regex_highlighting = true,
}, },