From 7fca8867fb3debd4a7de58c18a16115622302702 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 15 Feb 2022 20:34:20 +0000 Subject: Tidy up --- lsc.vim | 3 --- metals.vim | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lsc.vim b/lsc.vim index 11eee92..3858d08 100644 --- a/lsc.vim +++ b/lsc.vim @@ -19,6 +19,3 @@ let g:lsc_server_commands = { \ } \ } -autocmd BufNewFile,BufRead *.sc set filetype=scala - - diff --git a/metals.vim b/metals.vim index ab933bf..4e1387c 100644 --- a/metals.vim +++ b/metals.vim @@ -54,3 +54,5 @@ endif autocmd FileType scala setlocal omnifunc=v:lua.vim.lsp.omnifunc autocmd FileType scala call MetalsMapKeys() autocmd BufWritePre *.scala,*.sc,*.sbt :lua vim.lsp.buf.formatting_seq_sync() +autocmd BufNewFile,BufRead *.sc set filetype=scala + -- cgit v1.2.3