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