Mercurial > dotfiles
changeset 427:3cd158f2c6f9
Lazy load some plugins
author | zegervdv <zegervdv@me.com> |
---|---|
date | Sun, 01 Aug 2021 18:47:24 +0200 |
parents | 53a73096981a |
children | 5dd4d52dee21 |
files | dot_config/nvim/init.lua |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dot_config/nvim/init.lua Wed Jul 28 18:24:39 2021 +0200 +++ b/dot_config/nvim/init.lua Sun Aug 01 18:47:24 2021 +0200 @@ -70,7 +70,7 @@ vim.g.splice_wrap = 'nowrap' end, } - use { 'tpope/vim-git' } + use { 'tpope/vim-git', ft = { 'gitcommit', 'gitrebase' } } -- Comments use { @@ -78,6 +78,7 @@ config = function() require('kommentary.config').configure_language('default', { prefer_single_line_comments = true }) end, + keys = { 'gcc' }, } -- Undoing @@ -277,6 +278,7 @@ } use { 'folke/lua-dev.nvim', + ft = { 'lua' }, } use { 'vimjas/vim-python-pep8-indent', ft = { 'python' } } @@ -417,6 +419,7 @@ direction = 'horizontal', } end, + keys = { [[<F12>]] }, } -- Filetypes