aboutsummaryrefslogtreecommitdiff
path: root/lua/pml68/settings.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/pml68/settings.lua')
-rw-r--r--lua/pml68/settings.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/pml68/settings.lua b/lua/pml68/settings.lua
index 3c9f44a..3361a7c 100644
--- a/lua/pml68/settings.lua
+++ b/lua/pml68/settings.lua
@@ -16,12 +16,11 @@ end
local function get_attached_clients()
- local buf_clients = vim.lsp.get_active_clients({ bufnr = 0 })
+ local buf_clients = vim.lsp.get_clients({ bufnr = 0 })
if #buf_clients == 0 then
return "LSP Inactive"
end
- local buf_ft = vim.bo.filetype
local buf_client_names = {}
for _, client in pairs(buf_clients) do