Skip to content

Commit

Permalink
Update treemacs.
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed May 10, 2019
1 parent 7d4a744 commit 72fba5d
Showing 1 changed file with 2 additions and 31 deletions.
33 changes: 2 additions & 31 deletions lisp/init-treemacs.el
Original file line number Diff line number Diff line change
Expand Up @@ -88,42 +88,13 @@

(treemacs-follow-mode t)
(treemacs-filewatch-mode t)
(treemacs-fringe-indicator-mode t)
;; (treemacs-fringe-indicator-mode t)
(pcase (cons (not (null (executable-find "git")))
(not (null (executable-find "python3"))))
(`(t . t)
(treemacs-git-mode 'deferred))
(`(t . _)
(treemacs-git-mode 'simple)))

(if (fboundp 'define-fringe-bitmap)
(define-fringe-bitmap 'treemacs--fringe-indicator-bitmap
(vector #b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111
#b00000111111))))
(treemacs-git-mode 'simple))))

;; Projectile integration for treemacs
(use-package treemacs-projectile
Expand Down

0 comments on commit 72fba5d

Please sign in to comment.