[go: up one dir, main page]

Skip to content

Commit

Permalink
Update conda.vim
Browse files Browse the repository at this point in the history
  • Loading branch information
ubaldot committed Jun 6, 2023
1 parent 9cd86d5 commit a098978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/conda.vim
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if !exists('g:conda_current_prefix')
# This also may be redundant
# g:conda_current_prefix = g:conda_info["active_prefix"]
# TODO: Does the following holds for Windows? It should...
if $CONDA_DEFAULT_ENV ==# "base"
if $CONDA_DEFAULT_ENV ==# "base" || $CONDA_DEFAULT_ENV ==# ""
g:conda_current_prefix = $CONDA_PREFIX
elseif has('win32')
g:conda_current_prefix = $CONDA_PREFIX .. "\\envs\\" .. $CONDA_DEFAULT_ENV
Expand Down

0 comments on commit a098978

Please sign in to comment.