Closed jwintz closed 7 years ago
Would love to colour it though, but it is not as straight-forward as I wish ;-)
Hummm, for some reason it breaks the buffer-position
and the hud
segments, whenever its condition is not true
...
I'm not familiar with Conda or Anaconda 😅
What does conda-env-current-name
look like?
Also, in your predicate, won't conda-env-current-name
be nil if there isn't one?
And how does it break the buffer-position
/hud
segments?
What does conda-env-current-name look like?
It is defined as such:
(defvar conda-env-current-name nil "Name of current conda env.")
Also, in your predicate, won't conda-env-current-name be nil if there isn't one?
(length nil) ;; => 0
So I guess it is fine ?
As for the buffer-position
/hud
segments, they only both appear when the :when
condition of this segment holds.
I have then tried to use the vanilla spaceline-all-the-icons
, but I can't these two to work together.
Will reopen from a feature branch (using gitflow) when working as expected (which, no conflict with hud
and buffer-position
).
See https://github.com/necaris/conda.el.