add treesitter playground
This commit is contained in:
parent
2e8442b64e
commit
d4a4fde031
|
@ -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
|
||||
"}}}
|
||||
|
|
3
init.vim
3
init.vim
|
@ -15,7 +15,8 @@ function! <SID>SynStack()"{{{
|
|||
endif
|
||||
echo map(synstack(line('.'), col('.')), 'synIDattr(v:val,"name")') '-> ' . synIDattr(synIDtrans(synID(line('.'),col('.'),1)), 'name' )
|
||||
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"{{{
|
||||
" Shell command
|
||||
|
|
Loading…
Reference in New Issue