aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2024-12-01 15:41:11 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2024-12-08 18:38:48 +0100
commit687fcb939b7de052a3ba6c300348fcd5eb128e83 (patch)
tree2b25a2658f59f87fb7e6cfc6a999ab868fce8d72 /doc
parentrefactor: deprecate util.find_node_modules_ancestor (diff)
downloadnvim-lspconfig-687fcb939b7de052a3ba6c300348fcd5eb128e83.tar
nvim-lspconfig-687fcb939b7de052a3ba6c300348fcd5eb128e83.tar.gz
nvim-lspconfig-687fcb939b7de052a3ba6c300348fcd5eb128e83.tar.bz2
nvim-lspconfig-687fcb939b7de052a3ba6c300348fcd5eb128e83.tar.lz
nvim-lspconfig-687fcb939b7de052a3ba6c300348fcd5eb128e83.tar.xz
nvim-lspconfig-687fcb939b7de052a3ba6c300348fcd5eb128e83.tar.zst
nvim-lspconfig-687fcb939b7de052a3ba6c300348fcd5eb128e83.zip
refactor: remove outdated code
Lspconfig requires neovim version 0.9 at the time of writing this, so discard any version checks and code for older versions.
Diffstat (limited to 'doc')
-rw-r--r--doc/lspconfig.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/lspconfig.txt b/doc/lspconfig.txt
index 7ae15890..0590a5d4 100644
--- a/doc/lspconfig.txt
+++ b/doc/lspconfig.txt
@@ -471,9 +471,7 @@ When debugging language servers, it is helpful to enable additional logging in
the built-in client, specifically considering the RPC logs. Example: >lua
vim.lsp.set_log_level 'trace'
- if vim.fn.has 'nvim-0.5.1' == 1 then
- require('vim.lsp.log').set_format_func(vim.inspect)
- end
+ require('vim.lsp.log').set_format_func(vim.inspect)
<
Attempt to run the language server, and open the log with: