diff options
author | kylo252 <[email protected]> | 2022-01-01 14:25:23 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-01-01 14:25:23 +0100 |
commit | 91077623f093bf173ea9b224bb7bde15f3c2a13b (patch) | |
tree | 767b285146429dc724d2d9cacf272154941bd3fb /lua/lvim/core/lualine/components.lua | |
parent | 7d1b2f697b70cd81adb34c734a6e02fdf991d2db (diff) |
refactor(info): use new null-ls api for sources (#2125)
Diffstat (limited to 'lua/lvim/core/lualine/components.lua')
-rw-r--r-- | lua/lvim/core/lualine/components.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lua/lvim/core/lualine/components.lua b/lua/lvim/core/lualine/components.lua index 9cf67616..b1387afa 100644 --- a/lua/lvim/core/lualine/components.lua +++ b/lua/lvim/core/lualine/components.lua @@ -104,17 +104,16 @@ return { -- add formatter local formatters = require "lvim.lsp.null-ls.formatters" - local supported_formatters = formatters.list_registered_providers(buf_ft) + local supported_formatters = formatters.list_registered(buf_ft) vim.list_extend(buf_client_names, supported_formatters) -- add linter local linters = require "lvim.lsp.null-ls.linters" - local supported_linters = linters.list_registered_providers(buf_ft) + local supported_linters = linters.list_registered(buf_ft) vim.list_extend(buf_client_names, supported_linters) return "[" .. table.concat(buf_client_names, ", ") .. "]" end, - -- icon = "ï‚… ", color = { gui = "bold" }, cond = conditions.hide_in_width, }, |