Skip to content

Commit dfe75c6

Browse files
Add support for WSL (#435)
* downloads linux file on wsl * Change has(darwin) --> has(mac)
1 parent fa65fa9 commit dfe75c6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

autoload/codeium/server.vim

+8
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,14 @@ function! codeium#server#Start(...) abort
162162
endif
163163
let is_arm = stridx(arch, 'arm') == 0 || stridx(arch, 'aarch64') == 0
164164

165+
if empty(os)
166+
if has("linux")
167+
let os = "Linux"
168+
elseif has("mac")
169+
let os = "Darwin"
170+
endif
171+
endif
172+
165173
if os ==# 'Linux' && is_arm
166174
let bin_suffix = 'linux_arm'
167175
elseif os ==# 'Linux'

0 commit comments

Comments
 (0)