vimrc: add ft condition for omnisharp augroup

This commit is contained in:
surtur 2022-10-30 03:59:24 +01:00
parent 34c73fe86f
commit 63e8f717f5
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -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 <silent> <buffer> <Leader>osst <Plug>(omnisharp_start_server)
autocmd FileType cs nmap <silent> <buffer> <Leader>ossp <Plug>(omnisharp_stop_server)
augroup END
endif
" ------ adv maps ------