Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
shun-li-casia committed Feb 22, 2024
1 parent 5ba8c70 commit 579ee88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -298,14 +298,14 @@ endif
" ===
" === check the ai
" ===
if (g:os_name == 'Linux' && g:os_architect == 'x86_64') || (g:os_name == 'Windows')
if (g:os_name == 'Linux') || (g:os_name == 'Windows')
" check the codeium
if g:osv_ai == 'codeium' && !has('nvim-0.6') && !has('patch-9.0.0185')
call osv_ultis#msg#warn("codeium preview needs vim >=9.0.0185 or nvim >= 0.6! Skip!")
let g:osv_ai = 'none'
endif
else
call osv_ultis#msg#warn("Only Linux_x86_64, Windows support ai! Skip!")
call osv_ultis#msg#warn("Only Linux, Windows support ai! Skip!")
let g:osv_ai = 'none'
endif

Expand Down

0 comments on commit 579ee88

Please sign in to comment.