diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2023-06-21 03:36:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-21 03:36:39 -0700 |
commit | e27377e33e029a9c2efb282d4c4e51effd76dd88 (patch) | |
tree | 2adbd568f3296ab4da25c77219f54152a9f2a3c1 /runtime/lua/vim/lsp.lua | |
parent | ded01a819ab0e10104aa29ab67cf67e4efd75e04 (diff) | |
parent | 59048814fdad7a8769374f03c0137a8b8a2f5539 (diff) | |
download | rneovim-e27377e33e029a9c2efb282d4c4e51effd76dd88.tar.gz rneovim-e27377e33e029a9c2efb282d4c4e51effd76dd88.tar.bz2 rneovim-e27377e33e029a9c2efb282d4c4e51effd76dd88.zip |
Merge #24086 LSP ctx.version, report full Nvim version
Diffstat (limited to 'runtime/lua/vim/lsp.lua')
-rw-r--r-- | runtime/lua/vim/lsp.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua index cb1c101c58..ea81244c68 100644 --- 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. -- |