mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
chore(nvim): move plugins into after plugin folder
This commit is contained in:
33
nvim/after/plugin/project.lua
Normal file
33
nvim/after/plugin/project.lua
Normal file
@@ -0,0 +1,33 @@
|
||||
-- project.nvim – https://github.com/ahmedkhalf/project.nvim
|
||||
local status_ok, project = pcall(require, "project_nvim")
|
||||
if not status_ok then
|
||||
return
|
||||
end
|
||||
|
||||
project.setup({
|
||||
active = true,
|
||||
on_config_done = nil,
|
||||
manual_mode = false,
|
||||
detection_methods = {
|
||||
"pattern",
|
||||
},
|
||||
patterns = {
|
||||
".git",
|
||||
"_darcs",
|
||||
".hg",
|
||||
".bzr",
|
||||
".svn",
|
||||
"Makefile",
|
||||
".gitignore",
|
||||
"package.json",
|
||||
},
|
||||
show_hidden = false,
|
||||
silent_chdir = true,
|
||||
ignore_lsp = {},
|
||||
datapath = vim.fn.stdpath("data"),
|
||||
})
|
||||
|
||||
local keymap = vim.api.nvim_set_keymap
|
||||
local opts = { noremap = true, silent = true }
|
||||
|
||||
keymap("n", "<leader>pm", [[<Cmd>:Telescope projects<CR>]], opts)
|
||||
Reference in New Issue
Block a user