From d4a4fde031f0d121f8aa2e4a08f2fc3fad11b71e Mon Sep 17 00:00:00 2001 From: ray Date: Sat, 4 Sep 2021 13:37:48 +0100 Subject: [PATCH] add treesitter playground --- init.plugins.vim | 5 +++++ init.vim | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/init.plugins.vim b/init.plugins.vim index cfadbb4..660021e 100644 --- a/init.plugins.vim +++ b/init.plugins.vim @@ -38,6 +38,11 @@ call plug#begin('~/.config/nvim/bundle') " #playground {{{ " https://github.com/nvim-treesitter/playground Plug 'nvim-treesitter/playground' + "}}} +" #vim-lspconfig {{{ + " https://github.com/neovim/nvim-lspconfig + " https://github.com/neovim/nvim-lspconfig/wiki + Plug 'neovim/nvim-lspconfig' " setings after plug#end "}}} diff --git a/init.vim b/init.vim index 599e3a1..438f617 100644 --- a/init.vim +++ b/init.vim @@ -15,7 +15,8 @@ function! SynStack()"{{{ endif echo map(synstack(line('.'), col('.')), 'synIDattr(v:val,"name")') '-> ' . synIDattr(synIDtrans(synID(line('.'),col('.'),1)), 'name' ) endfunc -nmap pp :call SynStack() +" nmap pp :call SynStack() +nmap pp :TSHighlightCapturesUnderCursor "}}} function! s:RunShellCommand(cmdline) abort"{{{ " Shell command