chore: proper keymap documentation and more cleanup

This commit is contained in:
Fabio Lenherr / DashieTM 2023-01-01 23:48:42 +01:00
parent 6f9ecd5c96
commit d46086ec26
16 changed files with 348 additions and 109 deletions

View file

@ -1,22 +1,22 @@
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", "package.json" },
show_hidden = false,
silent_chdir = true,
ignore_lsp = {},
datapath = vim.fn.stdpath("data"),
})
-- 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", "package.json" },
-- show_hidden = false,
-- silent_chdir = true,
-- ignore_lsp = {},
-- datapath = vim.fn.stdpath("data"),
-- })
local tele_status_ok, telescope = pcall(require, "telescope")
if not tele_status_ok then
return
end
telescope.load_extension("projects")
telescope.load_extension("project")