fixing neogit + trying new plugins

This commit is contained in:
Lord Of Nougate 2024-05-31 18:03:12 +02:00
parent 2218802114
commit 54860e1f3b
4 changed files with 69 additions and 4 deletions

View File

@ -13,3 +13,10 @@ require("mason-lspconfig").setup({
lsp_zero.default_setup,
},
})
local codeium = require("codeium")
codeium.setup({
enable_chat = true,
})

View File

@ -1,6 +1,5 @@
-- Configuration of mini.nvim plugins
-- mini.map
local map = require("mini.map")
map.setup({

6
after/plugin/notes.lua Normal file
View File

@ -0,0 +1,6 @@
-- Configuration of note taking setup
local mkdnflow = require("mkdnflow")
mkdnflow.setup({
wrap = true
})

View File

@ -31,7 +31,7 @@ return {
},
{ "NeogitOrg/neogit",
branch = "nightly",
branch = "master",
dependencies = {
"nvim-lua/plenary.nvim",
"sindrets/diffview.nvim",
@ -56,6 +56,15 @@ return {
{ "m4xshen/autoclose.nvim" },
-- Notes
{ "jbyuki/nabla.nvim",
dependencies = { "nvim-treesitter/nvim-treesitter" }
},
{ "jakewvincent/mkdnflow.nvim" },
-- pretty
{ "navarasu/onedark.nvim",
@ -142,10 +151,54 @@ return {
},
-- trouble
{ "folke/trouble.nvim",
branch = "dev", -- IMPORTANT!
keys = {
{
"<leader>xx",
"<cmd>Trouble diagnostics toggle<cr>",
desc = "Diagnostics (Trouble)",
},
{
"<leader>xX",
"<cmd>Trouble diagnostics toggle filter.buf=0<cr>",
desc = "Buffer Diagnostics (Trouble)",
},
{
"<leader>cs",
"<cmd>Trouble symbols toggle focus=false<cr>",
desc = "Symbols (Trouble)",
},
{
"<leader>cl",
"<cmd>Trouble lsp toggle focus=false win.position=right<cr>",
desc = "LSP Definitions / references / ... (Trouble)",
},
{
"<leader>xL",
"<cmd>Trouble loclist toggle<cr>",
desc = "Location List (Trouble)",
},
{
"<leader>xQ",
"<cmd>Trouble qflist toggle<cr>",
desc = "Quickfix List (Trouble)",
},
},
opts = {}, -- for default options, refer to the configuration section for custom setup.
},
-- lsp
{ "Exafunction/codeium.vim",
event = "BufEnter"
{ "Exafunction/codeium.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
"hrsh7th/nvim-cmp",
},
},
{ "williamboman/mason.nvim",