summaryrefslogtreecommitdiffstats
path: root/.config/nvim/plugin/50-lsp.lua
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-05-29 16:21:27 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-05-29 16:21:27 +0200
commit2c790a4b7abe1473f802cc5e408a1291e6ebb8ee (patch)
tree59a654c74da65b7f0700ddc92e9f00ba29222869 /.config/nvim/plugin/50-lsp.lua
parentb875b7f877a08c20c6a903f57a6cb253057e6ab7 (diff)
downloaddotfiles-2c790a4b7abe1473f802cc5e408a1291e6ebb8ee.tar.gz
dotfiles-2c790a4b7abe1473f802cc5e408a1291e6ebb8ee.zip
refactor(nvim): group vim.pack.add() calls
This is to avoid getting many prompts when launching nvim and installing the packages initially.
Diffstat (limited to '.config/nvim/plugin/50-lsp.lua')
-rw-r--r--.config/nvim/plugin/50-lsp.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/.config/nvim/plugin/50-lsp.lua b/.config/nvim/plugin/50-lsp.lua
index 938cc64..5f22b37 100644
--- a/.config/nvim/plugin/50-lsp.lua
+++ b/.config/nvim/plugin/50-lsp.lua
@@ -11,8 +11,6 @@ local function inspect_lsp()
vim.notify(vim.inspect(client.server_capabilities), vim.log.levels.INFO)
end
-vim.pack.add({ "https://github.com/neovim/nvim-lspconfig" })
-
vim.api.nvim_create_user_command("LspInspect", inspect_lsp, { desc = "Inspect LSP client" })
-- Enable LSP server capabilities if available when attaching, see `:help lsp-attach`