diff --git a/home/.config/nvim/lua/plugins/mason.lua b/home/.config/nvim/lua/plugins/mason.lua index a0df4b2c..6e1cedf2 100644 --- a/home/.config/nvim/lua/plugins/mason.lua +++ b/home/.config/nvim/lua/plugins/mason.lua @@ -10,6 +10,20 @@ return { "mfussenegger/nvim-jdtls", -- Add support for LSP file operations { "antosha417/nvim-lsp-file-operations", config = true }, + -- Neovim setup for init.lua and plugin development with full signature help, docs and completion for the nvim lua API. + { + "folke/neodev.nvim", + ---@type LuaDevOptions + opts = { + override = function(root_dir, library) + local dotfiles_path = tostring(vim.fn.expand("~/git/dotfiles")) + if string.find(root_dir, dotfiles_path, 1, true) then + library.enabled = true + library.plugins = true + end + end, + }, + }, }, config = function() require("mason").setup() diff --git a/home/.config/nvim/lua/plugins/neodev.lua b/home/.config/nvim/lua/plugins/neodev.lua deleted file mode 100644 index e6532e8c..00000000 --- a/home/.config/nvim/lua/plugins/neodev.lua +++ /dev/null @@ -1,14 +0,0 @@ -return { - -- Neovim setup for init.lua and plugin development with full signature help, docs and completion for the nvim lua API. - "folke/neodev.nvim", - ---@type LuaDevOptions - opts = { - override = function(root_dir, library) - local dotfiles_path = tostring(vim.fn.expand("~/git/dotfiles")) - if string.find(root_dir, dotfiles_path, 1, true) then - library.enabled = true - library.plugins = true - end - end, - }, -}