neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 21b074feb09b7f2e4807a816be6fd0687f23c564
parent 8d4a53fe6e20652946948170f2436ec520f9bdfe
Author: Justin M. Keyes <justinkz@gmail.com>
Date:   Wed, 21 Jun 2023 11:34:49 +0200

refactor(lsp): report full Nvim version string in clientInfo

Diffstat:
Mruntime/lua/vim/lsp.lua | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua @@ -1345,7 +1345,6 @@ function lsp.start_client(config) messages = 'messages', verbose = 'verbose', } - local version = vim.version() local workspace_folders --- @type table[]? local root_uri --- @type string? @@ -1379,7 +1378,7 @@ function lsp.start_client(config) -- since 3.15.0 clientInfo = { name = 'Neovim', - version = string.format('%s.%s.%s', version.major, version.minor, version.patch), + version = tostring(vim.version()), }, -- The rootPath of the workspace. Is null if no folder is open. --