Add metals bindings for scala
This commit is contained in:
parent
0ab1c78d95
commit
d193beaae7
|
@ -13,6 +13,15 @@ function! s:show_documentation()
|
|||
endif
|
||||
endfunction
|
||||
|
||||
au BufWritePost *.scala Neomake!
|
||||
" Toggle panel with Tree Views
|
||||
nnoremap <silent> <space>t :<C-u>CocCommand metals.tvp<CR>
|
||||
" Toggle Tree View 'metalsPackages'
|
||||
nnoremap <silent> <space>tp :<C-u>CocCommand metals.tvp metalsPackages<CR>
|
||||
" Toggle Tree View 'metalsCompile'
|
||||
nnoremap <silent> <space>tc :<C-u>CocCommand metals.tvp metalsCompile<CR>
|
||||
" Toggle Tree View 'metalsBuild'
|
||||
nnoremap <silent> <space>tb :<C-u>CocCommand metals.tvp metalsBuild<CR>
|
||||
" Reveal current current class (trait or object) in Tree View 'metalsPackages'
|
||||
nnoremap <silent> <space>tf :<C-u>CocCommand metals.revealInTreeView metalsPackages<CR>
|
||||
|
||||
set tw=120
|
||||
|
|
Loading…
Reference in a new issue