Mercurial > dotfiles
changeset 631:6372f0542bed
remove splice config
author | zegervdv <zegervdv@me.com> |
---|---|
date | Sat, 06 Aug 2022 11:25:23 +0200 |
parents | 8da375836c68 |
children | ca2687d578d2 |
files | .chezmoitemplates/init.lua |
diffstat | 1 files changed, 10 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- 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',