From 681251cc75271dc20e8d51cc7de4979332925063 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 10 May 2024 15:29:46 -0400 Subject: [PATCH] neovim: Remove useless if statement Yikes. --- home/neovim.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/home/neovim.nix b/home/neovim.nix index ae4b578a..ee403e9d 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -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, },