mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(nix): migrate Neovim to Nix (as a symlink)
This commit is contained in:
24
nix/home/neovim/nvim/lua/plugins/project.lua
Normal file
24
nix/home/neovim/nvim/lua/plugins/project.lua
Normal 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,
|
||||
}
|
||||
Reference in New Issue
Block a user