aboutsummaryrefslogtreecommitdiff
path: root/lua/kickstart/plugins
diff options
context:
space:
mode:
authorDamjan 9000 <damjan.9000@gmail.com>2024-07-29 20:17:53 +0200
committerDamjan 9000 <damjan.9000@gmail.com>2024-07-29 20:17:53 +0200
commit0a274ab66ccfb78015843af500cba24f806a7e1b (patch)
tree580bc01e430ccc3905672e53a0fc1c0308512959 /lua/kickstart/plugins
parent5a2930fe62bd4fea7a512a51dab355522736432e (diff)
parent84cc12354dbe0ebda180d445f54820def8c4638f (diff)
Merge 'upstream' refactor lazydev, defer clipboard
performance: defer clipboard because xsel and pbcopy can be slow refactor: remove lazydev and luvit-meta as lsp dependencies
Diffstat (limited to 'lua/kickstart/plugins')
-rw-r--r--lua/kickstart/plugins/lspconfig.lua31
1 files changed, 16 insertions, 15 deletions
diff --git a/lua/kickstart/plugins/lspconfig.lua b/lua/kickstart/plugins/lspconfig.lua
index e5944e5..57c15ec 100644
--- a/lua/kickstart/plugins/lspconfig.lua
+++ b/lua/kickstart/plugins/lspconfig.lua
@@ -1,5 +1,20 @@
+-- LSP Plugins
return {
- { -- LSP Configuration & Plugins
+ {
+ -- `lazydev` configures Lua LSP for your Neovim config, runtime and plugins
+ -- used for completion, annotations and signatures of Neovim apis
+ 'folke/lazydev.nvim',
+ ft = 'lua',
+ opts = {
+ library = {
+ -- Load luvit types when the `vim.uv` word is found
+ { path = 'luvit-meta/library', words = { 'vim%.uv' } },
+ },
+ },
+ },
+ { 'Bilal2453/luvit-meta', lazy = true },
+ {
+ -- Main LSP Configuration
'neovim/nvim-lspconfig',
dependencies = {
-- Automatically install LSPs and related tools to stdpath for Neovim
@@ -10,20 +25,6 @@ return {
-- Useful status updates for LSP.
-- NOTE: `opts = {}` is the same as calling `require('fidget').setup({})`
{ 'j-hui/fidget.nvim', opts = {} },
-
- -- `lazydev` configures Lua LSP for your Neovim config, runtime and plugins
- -- used for completion, annotations and signatures of Neovim apis
- {
- 'folke/lazydev.nvim',
- ft = 'lua',
- opts = {
- library = {
- -- Load luvit types when the `vim.uv` word is found
- { path = 'luvit-meta/library', words = { 'vim%.uv' } },
- },
- },
- },
- { 'Bilal2453/luvit-meta', lazy = true },
},
config = function()
-- Brief aside: **What is LSP?**