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