add treesitter playground
This commit is contained in:
parent
2e8442b64e
commit
d4a4fde031
|
@ -38,6 +38,11 @@ call plug#begin('~/.config/nvim/bundle')
|
||||||
" #playground {{{
|
" #playground {{{
|
||||||
" https://github.com/nvim-treesitter/playground
|
" https://github.com/nvim-treesitter/playground
|
||||||
Plug '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
|
" setings after plug#end
|
||||||
"}}}
|
"}}}
|
||||||
|
|
3
init.vim
3
init.vim
|
@ -15,7 +15,8 @@ function! <SID>SynStack()"{{{
|
||||||
endif
|
endif
|
||||||
echo map(synstack(line('.'), col('.')), 'synIDattr(v:val,"name")') '-> ' . synIDattr(synIDtrans(synID(line('.'),col('.'),1)), 'name' )
|
echo map(synstack(line('.'), col('.')), 'synIDattr(v:val,"name")') '-> ' . synIDattr(synIDtrans(synID(line('.'),col('.'),1)), 'name' )
|
||||||
endfunc
|
endfunc
|
||||||
nmap <space>pp :call <SID>SynStack()<CR>
|
" nmap <space>pp :call <SID>SynStack()<CR>
|
||||||
|
nmap <silent><space>pp :TSHighlightCapturesUnderCursor<CR>
|
||||||
"}}}
|
"}}}
|
||||||
function! s:RunShellCommand(cmdline) abort"{{{
|
function! s:RunShellCommand(cmdline) abort"{{{
|
||||||
" Shell command
|
" Shell command
|
||||||
|
|
Loading…
Reference in New Issue