nvim: Move to treesitter and lspsaga

Added lspsaga to enhance some of the lsp actions I can do - mappings are
mostly the same as before, pretty much all lsp actions can be invoked by
g<mnemonic> (e.g. `gr` for rename, `gh` for symbol help, `gd` for go
definition, `K` for help hover, `gc` for code completion and some more).
`[e` and `]e` move between lsp diagnostic errors.

Switched out many syntax highlighting plugins for treesitter, which is
an experiment for now, but I would love to keep it like this if it works
out.
This commit is contained in:
Marty Oehme 2021-03-16 15:54:14 +01:00
parent 41bfe2df69
commit 9a6fd3fa04
Signed by: Marty
GPG key ID: B7538B8F50A1C800
4 changed files with 67 additions and 22 deletions

View file

@ -64,7 +64,7 @@ let g:completion_chain_complete_list = {
\ { 'mode': '<c-n>'}
\],
\ 'default': [
\ { 'complete_items': [ 'lsp', 'snippet' ]},
\ { 'complete_items': [ 'ts', 'lsp', 'snippet' ]},
\ { 'complete_items': [ 'buffers' ] },
\ { 'complete_items': [ 'path' ], 'triggered_only': ['/'] },
\ { 'mode': '<c-p>'},