2020-05-21 09:59:06 +00:00
|
|
|
;;; config.el --- Treemacs Layer configuration File for Spacemacs
|
2017-08-07 06:37:47 +00:00
|
|
|
;;
|
2020-09-16 21:34:40 +00:00
|
|
|
;; Copyright (c) 2012-2020 Sylvain Benner & Contributors
|
2017-08-07 06:37:47 +00:00
|
|
|
;;
|
|
|
|
;; Author: Alexander Miller <alexanderm@web.de>
|
|
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
|
|
;;
|
|
|
|
;; This file is not part of GNU Emacs.
|
|
|
|
;;
|
|
|
|
;;; License: GPLv3
|
|
|
|
|
|
|
|
(defvar treemacs-use-follow-mode t
|
|
|
|
"When non-nil use `treemacs-follow-mode'.")
|
|
|
|
|
|
|
|
(defvar treemacs-use-filewatch-mode t
|
|
|
|
"When non-nil use `treemacs-filewatch-mode'.")
|
|
|
|
|
2020-04-09 11:09:03 +00:00
|
|
|
(defvar treemacs-use-scope-type 'Frames
|
|
|
|
"Determines the scope of treemacs buffers and workspaces.
|
|
|
|
Possible values are:
|
|
|
|
- `Frames' - to scope treemacs to the current frame
|
|
|
|
- `Perspectives' - to scope treemacs in conjunction with `persp-mode'.")
|
|
|
|
|
2017-12-18 07:15:55 +00:00
|
|
|
(defvar treemacs-use-git-mode
|
|
|
|
(pcase (cons (not (null (executable-find "git")))
|
2018-01-10 18:09:28 +00:00
|
|
|
(not (null (executable-find "python3"))))
|
2018-12-18 18:10:16 +00:00
|
|
|
(`(t . t) 'deferred)
|
2017-12-18 07:15:55 +00:00
|
|
|
(`(t . _) 'simple))
|
|
|
|
"Type of git integration for `treemacs-git-mode'.
|
|
|
|
There are 2 possible values:
|
|
|
|
1) simple, which highlights only files based on their git status, and is
|
|
|
|
slightly faster
|
2018-12-18 18:10:16 +00:00
|
|
|
2) extended, which highlights both files and directories, but requires python
|
|
|
|
3) deferred, which is the same is extended, but delays highlighting for improved
|
|
|
|
performance")
|
2018-10-04 10:01:49 +00:00
|
|
|
|
|
|
|
(defvar treemacs-lock-width nil
|
|
|
|
"When non-nil the treemacs window will not be manually resizable by default.")
|
2020-04-16 05:52:07 +00:00
|
|
|
|
|
|
|
(defvar treemacs-use-icons-dired t
|
|
|
|
"When non-nil use `treemacs-icons-dired'")
|
2020-08-02 14:56:38 +00:00
|
|
|
|
|
|
|
(defvar treemacs-use-all-the-icons-theme nil
|
|
|
|
"Enable the treemacs supported `all-the-icons' theme")
|