From d4c839302bd01f82b7e3eb167acf80953930e1d2 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Fri, 30 May 2025 20:01:04 +0300 Subject: 30.05.2025 --- nvim/lua/plugins/cmp.lua | 1 + nvim/lua/plugins/resize.lua | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 nvim/lua/plugins/resize.lua (limited to 'nvim/lua/plugins') diff --git a/nvim/lua/plugins/cmp.lua b/nvim/lua/plugins/cmp.lua index 7457d2f..c5669e5 100644 --- a/nvim/lua/plugins/cmp.lua +++ b/nvim/lua/plugins/cmp.lua @@ -85,6 +85,7 @@ return { }, sources = require("cmp").config.sources({ { name = "nvim_lsp", priority = 1000 }, + { name = "codecompanion", priority = 800 }, { name = "luasnip", priority = 750 }, { name = "path", priority = 500 }, }, { diff --git a/nvim/lua/plugins/resize.lua b/nvim/lua/plugins/resize.lua new file mode 100644 index 0000000..f0c6175 --- /dev/null +++ b/nvim/lua/plugins/resize.lua @@ -0,0 +1,34 @@ +return { + name = "resize", + dir = "~/.config/nvim/lua/myplugins", + keys = { + { + "", + function() + require("myplugins.resize").ResizeLeft() + end, + silent = true, + }, + { + "", + function() + require("myplugins.resize").ResizeRight() + end, + silent = true, + }, + { + "", + function() + require("myplugins.resize").ResizeUp() + end, + silent = true, + }, + { + "", + function() + require("myplugins.resize").ResizeDown() + end, + silent = true, + }, + }, +} -- cgit v1.2.3