We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nvim-lint
1 parent 299c0e0 commit d466f21Copy full SHA for d466f21
lua/astroui/status/condition.lua
@@ -172,7 +172,9 @@ package.loaded["astrolsp"]
172
-- TODO: remove get_active_clients when dropping support for Neovim 0.9
173
---@diagnostic disable-next-line: deprecated
174
and next((vim.lsp.get_clients or vim.lsp.get_active_clients) { bufnr = bufnr or 0 }) ~= nil
175
- ) or (package.loaded["conform"] and next(require("conform").list_formatters(bufnr)) ~= nil)
+ )
176
+ or (package.loaded["conform"] and next(require("conform").list_formatters(bufnr)) ~= nil)
177
+ or (package.loaded["lint"] and next(require("lint")._resolve_linter_by_ft(vim.bo[bufnr].filetype or "")) ~= nil)
178
end
179
180
--- A condition function if a treesitter parser for a given buffer is available
0 commit comments