aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorDaiki Noda <sys9kdr@users.noreply.github.com>2023-12-21 14:52:12 +0900
committerGitHub <noreply@github.com>2023-12-21 13:52:12 +0800
commit6772c1ccec801f2bd099065bebc09debc6474892 (patch)
treee73773a0516bec1e4343e66970ba5018edc55232 /plugin
parentdocs: update server_configurations.md (diff)
downloadnvim-lspconfig-6772c1ccec801f2bd099065bebc09debc6474892.tar
nvim-lspconfig-6772c1ccec801f2bd099065bebc09debc6474892.tar.gz
nvim-lspconfig-6772c1ccec801f2bd099065bebc09debc6474892.tar.bz2
nvim-lspconfig-6772c1ccec801f2bd099065bebc09debc6474892.tar.lz
nvim-lspconfig-6772c1ccec801f2bd099065bebc09debc6474892.tar.xz
nvim-lspconfig-6772c1ccec801f2bd099065bebc09debc6474892.tar.zst
nvim-lspconfig-6772c1ccec801f2bd099065bebc09debc6474892.zip
chore: move loading status check to the top (#2942)
loading status check should be on the top
Diffstat (limited to 'plugin')
-rw-r--r--plugin/lspconfig.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/lspconfig.lua b/plugin/lspconfig.lua
index 0a769588..8eb368d8 100644
--- a/plugin/lspconfig.lua
+++ b/plugin/lspconfig.lua
@@ -1,10 +1,10 @@
-local api, lsp = vim.api, vim.lsp
-
if vim.g.lspconfig ~= nil then
return
end
vim.g.lspconfig = 1
+local api, lsp = vim.api, vim.lsp
+
if vim.fn.has 'nvim-0.8' ~= 1 then
local version_info = vim.version()
local warning_str = string.format(