Skip to content

Commit

Permalink
refac(lsp): replace vim.lsp.get_active_clients
Browse files Browse the repository at this point in the history
  • Loading branch information
n3wborn committed Sep 20, 2023
1 parent 296cd7a commit d310a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ return {
-- lsp formatting
local augroup = vim.api.nvim_create_augroup('LspFormatting', {})
local lsp_formatting = function(bufnr)
local clients = vim.lsp.get_active_clients({ bufnr = bufnr })
local clients = vim.lsp.get_clients({ bufnr = bufnr })

lsp.buf.format({
bufnr = bufnr,
Expand Down

0 comments on commit d310a4f

Please sign in to comment.