Add telescope

This commit is contained in:
2024-11-22 08:40:35 +01:00
parent 2724b2ac2a
commit 536e8fec88

View File

@@ -1,64 +1,71 @@
return { return {
{ {
"junegunn/vim-easy-align", "junegunn/vim-easy-align",
lazy = false, -- Load the plugin immediately lazy = false, -- Load the plugin immediately
keys = { keys = {
-- Custom keymappings for easy-align -- Custom keymappings for easy-align
{ "ga", "<Plug>(EasyAlign)", mode = { "n", "x" }, desc = "Easy Align" } { "ga", "<Plug>(EasyAlign)", mode = { "n", "x" }, desc = "Easy Align" }
}, },
}, },
{ {
"charludo/projectmgr.nvim", 'nvim-telescope/telescope.nvim',
lazy = false, tag = '0.1.8',
}, -- or , branch = '0.1.x',
dependencies = { 'nvim-lua/plenary.nvim' }
},
{ {
"neovim/nvim-lspconfig", "charludo/projectmgr.nvim",
config = function() lazy = false,
require "configs.lspconfig" },
end,
},
{ {
"stevearc/conform.nvim", "neovim/nvim-lspconfig",
event = "BufWritePre", config = function()
opts = require "configs.conform", require "configs.lspconfig"
}, end,
},
-- Supermaven {
{ "stevearc/conform.nvim",
"supermaven-inc/supermaven-nvim", event = "BufWritePre",
lazy = false, opts = require "configs.conform",
config = function() },
require("supermaven-nvim").setup {
keymaps = {
accept_suggestion = "<A-l>",
clear_suggestion = "<C-]>",
accept_word = "<C-j>",
},
ignore_filetypes = { cpp = true }, -- or { "cpp", }
color = {
suggestion_color = "#ffffff",
cterm = 244,
},
log_level = "info", -- set to "off" to disable logging completely
disable_inline_completion = false, -- disables inline completion for use with cmp
disable_keymaps = false, -- disables built in keymaps for more manual control
condition = function()
return false
end, -- condition to check for stopping supermaven, `true` means to stop supermaven when the condition is true.
}
end,
},
-- { -- Supermaven
-- "nvim-treesitter/nvim-treesitter", {
-- opts = { "supermaven-inc/supermaven-nvim",
-- ensure_installed = { lazy = false,
-- "vim", "lua", "vimdoc", config = function()
-- "html", "css" require("supermaven-nvim").setup {
-- }, keymaps = {
-- }, accept_suggestion = "<A-l>",
-- }, clear_suggestion = "<C-]>",
accept_word = "<C-j>",
},
ignore_filetypes = { cpp = true }, -- or { "cpp", }
color = {
suggestion_color = "#ffffff",
cterm = 244,
},
log_level = "info", -- set to "off" to disable logging completely
disable_inline_completion = false, -- disables inline completion for use with cmp
disable_keymaps = false, -- disables built in keymaps for more manual control
condition = function()
return false
end, -- condition to check for stopping supermaven, `true` means to stop supermaven when the condition is true.
}
end,
},
-- {
-- "nvim-treesitter/nvim-treesitter",
-- opts = {
-- ensure_installed = {
-- "vim", "lua", "vimdoc",
-- "html", "css"
-- },
-- },
-- },
} }