Skip to content

Commit

Permalink
Merge pull request Malabarba#165 from lyro/powerline-utf8
Browse files Browse the repository at this point in the history
Ensure utf-8 separator is used in terminal mode
  • Loading branch information
Malabarba committed Jan 11, 2016
2 parents 4b3265e + 9a69b43 commit ebc2cf9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions themes/smart-mode-line-light-powerline-theme.el
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ Mimics the appearance of powerline.")
(l8 (face-background 'powerline-active2))
(separator-left
'(intern (format "powerline-%s-%s"
powerline-default-separator
(powerline-current-separator)
(car powerline-default-separator-dir))))
(separator-right
'(intern (format "powerline-%s-%s"
powerline-default-separator
(powerline-current-separator)
(cdr powerline-default-separator-dir)))))
(custom-theme-set-faces
'smart-mode-line-light-powerline
Expand Down Expand Up @@ -95,7 +95,7 @@ Mimics the appearance of powerline.")
`(helm-candidate-number ((t :foreground nil :background nil :inherit sml/filename))))
(custom-theme-set-variables
'smart-mode-line-light-powerline
'(sml/mode-width (if (eq powerline-default-separator 'arrow) 'right 'full))
'(sml/mode-width (if (eq (powerline-current-separator) 'arrow) 'right 'full))
`(sml/pre-id-separator
'(""
(:propertize " " face sml/global)
Expand Down
6 changes: 3 additions & 3 deletions themes/smart-mode-line-powerline-theme.el
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ Mimics the appearance of powerline.")
(l8 (or (face-background 'powerline-active2) "Grey80"))
(separator-left
'(intern (format "powerline-%s-%s"
powerline-default-separator
(powerline-current-separator)
(car powerline-default-separator-dir))))
(separator-right
'(intern (format "powerline-%s-%s"
powerline-default-separator
(powerline-current-separator)
(cdr powerline-default-separator-dir)))))
(custom-theme-set-faces
'smart-mode-line-powerline
Expand Down Expand Up @@ -95,7 +95,7 @@ Mimics the appearance of powerline.")
`(helm-candidate-number ((t :foreground nil :background nil :inherit sml/filename))))
(custom-theme-set-variables
'smart-mode-line-powerline
'(sml/mode-width (if (eq powerline-default-separator 'arrow) 'right 'full))
'(sml/mode-width (if (eq (powerline-current-separator) 'arrow) 'right 'full))
`(sml/pre-id-separator
'(""
(:propertize " " face sml/global)
Expand Down

0 comments on commit ebc2cf9

Please sign in to comment.