vimrc: add ft condition for omnisharp augroup
This commit is contained in:
parent
34c73fe86f
commit
63e8f717f5
@ -1042,6 +1042,7 @@ augroup lsp_install
|
|||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
|
||||||
|
if(&filetype ==# 'cs')
|
||||||
augroup omnisharp_commands
|
augroup omnisharp_commands
|
||||||
autocmd!
|
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>osst <Plug>(omnisharp_start_server)
|
||||||
autocmd FileType cs nmap <silent> <buffer> <Leader>ossp <Plug>(omnisharp_stop_server)
|
autocmd FileType cs nmap <silent> <buffer> <Leader>ossp <Plug>(omnisharp_stop_server)
|
||||||
augroup END
|
augroup END
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
" ------ adv maps ------
|
" ------ adv maps ------
|
||||||
|
Loading…
Reference in New Issue
Block a user