Skip to content

Commit

Permalink
swap neodev for lazydev 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmckendry committed Jun 4, 2024
1 parent 55a9e84 commit 6dc82f2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 10 additions & 1 deletion nvim/lua/plugins/lspconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@ return {
"neovim/nvim-lspconfig",
event = { "BufReadPre", "BufNewFile" },
dependencies = {
{ "folke/neodev.nvim", opts = { experimental = { pathStrict = true } } },
{
"folke/lazydev.nvim",
ft = "lua",
opts = {
library = {
{ path = "luvit-meta/library", words = { "vim%.uv" } },
},
},
},
"Bilal2453/luvit-meta",
"williamboman/mason.nvim",
"williamboman/mason-lspconfig.nvim",
"hrsh7th/cmp-nvim-lsp",
Expand Down
1 change: 1 addition & 0 deletions nvim/lua/plugins/nvim-cmp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ return {
{ name = "luasnip", max_item_count = max_items },
{ name = "buffer", max_item_count = max_items },
{ name = "path", max_item_count = max_items },
{ name = "lazydev", max_item_count = max_items, group_index = 0 },
}),

-- configure lspkind for vs-code like pictograms in completion menu
Expand Down

0 comments on commit 6dc82f2

Please sign in to comment.