fix: get_active_clients() is deprecated

This commit is contained in:
dlond 2025-09-03 08:09:00 +12:00 committed by Daniel Lond
parent 220864faf2
commit b668a18cc8
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ CompileFlags:
vim.notify('Created .clangd pointing to: ' .. file_info.relative_dir, vim.log.levels.INFO)
-- Restart LSP if clangd is running
local clients = vim.lsp.get_active_clients({ name = 'clangd' })
local clients = vim.lsp.get_clients({ name = 'clangd' })
if #clients > 0 then
vim.notify('Restarting clangd...', vim.log.levels.INFO)
-- Stop and start clangd to pick up new config