chore(nvim): simplify imports and clean up plugin files

This commit is contained in:
Stefan Imhoff
2022-12-17 17:48:17 +01:00
parent 68a3d0deab
commit a7e00b506d
51 changed files with 245 additions and 487 deletions

View File

@@ -1,10 +1,9 @@
-- https://github.com/ahmedkhalf/project.nvim
local status_ok, project = pcall(require, "project_nvim")
if not status_ok then
return
end
local opts = { noremap = true, silent = true }
project.setup({
vim.keymap.set("n", "<leader>pm", [[<Cmd>:Telescope projects<CR>]], opts)
require("project_nvim").setup({
active = true,
on_config_done = nil,
manual_mode = false,
@@ -23,8 +22,3 @@ project.setup({
ignore_lsp = {},
datapath = vim.fn.stdpath("data"),
})
local keymap = vim.keymap.set
local opts = { noremap = true, silent = true }
keymap("n", "<leader>pm", [[<Cmd>:Telescope projects<CR>]], opts)