diff options
| author | Daiki Noda <sys9kdr@users.noreply.github.com> | 2023-11-27 10:32:02 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-26 17:32:02 -0800 |
| commit | e4a56adbc51c55964253dce4505cec55c82c1c04 (patch) | |
| tree | 1e4ae1ecad03dc8535b541e7a802310d7a99d100 /plugin | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-e4a56adbc51c55964253dce4505cec55c82c1c04.tar nvim-lspconfig-e4a56adbc51c55964253dce4505cec55c82c1c04.tar.gz nvim-lspconfig-e4a56adbc51c55964253dce4505cec55c82c1c04.tar.bz2 nvim-lspconfig-e4a56adbc51c55964253dce4505cec55c82c1c04.tar.lz nvim-lspconfig-e4a56adbc51c55964253dce4505cec55c82c1c04.tar.xz nvim-lspconfig-e4a56adbc51c55964253dce4505cec55c82c1c04.tar.zst nvim-lspconfig-e4a56adbc51c55964253dce4505cec55c82c1c04.zip | |
perf: reduce an unnecessary function call #2913
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/lspconfig.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/lspconfig.lua b/plugin/lspconfig.lua index 1a731eb1..f76d5c89 100644 --- a/plugin/lspconfig.lua +++ b/plugin/lspconfig.lua @@ -5,8 +5,8 @@ if vim.g.lspconfig ~= nil then end vim.g.lspconfig = 1 -local version_info = vim.version() if vim.fn.has 'nvim-0.7' ~= 1 then + local version_info = vim.version() local warning_str = string.format( '[lspconfig] requires neovim 0.7 or later. Detected neovim version: 0.%s.%s', version_info.minor, |
