diff --git a/after/plugin/lsp.lua b/after/plugin/lsp.lua index a33c4c1..d144bf6 100644 --- a/after/plugin/lsp.lua +++ b/after/plugin/lsp.lua @@ -13,3 +13,10 @@ require("mason-lspconfig").setup({ lsp_zero.default_setup, }, }) + + +local codeium = require("codeium") +codeium.setup({ + enable_chat = true, +}) + diff --git a/after/plugin/mini.lua b/after/plugin/mini.lua index 8e0ea70..ec8e543 100644 --- a/after/plugin/mini.lua +++ b/after/plugin/mini.lua @@ -1,6 +1,5 @@ -- Configuration of mini.nvim plugins - -- mini.map local map = require("mini.map") map.setup({ diff --git a/after/plugin/notes.lua b/after/plugin/notes.lua new file mode 100644 index 0000000..e4948a6 --- /dev/null +++ b/after/plugin/notes.lua @@ -0,0 +1,6 @@ +-- Configuration of note taking setup + +local mkdnflow = require("mkdnflow") +mkdnflow.setup({ + wrap = true +}) diff --git a/lua/sevi-kun/plugins.lua b/lua/sevi-kun/plugins.lua index 57fcde0..7a4ea27 100644 --- a/lua/sevi-kun/plugins.lua +++ b/lua/sevi-kun/plugins.lua @@ -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 = { + { + "xx", + "Trouble diagnostics toggle", + desc = "Diagnostics (Trouble)", + }, + { + "xX", + "Trouble diagnostics toggle filter.buf=0", + desc = "Buffer Diagnostics (Trouble)", + }, + { + "cs", + "Trouble symbols toggle focus=false", + desc = "Symbols (Trouble)", + }, + { + "cl", + "Trouble lsp toggle focus=false win.position=right", + desc = "LSP Definitions / references / ... (Trouble)", + }, + { + "xL", + "Trouble loclist toggle", + desc = "Location List (Trouble)", + }, + { + "xQ", + "Trouble qflist toggle", + 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",