Skip to content

Commit

Permalink
fix #52
Browse files Browse the repository at this point in the history
  • Loading branch information
zztrieuzz committed Jul 10, 2022
1 parent 745afe8 commit b03ccbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/windline/components/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ end


local function is_lsp(bufnr)
return next(vim.lsp.get_active_clients({ bufnr = bufnr or vim.api.nvim_get_current_buf })) ~= nil
return next(vim.lsp.get_active_clients({ bufnr = bufnr or vim.api.nvim_get_current_buf() })) ~= nil
end

local lsp_client_names = function(bufnr, opt)
Expand Down

0 comments on commit b03ccbd

Please sign in to comment.