nvim: lsp_signature works batter now, and there's a new commenting plugin

This commit is contained in:
PowerUser64 2021-10-27 04:40:14 -07:00
parent 6de33435fa
commit 1fd0917970
3 changed files with 13 additions and 10 deletions

View file

@ -2,10 +2,10 @@ local M = {}
-- lsp_signature >>>
M.signature = function()
require "lsp_signature".setup()
cfg = {
Gse_lspsaga = true
toggle_key = '<M-x>'
}
require "lsp_signature".setup(cfg)
end -- <<<
-- lspinstall >>>

View file

@ -182,7 +182,7 @@ M.autosession = function()
}
require('auto-session').setup(opts)
-- save some more things. notably options, resize, winpos, and terminal
vim.o.sessionoptions="blank,buffers,curdir,folds,help,options,tabpages,winsize,resize,winpos,terminal"
vim.o.sessionoptions="blank,buffers,curdir,folds,help,tabpages,resize,winpos,terminal"
-- So I don't forget which one it is
vim.cmd 'command! SessionSave SaveSession'
vim.cmd 'command! SessionDelete DeleteSession'

View file

@ -162,20 +162,23 @@ return require('packer').startup(function()
vim.api.nvim_set_keymap('n', '<F5>', '<cmd>UndotreeToggle<CR>', { noremap = true, silent = true, })
end
}
use { -- Quote pairing
'jiangmiao/auto-pairs'
}
-- use { -- Quote pairing
-- 'jiangmiao/auto-pairs'
-- }
use { -- Alignment
'junegunn/vim-easy-align',
}
use { -- cheat.sh integration
'dbeniamine/cheat.sh-vim',
}
use { -- tpope: Quote/parenthesis changing
'tpope/vim-surround'
use { -- comments (gb and gc)
'numToStr/Comment.nvim',
config = function()
require('Comment').setup()
end
}
use { -- tpope: Comments
'tpope/vim-commentary'
use { -- tpope: surround
'tpope/vim-surround'
}
use { -- tpope: git integration
'tpope/vim-fugitive'