mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-09 15:38:12 +01:00
neovim: Remove useless if statement
Yikes.
This commit is contained in:
parent
7f063961cb
commit
681251cc75
@ -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,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user