@@ -399,7 +399,22 @@ require('lazy').setup({
399
399
end ,
400
400
},
401
401
402
- { -- LSP Configuration & Plugins
402
+ -- LSP Plugins
403
+ {
404
+ -- `lazydev` configures Lua LSP for your Neovim config, runtime and plugins
405
+ -- used for completion, annotations and signatures of Neovim apis
406
+ ' folke/lazydev.nvim' ,
407
+ ft = ' lua' ,
408
+ opts = {
409
+ library = {
410
+ -- Load luvit types when the `vim.uv` word is found
411
+ { path = ' luvit-meta/library' , words = { ' vim%.uv' } },
412
+ },
413
+ },
414
+ },
415
+ { ' Bilal2453/luvit-meta' , lazy = true },
416
+ {
417
+ -- Main LSP Configuration
403
418
' neovim/nvim-lspconfig' ,
404
419
dependencies = {
405
420
-- Automatically install LSPs and related tools to stdpath for Neovim
@@ -410,20 +425,6 @@ require('lazy').setup({
410
425
-- Useful status updates for LSP.
411
426
-- NOTE: `opts = {}` is the same as calling `require('fidget').setup({})`
412
427
{ ' j-hui/fidget.nvim' , opts = {} },
413
-
414
- -- `lazydev` configures Lua LSP for your Neovim config, runtime and plugins
415
- -- used for completion, annotations and signatures of Neovim apis
416
- {
417
- ' folke/lazydev.nvim' ,
418
- ft = ' lua' ,
419
- opts = {
420
- library = {
421
- -- Load luvit types when the `vim.uv` word is found
422
- { path = ' luvit-meta/library' , words = { ' vim%.uv' } },
423
- },
424
- },
425
- },
426
- { ' Bilal2453/luvit-meta' , lazy = true },
427
428
},
428
429
config = function ()
429
430
-- Brief aside: **What is LSP?**
0 commit comments