diff options
Diffstat (limited to 'lua/lsp/null-ls/linters.lua')
-rw-r--r-- | lua/lsp/null-ls/linters.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lsp/null-ls/linters.lua b/lua/lsp/null-ls/linters.lua index 64d2db4a..b449a4f2 100644 --- a/lua/lsp/null-ls/linters.lua +++ b/lua/lsp/null-ls/linters.lua @@ -63,7 +63,7 @@ function M.list_configured(linter_configs) end function M.setup(filetype, options) - if linters_by_ft[filetype] and not options.force_reload then + if not lvim.lang[filetype] or (linters_by_ft[filetype] and not options.force_reload) then return end |