diff --git a/lua/conf/plugins/cmp.lua b/lua/conf/plugins/cmp.lua index a1dcfc6..954b191 100644 --- a/lua/conf/plugins/cmp.lua +++ b/lua/conf/plugins/cmp.lua @@ -4,6 +4,9 @@ return { "Saghen/blink.cmp", "xzbdmw/colorful-menu.nvim", "L3MON4D3/LuaSnip" }, + config = function() + vim.cmd("!cargo build --release") + end, lazy = dep_short.auto("InsertEnter"), load = function() local colormenu = require("colorful-menu") diff --git a/lua/conf/plugins/comment.lua b/lua/conf/plugins/comment.lua deleted file mode 100644 index d9369f4..0000000 --- a/lua/conf/plugins/comment.lua +++ /dev/null @@ -1,7 +0,0 @@ -return { "numToStr/Comment.nvim", - load = function() - require("Comment").setup { - ignore = "^$" - } - end -} diff --git a/lua/conf/plugins/helpful.lua b/lua/conf/plugins/helpful.lua deleted file mode 100644 index d225df6..0000000 --- a/lua/conf/plugins/helpful.lua +++ /dev/null @@ -1,3 +0,0 @@ -return { "tweekmonster/helpful.vim", - lazy = dep_short.cmd("HelpfulVersion") -} diff --git a/lua/conf/plugins/luasnip.lua b/lua/conf/plugins/luasnip.lua index 9bc1856..a81b54d 100644 --- a/lua/conf/plugins/luasnip.lua +++ b/lua/conf/plugins/luasnip.lua @@ -7,10 +7,10 @@ return { "L3MON4D3/LuaSnip", vim.cmd("make install_jsregexp") end, lazy = function(load) - load:keymap("n", "") - load:keymap("n", "") - load:keymap("n", "") - load:keymap("n", "") + load:keymap({"i", "s"}, "") + load:keymap({"i", "s"}, "") + load:keymap({"i", "s"}, "") + load:keymap({"i", "s"}, "") end, load = function() local luasnip = require("luasnip") diff --git a/lua/conf/plugins/nvim-colorizer.lua b/lua/conf/plugins/nvim-colorizer.lua deleted file mode 100644 index c746a5d..0000000 --- a/lua/conf/plugins/nvim-colorizer.lua +++ /dev/null @@ -1,9 +0,0 @@ -return { "norcalli/nvim-colorizer.lua", - disable = not vim.fn.has("nvim-0.4.0") and not vim.fn.has("termguicolors"), - load = function() - require("colorizer").setup(nil, { - names = false, - css = true - }) - end -} diff --git a/lua/conf/plugins/show.lua b/lua/conf/plugins/show.lua deleted file mode 100644 index adcd7fd..0000000 --- a/lua/conf/plugins/show.lua +++ /dev/null @@ -1,30 +0,0 @@ -return { "nvzone/showkeys", - lazy = dep_short.cmd("ShowKeysToggle"), - load = function() - require("showkeys").setup { - position = "top-right", - winopts = { - border = vim.g.border_style, - }, - - -- change the way it looks - winhl = "NormalFloat:Comment,NormalFloat:NormalFloat", - maxkeys = 3, - - -- change the way keys are displayed - keyformat = { - [""] = "", - [""] = "", - [""] = "", - [""] = "", - [""] = "", - [""] = "", - [""] = "", - [""] = "", - [""] = "", - [""] = "Alt", - [""] = "Ctrl", - } - } - end -} diff --git a/lua/conf/plugins/todo-comments.lua b/lua/conf/plugins/todo-comments.lua deleted file mode 100644 index 8fe434b..0000000 --- a/lua/conf/plugins/todo-comments.lua +++ /dev/null @@ -1,39 +0,0 @@ --- TODO: gotta rewrite this cause it's actual dogshit, and I don't want to deal --- with nerd fonts or folke anymore also add support for TODO(name): - -return { "folke/todo-comments.nvim", - reqs = "nvim-lua/plenary.nvim", - load = function() - require("todo-comments").setup { - keywords = { - FIX = { - icon = "# ", - alt = { "FIXME", "BUG" }, - }, - HACK = { - icon = "* ", - color = "warning", - }, - WARN = { - icon = "! ", - color = "warning", - alt = { "WARNING", "XXX" }, - }, - NOTE = { - icon = "i ", - color = "hint", - alt = { "INFO", "TODO" }, - }, - PERF = { - icon = "@ ", - alt = { "OPTIM", "PERFORMANCE", "OPTIMIZE" }, - }, - TEST = { - icon = "@ ", - color = "test", - alt = { "TESTING", "PASSED", "FAILED" }, - }, - }, - } - end -} diff --git a/lua/conf/plugins/undotree.lua b/lua/conf/plugins/undotree.lua deleted file mode 100644 index 03eb6c9..0000000 --- a/lua/conf/plugins/undotree.lua +++ /dev/null @@ -1,12 +0,0 @@ -local map = core.misc.map - -return { "mbbill/undotree", - lazy = dep_short.keymap("n", "u"), - load = function() - if vim.g.loaded_undotree then - vim.g.undotree_DiffAutoOpen = 0 - end - - map("n", "u", "UndotreeToggle") - end -} diff --git a/lua/conf/plugins/vimtex.lua b/lua/conf/plugins/vimtex.lua index ae2d2a7..660efda 100644 --- a/lua/conf/plugins/vimtex.lua +++ b/lua/conf/plugins/vimtex.lua @@ -1,5 +1,4 @@ return { "lervag/vimtex", - lazy = dep_short.ft("tex"), setup = function() vim.g.vimtex_view_method = "zathura" end