diff options
| author | pml68 <contact@pml68.me> | 2024-11-29 09:31:39 +0100 |
|---|---|---|
| committer | pml68 <contact@pml68.me> | 2024-11-29 09:31:39 +0100 |
| commit | 43e67dee5563c33030b28fed7c0e2be457692b41 (patch) | |
| tree | 3d3390b7af0d9c3e1d3b66c86dcee8fa4465007b /lua/pml68 | |
| parent | feat: reduce docker image size by ~1.5GB (diff) | |
| download | nvim-43e67dee5563c33030b28fed7c0e2be457692b41.tar.gz | |
feat: remove deprecated API call
Diffstat (limited to 'lua/pml68')
| -rw-r--r-- | lua/pml68/settings.lua | 3 |
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 |
