Fix deprecated get_active_clients

This commit is contained in:
LVIM ORG
2024-05-19 12:52:54 +03:00
parent 139e363dd5
commit e6afff238c
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ local config = require('outline.config')
local M = {}
function M.is_buf_attached_to_lsp(bufnr)
local clients = vim.lsp.get_active_clients({ bufnr = bufnr or 0 })
local clients = vim.lsp.get_clients({ bufnr = bufnr or 0 })
return clients ~= nil and #clients > 0
end