Skip to content

Commit

Permalink
feat(lualine): use new lsp get_clients method
Browse files Browse the repository at this point in the history
  • Loading branch information
cpea2506 committed Jul 21, 2023
1 parent 9c21a28 commit 900dfee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/pea/builtin/lualine/components.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ local components = {
function()
local msg = "LS Inactive"
local bufnr = vim.api.nvim_get_current_buf()
local buf_clients = vim.lsp.get_active_clients { bufnr = bufnr }
local buf_clients = vim.lsp.get_clients { bufnr = bufnr }

if vim.tbl_isempty(buf_clients) then
return msg
Expand Down

0 comments on commit 900dfee

Please sign in to comment.