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 >>> -- lsp_signature >>>
M.signature = function() M.signature = function()
require "lsp_signature".setup()
cfg = { cfg = {
Gse_lspsaga = true toggle_key = '<M-x>'
} }
require "lsp_signature".setup(cfg)
end -- <<< end -- <<<
-- lspinstall >>> -- lspinstall >>>

View file

@ -182,7 +182,7 @@ M.autosession = function()
} }
require('auto-session').setup(opts) require('auto-session').setup(opts)
-- save some more things. notably options, resize, winpos, and terminal -- 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 -- So I don't forget which one it is
vim.cmd 'command! SessionSave SaveSession' vim.cmd 'command! SessionSave SaveSession'
vim.cmd 'command! SessionDelete DeleteSession' 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, }) vim.api.nvim_set_keymap('n', '<F5>', '<cmd>UndotreeToggle<CR>', { noremap = true, silent = true, })
end end
} }
use { -- Quote pairing -- use { -- Quote pairing
'jiangmiao/auto-pairs' -- 'jiangmiao/auto-pairs'
} -- }
use { -- Alignment use { -- Alignment
'junegunn/vim-easy-align', 'junegunn/vim-easy-align',
} }
use { -- cheat.sh integration use { -- cheat.sh integration
'dbeniamine/cheat.sh-vim', 'dbeniamine/cheat.sh-vim',
} }
use { -- tpope: Quote/parenthesis changing use { -- comments (gb and gc)
'tpope/vim-surround' 'numToStr/Comment.nvim',
config = function()
require('Comment').setup()
end
} }
use { -- tpope: Comments use { -- tpope: surround
'tpope/vim-commentary' 'tpope/vim-surround'
} }
use { -- tpope: git integration use { -- tpope: git integration
'tpope/vim-fugitive' 'tpope/vim-fugitive'