diff options
author | Luca Matei Pintilie <luca@lucamatei.com> | 2023-05-24 20:23:47 +0000 |
---|---|---|
committer | Luca Matei Pintilie <luca@lucamatei.com> | 2023-05-24 20:23:47 +0000 |
commit | 0517926ee7ff8651def9f0b89f71a87d1173c928 (patch) | |
tree | d254873cbbe4b0e505e9ad477cdb66f2a0ca00da /.config/nvim/lua/plugins.lua | |
parent | 18feff24b30bb4bbe21b3baad8b5456c0b0fd3c1 (diff) | |
download | dotfiles-0517926ee7ff8651def9f0b89f71a87d1173c928.tar dotfiles-0517926ee7ff8651def9f0b89f71a87d1173c928.tar.gz dotfiles-0517926ee7ff8651def9f0b89f71a87d1173c928.tar.bz2 dotfiles-0517926ee7ff8651def9f0b89f71a87d1173c928.tar.lz dotfiles-0517926ee7ff8651def9f0b89f71a87d1173c928.tar.xz dotfiles-0517926ee7ff8651def9f0b89f71a87d1173c928.tar.zst dotfiles-0517926ee7ff8651def9f0b89f71a87d1173c928.zip |
nvim: remove some unneeded code and plugins/lsp, and add live_grep keybind
Diffstat (limited to '')
-rw-r--r-- | .config/nvim/lua/plugins.lua | 11 |
1 files changed, 2 insertions, 9 deletions
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 { |