nvim/after/ftplugin/scala.vim

19 lines
529 B
VimL
Raw Normal View History

"autocmd BufWritePost *.scala silent :EnTypeCheck
nnoremap <M-=> :EnType<CR>
noremap <F3> :EnDeclaration<CR>
noremap gd :EnDeclaration<CR>
noremap gD :EnDeclarationSplit v<CR>
noremap <Leader>o :EnOrganizeImports<CR>
noremap <Leader>i :EnSuggestImport<CR>
noremap <Leader>rr :EnRename<CR>
noremap <Leader>ri :EnInline<CR>
noremap K :EnDocBrowse<CR>
noremap <Leader>f :Autoformat<CR>
2019-09-23 07:37:48 +00:00
imap //< <Plug>(codelines-close)<CR>
map <silent> <buffer> <leader>cl :call jobstart(['codelines', '.'])<cr>
au BufWritePost *.scala Neomake!