From 547a106db3f044697a0ebea8d9fca54166ab6ebb Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Tue, 27 Aug 2019 19:37:26 +0530 Subject: [PATCH] Revert "nvim: init.vim: Add Scala LSP support using metals" This reverts commit 38fd4dbec11ccf6b58b84ddfdcc0ce0ce77bc7e3. --- nvim/init.vim | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/nvim/init.vim b/nvim/init.vim index cfdfb40..b4c95a3 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -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 ld :call LanguageClient#textDocument_definition() nnoremap lr :call LanguageClient#textDocument_rename() @@ -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