comparison dot_config/nvim/init.lua @ 427:3cd158f2c6f9

Lazy load some plugins
author zegervdv <zegervdv@me.com>
date Sun, 01 Aug 2021 18:47:24 +0200
parents 53a73096981a
children 5dd4d52dee21
comparison
equal deleted inserted replaced
426:53a73096981a 427:3cd158f2c6f9
68 vim.g.splice_initial_scrollbind_compare = 1 68 vim.g.splice_initial_scrollbind_compare = 1
69 vim.g.splice_initial_scrollbind_path = 1 69 vim.g.splice_initial_scrollbind_path = 1
70 vim.g.splice_wrap = 'nowrap' 70 vim.g.splice_wrap = 'nowrap'
71 end, 71 end,
72 } 72 }
73 use { 'tpope/vim-git' } 73 use { 'tpope/vim-git', ft = { 'gitcommit', 'gitrebase' } }
74 74
75 -- Comments 75 -- Comments
76 use { 76 use {
77 'b3nj5m1n/kommentary', 77 'b3nj5m1n/kommentary',
78 config = function() 78 config = function()
79 require('kommentary.config').configure_language('default', { prefer_single_line_comments = true }) 79 require('kommentary.config').configure_language('default', { prefer_single_line_comments = true })
80 end, 80 end,
81 keys = { 'gcc' },
81 } 82 }
82 83
83 -- Undoing 84 -- Undoing
84 use { 'sjl/gundo.vim', cmd = { 'GundoToggle' } } 85 use { 'sjl/gundo.vim', cmd = { 'GundoToggle' } }
85 86
275 'jose-elias-alvarez/null-ls.nvim', 276 'jose-elias-alvarez/null-ls.nvim',
276 requires = 'nvim-lua/plenary.nvim', 277 requires = 'nvim-lua/plenary.nvim',
277 } 278 }
278 use { 279 use {
279 'folke/lua-dev.nvim', 280 'folke/lua-dev.nvim',
281 ft = { 'lua' },
280 } 282 }
281 283
282 use { 'vimjas/vim-python-pep8-indent', ft = { 'python' } } 284 use { 'vimjas/vim-python-pep8-indent', ft = { 'python' } }
283 285
284 -- Vanity 286 -- Vanity
415 shade_terminals = true, 417 shade_terminals = true,
416 persist_size = true, 418 persist_size = true,
417 direction = 'horizontal', 419 direction = 'horizontal',
418 } 420 }
419 end, 421 end,
422 keys = { [[<F12>]] },
420 } 423 }
421 424
422 -- Filetypes 425 -- Filetypes
423 use { 'lepture/vim-jinja' } 426 use { 'lepture/vim-jinja' }
424 end) 427 end)