update packages
This commit is contained in:
@@ -24,6 +24,10 @@
|
||||
(require 's)
|
||||
(require 'widget)
|
||||
(require 'dash)
|
||||
(require 'treemacs-macros)
|
||||
|
||||
(treemacs-import-functions-from "treemacs-scope"
|
||||
treemacs-default-buffer-name)
|
||||
|
||||
(eval-when-compile
|
||||
(require 'cl-lib))
|
||||
@@ -127,6 +131,20 @@ indentation will be a space INTEGER pixels wide."
|
||||
(const :tag "" px)))
|
||||
:group 'treemacs)
|
||||
|
||||
(defcustom treemacs-buffer-name-function #'treemacs-default-buffer-name
|
||||
"The function used to create the name of a treemacs buffer.
|
||||
|
||||
Value must be a function which takes a single argument - the current scope - and
|
||||
returns the buffer name as a string. By default the scope is going to be the
|
||||
current frame, however with packages like `treemacs-persp' it is also possible
|
||||
for it to be the current perspective.
|
||||
|
||||
In addition, the buffer name will *always* be prefixed with
|
||||
`treemacs--buffer-name-prefix', which is necessary to properly recognise
|
||||
treemacs buffers and maintain compatibility with some packages like winum."
|
||||
:type 'function
|
||||
:group 'treemacs)
|
||||
|
||||
(defcustom treemacs-litter-directories '("/node_modules" "/.venv" "/.cask")
|
||||
"List of directories affected by `treemacs-cleanup-litter'.
|
||||
Every item in the list is a regular expression, to be recognised a directory
|
||||
@@ -746,6 +764,15 @@ fallback."
|
||||
:type 'boolean
|
||||
:group 'treemacs-follow)
|
||||
|
||||
(defcustom treemacs-file-follow-ignore-functions nil
|
||||
"Functions which determine if a file should not be followed.
|
||||
|
||||
Content should be a list of functions which take one argument - the path of the
|
||||
file that might be followed - and return non-nil if the file should *not* be
|
||||
followed."
|
||||
:type '(list function)
|
||||
:group 'treemacs-follow)
|
||||
|
||||
(defcustom treemacs-move-files-by-mouse-dragging t
|
||||
"When non-nil treemacs will move files by dragging with the mouse."
|
||||
:group 'treemacs-mouse
|
||||
|
||||
Reference in New Issue
Block a user