Skip to content

Commit

Permalink
refactor: remove lazydev and luvit-meta as lsp dependencies (nvim-lua…
Browse files Browse the repository at this point in the history
  • Loading branch information
iton0 authored Jul 28, 2024
1 parent 1cef232 commit fd66454
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,22 @@ require('lazy').setup({
end,
},

{ -- LSP Configuration & Plugins
-- LSP 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
Expand All @@ -410,20 +425,6 @@ require('lazy').setup({
-- 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?**
Expand Down

0 comments on commit fd66454

Please sign in to comment.