Skip to content

Commit e872388

Browse files
committed
Change OmniSharp_vim_log_dir to OmniSharp_log_dir
1 parent aa863a6 commit e872388

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

autoload/OmniSharp.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,8 @@ function! OmniSharp#Install(...) abort
431431
let l:location = shellescape(OmniSharp#util#ServerDir())
432432

433433
if has('win32')
434-
if exists('g:OmniSharp_vim_log_dir')
435-
let l:log_dir = g:OmniSharp_vim_log_dir
434+
if exists('g:OmniSharp_log_dir')
435+
let l:log_dir = g:OmniSharp_log_dir
436436
else
437437
let l:log_dir = s:plugin_root_dir . '\log'
438438
end
@@ -445,8 +445,8 @@ function! OmniSharp#Install(...) abort
445445
\ 'powershell -ExecutionPolicy Bypass -File %s %s -l %s %s',
446446
\ l:script, l:http, l:location, l:version)
447447
else
448-
if exists('g:OmniSharp_vim_log_dir')
449-
let l:log_dir = g:OmniSharp_vim_log_dir
448+
if exists('g:OmniSharp_log_dir')
449+
let l:log_dir = g:OmniSharp_log_dir
450450
else
451451
let l:log_dir = s:plugin_root_dir . '/log'
452452
end

autoload/OmniSharp/log.vim

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

4-
if exists('g:OmniSharp_vim_log_dir')
5-
let s:stdiologfile = g:OmniSharp_vim_log_dir . '/stdio.log'
4+
if exists('g:OmniSharp_log_dir')
5+
let s:stdiologfile = g:OmniSharp_log_dir . '/stdio.log'
66
else
77
let s:stdiologfile = expand('<sfile>:p:h:h:h') . '/log/stdio.log'
88
end

0 commit comments

Comments
 (0)