From 0c195851ee69027d81079ddbf738a167a1ea1b1c Mon Sep 17 00:00:00 2001 From: altermo <107814000+altermo@users.noreply.github.com> Date: Wed, 3 Sep 2025 14:20:34 +0200 Subject: perf: use has() instead of vim.version #4053 --- plugin/lspconfig.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin') diff --git a/plugin/lspconfig.lua b/plugin/lspconfig.lua index dfd9dc59..35898e17 100644 --- a/plugin/lspconfig.lua +++ b/plugin/lspconfig.lua @@ -73,7 +73,7 @@ end, { desc = 'Opens the Nvim LSP client log.', }) -if vim.version.ge(vim.version(), { 0, 11, 2 }) then +if vim.fn.has('nvim-0.11.2') == 1 then local complete_client = function(arg) return vim .iter(vim.lsp.get_clients()) -- cgit v1.2.3-70-g09d2