aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/lspconfig.lua
diff options
context:
space:
mode:
authorSebastian Lyng Johansen <sebastian@lyngjohansen.com>2025-08-14 20:31:21 +0200
committerGitHub <noreply@github.com>2025-08-14 11:31:21 -0700
commit26ccc7f9f782b9f1723ae10d5c3e2ac9c2c6c9aa (patch)
tree976999021d3acd67f9ea9e471625f1606bc3170a /plugin/lspconfig.lua
parentci: bump actions/checkout from 4 to 5 (#3994) (diff)
downloadnvim-lspconfig-26ccc7f9f782b9f1723ae10d5c3e2ac9c2c6c9aa.tar
nvim-lspconfig-26ccc7f9f782b9f1723ae10d5c3e2ac9c2c6c9aa.tar.gz
nvim-lspconfig-26ccc7f9f782b9f1723ae10d5c3e2ac9c2c6c9aa.tar.bz2
nvim-lspconfig-26ccc7f9f782b9f1723ae10d5c3e2ac9c2c6c9aa.tar.lz
nvim-lspconfig-26ccc7f9f782b9f1723ae10d5c3e2ac9c2c6c9aa.tar.xz
nvim-lspconfig-26ccc7f9f782b9f1723ae10d5c3e2ac9c2c6c9aa.tar.zst
nvim-lspconfig-26ccc7f9f782b9f1723ae10d5c3e2ac9c2c6c9aa.zip
refactor(lsp): vim.lsp.get_log_path() -> vim.lsp.log.get_filename() #3997
Diffstat (limited to 'plugin/lspconfig.lua')
-rw-r--r--plugin/lspconfig.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/lspconfig.lua b/plugin/lspconfig.lua
index 10250919..dfd9dc59 100644
--- a/plugin/lspconfig.lua
+++ b/plugin/lspconfig.lua
@@ -68,7 +68,7 @@ end
api.nvim_create_user_command('LspInfo', ':checkhealth vim.lsp', { desc = 'Alias to `:checkhealth vim.lsp`' })
api.nvim_create_user_command('LspLog', function()
- vim.cmd(string.format('tabnew %s', lsp.get_log_path()))
+ vim.cmd(string.format('tabnew %s', lsp.log.get_filename()))
end, {
desc = 'Opens the Nvim LSP client log.',
})