aboutsummaryrefslogtreecommitdiff
path: root/config/nvim/lua/plugins.lua
diff options
context:
space:
mode:
Diffstat (limited to 'config/nvim/lua/plugins.lua')
-rw-r--r--config/nvim/lua/plugins.lua44
1 files changed, 28 insertions, 16 deletions
diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua
index 9695d44..5876b51 100644
--- a/config/nvim/lua/plugins.lua
+++ b/config/nvim/lua/plugins.lua
@@ -88,16 +88,26 @@ require('lazy').setup({
{
'neovim/nvim-lspconfig',
lazy = false,
- dependencies = {
- { 'ms-jpq/coq_nvim', branch = 'coq' },
- { 'ms-jpq/coq.artifacts', branch = 'artifacts' },
- { 'ms-jpq/coq.thirdparty', branch = '3p' }
+ },
+ {
+ 'saghen/blink.cmp',
+ dependencies = { 'rafamadriz/friendly-snippets' },
+ version = '1.*',
+
+ ---@module 'blink.cmp'
+ ---@type blink.cmp.Config
+ opts = {
+ keymap = {
+ preset = 'enter',
+ ['<Tab>'] = { 'snippet_forward', 'select_next', 'fallback' },
+ ['<S-Tab>'] = { 'snippet_backward', 'select_prev', 'fallback' },
+ },
+ sources = {
+ default = { 'lsp', 'path', 'snippets', 'buffer' },
+ },
+ fuzzy = { implementation = "prefer_rust_with_warning" },
},
- init = function()
- vim.g.coq_settings = {
- auto_start = 'shut-up',
- }
- end,
+ opts_extend = { "sources.default" }
},
{
"folke/lazydev.nvim",
@@ -107,8 +117,6 @@ require('lazy').setup({
-- Tools
'mbbill/undotree',
- 'vim-scripts/LargeFile',
- 'tpope/vim-fugitive',
'milkypostman/vim-togglelist',
{
'folke/which-key.nvim',
@@ -119,13 +127,17 @@ require('lazy').setup({
end,
opts = {}
},
- { 'stevearc/oil.nvim', opts = {
- keymaps = {
- ['<C-p>'] = false,
- ['<C-S-p>'] = 'actions.preview'
+ {
+ 'stevearc/oil.nvim',
+ opts = {
+ keymaps = {
+ ['<C-p>'] = false,
+ ['<C-S-p>'] = 'actions.preview'
+ }
}
- } },
+ },
'https://git.sr.ht/~rbdr/nota.nvim',
'https://git.sr.ht/~rbdr/oleoboard.nvim',
+ 'https://git.sr.ht/~rbdr/jannotate.nvim',
})