# HG changeset patch # User zegervdv # Date 1659777923 -7200 # Node ID 6372f0542bedda375ee0edf3e51c1b28d1b07334 # Parent 8da375836c68bb004563e0c59b034480a458b3ac remove splice config diff -r 8da375836c68 -r 6372f0542bed .chezmoitemplates/init.lua --- a/.chezmoitemplates/init.lua Sat Aug 06 11:22:49 2022 +0200 +++ b/.chezmoitemplates/init.lua Sat Aug 06 11:25:23 2022 +0200 @@ -81,25 +81,9 @@ -- Git/VCS use { 'vim-scripts/gitignore' } use { - 'sjl/splice.vim', - disable = true, - opt = true, - cmd = { 'SpliceInit' }, - config = function() - vim.g.splice_initial_diff_grid = 1 - vim.g.splice_initial_diff_compare = 1 - vim.g.splice_initial_diff_path = 0 - vim.g.splice_initial_scrollbind_grid = 1 - vim.g.splice_initial_scrollbind_compare = 1 - vim.g.splice_initial_scrollbind_path = 1 - vim.g.splice_wrap = 'nowrap' - end, - } - use { 'zegervdv/settle.nvim', opt = true, cmd = { 'SettleInit' }, - branch = 'extmarks', config = function() require('settle').setup { wrap = true, @@ -112,6 +96,7 @@ end, } use { 'tpope/vim-git', ft = { 'gitcommit', 'gitrebase' } } + use { 'sindrets/diffview.nvim', config = function() require('diffview').setup {} end } -- Comments use { @@ -232,6 +217,7 @@ -- Increment/decrement use { 'zegervdv/nrpattern.nvim', + branch = 'lua', requires = 'tpope/vim-repeat', config = function() local nrpattern = require 'nrpattern' @@ -441,6 +427,14 @@ } end, } + use { + 'https://git.sr.ht/~whynothugo/lsp_lines.nvim', + config = function() + require('lsp_lines').setup() + vim.diagnostic.config { virtual_lines = false, virtual_text = false } + vim.keymap.set('n', 'g?', function() require('lsp_lines').toggle() end, { desc = 'Toggle LSP diagnostic lines' }) + end, + } use { 'nvim-telescope/telescope-ui-select.nvim',