Skip to content

Commit

Permalink
feat(nvim): Replace neodev.nvim with lazydev.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Jun 4, 2024
1 parent 8d9104f commit 810a5f8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions nvim/lua/my/configure/completion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ return {
sources = {
{ name = 'luasnip', priority = 100 },
{ name = 'nvim_lsp', priority = 90 },
{ name = 'lazydev', group_index = 0 },
{ name = 'fish' },
{ name = 'path', priority = 5 },
{ name = 'buffer', priority = 1 },
Expand Down
11 changes: 10 additions & 1 deletion nvim/lua/my/configure/language-support.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,20 @@ return {
require('lint').linters_by_ft = linters_by_ft
end,
},
{
'folke/lazydev.nvim',
ft = 'lua',
dependencies = { 'Bilal2453/luvit-meta' },
opts = {
library = {
{ path = 'luvit-meta/library', words = { 'vim%.uv', 'vim%.loop' } },
},
},
},
{
'neovim/nvim-lspconfig',
dependencies = {
'hrsh7th/cmp-nvim-lsp',
{ 'folke/neodev.nvim' },
{
'folke/neoconf.nvim',
opts = {
Expand Down
2 changes: 1 addition & 1 deletion nvim/lua/my/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require('lazy').setup('my.configure', {
},
dev = { path = '~/git', fallback = true },
install = {
colorscheme = { 'onedark_dark', 'habamax' },
colorscheme = { vim.env.COLORSCHEME or 'tokyonight', 'habamax' },
},
performance = {
rtp = {
Expand Down

0 comments on commit 810a5f8

Please sign in to comment.