nvim: lsp_signature works batter now, and there's a new commenting plugin
This commit is contained in:
parent
6de33435fa
commit
1fd0917970
3 changed files with 13 additions and 10 deletions
|
@ -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 >>>
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue