From 0517926ee7ff8651def9f0b89f71a87d1173c928 Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Wed, 24 May 2023 22:23:47 +0200 Subject: nvim: remove some unneeded code and plugins/lsp, and add live_grep keybind --- .config/nvim/lua/plugins.lua | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to '.config/nvim/lua/plugins.lua') diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 679cf6e..b0def30 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -46,7 +46,8 @@ local PKGS = { { url = "https://github.com/google/vim-maktaba.git" }; { url = "https://github.com/editorconfig/editorconfig-vim.git" }; - { url = "https://github.com/nathom/filetype.nvim.git" }; + -- Some bugs when opening shell files + -- { url = "https://github.com/nathom/filetype.nvim.git" }; { url = "https://github.com/wfxr/minimap.vim.git" }; -- LSP @@ -198,14 +199,6 @@ local function init_plugins() -- Define 'comment' textobject (like `dgc` - delete whole comment block) textobject = "gc"; }; - - -- Hook functions to be executed at certain stage of commenting - hooks = { - -- Before successful commenting. Does nothing by default. - pre = function() end; - -- After successful commenting. Does nothing by default. - post = function() end; - }; }) require("gitsigns").setup { -- cgit v1.2.3