Revert "nvim: init.vim: Add Scala LSP support using metals"
This reverts commit 38fd4dbec1
.
This commit is contained in:
parent
42258702f4
commit
547a106db3
1 changed files with 2 additions and 10 deletions
|
@ -59,8 +59,6 @@ Plug 'zchee/deoplete-jedi'
|
|||
" Autocomplete for Rust
|
||||
Plug 'sebastianmarkow/deoplete-rust'
|
||||
Plug 'rust-lang/rust.vim'
|
||||
" For Scala
|
||||
Plug 'derekwyatt/vim-scala'
|
||||
" Miscellaneous
|
||||
Plug 'tpope/vim-surround'
|
||||
Plug 'editorconfig/editorconfig-vim'
|
||||
|
@ -191,11 +189,8 @@ let g:echodoc#type = 'signature'
|
|||
|
||||
let g:LanguageClient_autoStart = 0
|
||||
let g:LanguageClient_loggingFile = expand('$HOME/LC.log')
|
||||
let g:LanguageClient_rootMarkers = ['stack.yaml', 'build.sbt']
|
||||
let g:LanguageClient_serverCommands = {
|
||||
\ 'haskell': ['$HOME/.local/bin/hie-wrapper'],
|
||||
\ 'scala': ['metals-vim'],
|
||||
\ }
|
||||
let g:LanguageClient_rootMarkers = ['stack.yaml']
|
||||
let g:LanguageClient_serverCommands = { 'haskell': ['$HOME/.local/bin/hie-wrapper'] }
|
||||
|
||||
nnoremap <leader>ld :call LanguageClient#textDocument_definition()<CR>
|
||||
nnoremap <leader>lr :call LanguageClient#textDocument_rename()<CR>
|
||||
|
@ -306,6 +301,3 @@ let g:loaded_gentags#ctags = 1
|
|||
|
||||
" Let vim-gitgutter do its thing on large files
|
||||
let g:gitgutter_max_signs=10000
|
||||
|
||||
" For vim-scala
|
||||
au BufRead,BufNewFile *.sbt set filetype=scala
|
||||
|
|
Loading…
Reference in a new issue