comparison .chezmoitemplates/init.lua @ 631:6372f0542bed

remove splice config
author zegervdv <zegervdv@me.com>
date Sat, 06 Aug 2022 11:25:23 +0200
parents af14855ab067
children ca2687d578d2
comparison
equal deleted inserted replaced
630:8da375836c68 631:6372f0542bed
79 use { 'tpope/vim-abolish' } 79 use { 'tpope/vim-abolish' }
80 80
81 -- Git/VCS 81 -- Git/VCS
82 use { 'vim-scripts/gitignore' } 82 use { 'vim-scripts/gitignore' }
83 use { 83 use {
84 'sjl/splice.vim',
85 disable = true,
86 opt = true,
87 cmd = { 'SpliceInit' },
88 config = function()
89 vim.g.splice_initial_diff_grid = 1
90 vim.g.splice_initial_diff_compare = 1
91 vim.g.splice_initial_diff_path = 0
92 vim.g.splice_initial_scrollbind_grid = 1
93 vim.g.splice_initial_scrollbind_compare = 1
94 vim.g.splice_initial_scrollbind_path = 1
95 vim.g.splice_wrap = 'nowrap'
96 end,
97 }
98 use {
99 'zegervdv/settle.nvim', 84 'zegervdv/settle.nvim',
100 opt = true, 85 opt = true,
101 cmd = { 'SettleInit' }, 86 cmd = { 'SettleInit' },
102 branch = 'extmarks',
103 config = function() 87 config = function()
104 require('settle').setup { 88 require('settle').setup {
105 wrap = true, 89 wrap = true,
106 symbol = '▊', 90 symbol = '▊',
107 pre_hook = function() 91 pre_hook = function()
110 end, 94 end,
111 } 95 }
112 end, 96 end,
113 } 97 }
114 use { 'tpope/vim-git', ft = { 'gitcommit', 'gitrebase' } } 98 use { 'tpope/vim-git', ft = { 'gitcommit', 'gitrebase' } }
99 use { 'sindrets/diffview.nvim', config = function() require('diffview').setup {} end }
115 100
116 -- Comments 101 -- Comments
117 use { 102 use {
118 'numToStr/Comment.nvim', 103 'numToStr/Comment.nvim',
119 config = function() 104 config = function()
230 } 215 }
231 216
232 -- Increment/decrement 217 -- Increment/decrement
233 use { 218 use {
234 'zegervdv/nrpattern.nvim', 219 'zegervdv/nrpattern.nvim',
220 branch = 'lua',
235 requires = 'tpope/vim-repeat', 221 requires = 'tpope/vim-repeat',
236 config = function() 222 config = function()
237 local nrpattern = require 'nrpattern' 223 local nrpattern = require 'nrpattern'
238 local defaults = require 'nrpattern.default' 224 local defaults = require 'nrpattern.default'
239 225
439 blend = 0, 425 blend = 0,
440 }, 426 },
441 } 427 }
442 end, 428 end,
443 } 429 }
430 use {
431 'https://git.sr.ht/~whynothugo/lsp_lines.nvim',
432 config = function()
433 require('lsp_lines').setup()
434 vim.diagnostic.config { virtual_lines = false, virtual_text = false }
435 vim.keymap.set('n', 'g?', function() require('lsp_lines').toggle() end, { desc = 'Toggle LSP diagnostic lines' })
436 end,
437 }
444 438
445 use { 439 use {
446 'nvim-telescope/telescope-ui-select.nvim', 440 'nvim-telescope/telescope-ui-select.nvim',
447 requires = { 'nvim-telescope/telescope.nvim' }, 441 requires = { 'nvim-telescope/telescope.nvim' },
448 config = function() 442 config = function()