Add document for option treemacs-use-git-mode

This option has been implemented but was not documented.
This commit is contained in:
Hong Xu 2019-10-03 19:47:57 -07:00 committed by duianto
parent fdd38eec9b
commit 50bb8a6dc1
1 changed files with 14 additions and 0 deletions

View File

@ -11,6 +11,7 @@
- [[#configuration][Configuration]]
- [[#follow-mode][Follow mode]]
- [[#file-watch][File watch]]
- [[#git-mode][Git mode]]
- [[#collapsed-directories][Collapsed directories]]
- [[#locking-width][Locking width]]
- [[#key-bindings][Key bindings]]
@ -68,6 +69,19 @@ part of the file system shown by treemacs set the layer variable
Default is =t=.
** Git mode
To enable Treemacs to check for files and directories git status information
and highlight them accordingly, set the layer variable =treemacs-use-git-mode=
to =simple=, =extended=, or =deferred=. See the [[https://github.com/Alexander-Miller/treemacs#git-mode][Treemacs doc]] for a more detailed
explanation.
#+BEGIN_SRC emacs-lisp
(setq-default dotspacemacs-configuration-layers '(
(treemacs :variables treemacs-use-git-mode 'deferred)))
#+END_SRC
Default is =nil=.
** Collapsed directories
*This feature requires python to be installed*.