feat(nix): migrate Neovim to Nix (as a symlink)

This commit is contained in:
Stefan Imhoff
2024-07-31 10:51:38 +02:00
parent b4819e3187
commit 65baf19f82
134 changed files with 64 additions and 82 deletions

View File

@@ -0,0 +1,24 @@
-- The superior project management solution for neovim
-- https://github.com/ahmedkhalf/project.nvim
return {
"ahmedkhalf/project.nvim",
lazy = false,
keys = {
-- stylua: ignore
{ "<leader>p", ":Telescope projects<cr>", desc = "Search Projects" },
},
config = function()
require("project_nvim").setup({
active = true,
on_config_done = nil,
manual_mode = false,
detection_methods = { "pattern" },
patterns = { ".git", "Makefile", ".gitignore", "package.json", "!node_modules" },
show_hidden = false,
silent_chdir = true,
ignore_lsp = {},
datapath = vim.fn.stdpath("data"),
})
require("telescope").load_extension("projects")
end,
}