Skip to content

Commit

Permalink
Add support for WSL (#435)
Browse files Browse the repository at this point in the history
* downloads linux file on wsl

* Change has(darwin) --> has(mac)
  • Loading branch information
VoxelPrismatic authored Sep 23, 2024
1 parent fa65fa9 commit dfe75c6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions autoload/codeium/server.vim
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,14 @@ function! codeium#server#Start(...) abort
endif
let is_arm = stridx(arch, 'arm') == 0 || stridx(arch, 'aarch64') == 0

if empty(os)
if has("linux")
let os = "Linux"
elseif has("mac")
let os = "Darwin"
endif
endif

if os ==# 'Linux' && is_arm
let bin_suffix = 'linux_arm'
elseif os ==# 'Linux'
Expand Down

0 comments on commit dfe75c6

Please sign in to comment.