From 63e8f717f545a2774d6f42f6f4392e214ca671cb Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 30 Oct 2022 03:59:24 +0100 Subject: [PATCH] vimrc: add ft condition for omnisharp augroup --- .vim/vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.vim/vimrc b/.vim/vimrc index af8b5cd..bfc83f7 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -1042,6 +1042,7 @@ augroup lsp_install augroup END +if(&filetype ==# 'cs') augroup omnisharp_commands autocmd! @@ -1083,6 +1084,7 @@ augroup omnisharp_commands autocmd FileType cs nmap osst (omnisharp_start_server) autocmd FileType cs nmap ossp (omnisharp_stop_server) augroup END +endif " ------ adv maps ------