WIP: Switch to NixOS #5
2 changed files with 14 additions and 14 deletions
|
@ -10,6 +10,20 @@ return {
|
||||||
"mfussenegger/nvim-jdtls",
|
"mfussenegger/nvim-jdtls",
|
||||||
-- Add support for LSP file operations
|
-- Add support for LSP file operations
|
||||||
{ "antosha417/nvim-lsp-file-operations", config = true },
|
{ "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()
|
config = function()
|
||||||
require("mason").setup()
|
require("mason").setup()
|
||||||
|
|
|
@ -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,
|
|
||||||
},
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue