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, 34 insertions, 10 deletions
diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua
index ce637e9..5876b51 100644
--- a/config/nvim/lua/plugins.lua
+++ b/config/nvim/lua/plugins.lua
@@ -68,7 +68,6 @@ require('lazy').setup({
'mxsdev/nvim-dap-vscode-js',
-- Editing
- 'ms-jpq/coq_nvim',
'RRethy/nvim-treesitter-endwise',
{
'windwp/nvim-autopairs',
@@ -86,8 +85,31 @@ require('lazy').setup({
'https://git.sr.ht/~rbdr/tree-sitter-api-notation',
-- LSP
- 'neovim/nvim-lspconfig',
- {
+ {
+ 'neovim/nvim-lspconfig',
+ lazy = false,
+ },
+ {
+ '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" },
+ },
+ opts_extend = { "sources.default" }
+ },
+ {
"folke/lazydev.nvim",
ft = "lua",
opts = {},
@@ -95,8 +117,6 @@ require('lazy').setup({
-- Tools
'mbbill/undotree',
- 'vim-scripts/LargeFile',
- 'tpope/vim-fugitive',
'milkypostman/vim-togglelist',
{
'folke/which-key.nvim',
@@ -107,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',
})