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",
lazy = false,
},
{ {
"neovim/nvim-lspconfig", 'nvim-telescope/telescope.nvim',
config = function() tag = '0.1.8',
require "configs.lspconfig" -- or , branch = '0.1.x',
end, dependencies = { 'nvim-lua/plenary.nvim' }
}, },
{ {
"stevearc/conform.nvim", "charludo/projectmgr.nvim",
event = "BufWritePre", lazy = false,
opts = require "configs.conform", },
},
-- Supermaven {
{ "neovim/nvim-lspconfig",
"supermaven-inc/supermaven-nvim", config = function()
lazy = false, require "configs.lspconfig"
config = function() end,
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", "stevearc/conform.nvim",
-- opts = { event = "BufWritePre",
-- ensure_installed = { opts = require "configs.conform",
-- "vim", "lua", "vimdoc", },
-- "html", "css"
-- }, -- Supermaven
-- }, {
-- }, "supermaven-inc/supermaven-nvim",
lazy = false,
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,
},
-- {
-- "nvim-treesitter/nvim-treesitter",
-- opts = {
-- ensure_installed = {
-- "vim", "lua", "vimdoc",
-- "html", "css"
-- },
-- },
-- },
} }