Skip to content

Commit

Permalink
Put prerelease flag in the right spot...
Browse files Browse the repository at this point in the history
  • Loading branch information
corbob committed Apr 19, 2019
1 parent 80450dd commit 16aeed0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions autoload/coc/powershell.vim
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ let s:is_mac = !s:is_win && !has('win32unix')
\ && (has('mac') || has('macunix') || has('gui_macvim') ||
\ (!isdirectory('/proc') && executable('sw_vers')))
let s:is_vim = !has('nvim')
let s:install_script = s:root.'/install.ps1'

if(!exists("g:coc_powershell_prerelease"))
let g:coc_powershell_prerelease = ''
endif

let s:install_script = s:root.'/install.ps1 '.g:coc_powershell_prerelease

if(s:is_mac)
let s:install_script = 'pwsh '.s:install_script.' '.g:coc_powershell_prerelease
let s:install_script = 'pwsh '.s:install_script
endif

if(s:is_win)
Expand Down

0 comments on commit 16aeed0

Please sign in to comment.