Skip to content

Commit aa863a6

Browse files
committed
open stdio.log in the log directory
1 parent dcc2cb5 commit aa863a6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

autoload/OmniSharp/log.vim

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
let s:save_cpo = &cpoptions
22
set cpoptions&vim
33

4-
let s:stdiologfile = expand('<sfile>:p:h:h:h') . '/log/stdio.log'
4+
if exists('g:OmniSharp_vim_log_dir')
5+
let s:stdiologfile = g:OmniSharp_vim_log_dir . '/stdio.log'
6+
else
7+
let s:stdiologfile = expand('<sfile>:p:h:h:h') . '/log/stdio.log'
8+
end
59

610
" Log from OmniSharp-vim
711
function! OmniSharp#log#Log(job, message, ...) abort

0 commit comments

Comments
 (0)