update packages
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
;;; treemacs.el --- A tree style file viewer package -*- lexical-binding: t -*-
|
||||
|
||||
;; Copyright (C) 2023 Alexander Miller
|
||||
;; Copyright (C) 2024 Alexander Miller
|
||||
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
;; it under the terms of the GNU General Public License as published by
|
||||
@@ -104,6 +104,12 @@
|
||||
:prefix "treemacs-"
|
||||
:link '(url-link :tag "Repository" "https://github.com/Alexander-Miller/treemacs"))
|
||||
|
||||
(defgroup treemacs-mouse nil
|
||||
"Customisations for treemacs' mouse integration."
|
||||
:group 'treemacs
|
||||
:prefix "treemacs-"
|
||||
:link '(url-link :tag "Repository" "https://github.com/Alexander-Miller/treemacs"))
|
||||
|
||||
(defgroup treemacs-window nil
|
||||
"Customisations for the behaviour of the treemacs window."
|
||||
:group 'treemacs
|
||||
@@ -234,8 +240,7 @@ of how this config works and how to modify it."
|
||||
:type '(alist :key-type symbol :value-type treemacs-mouse-action)
|
||||
:group 'treemacs)
|
||||
|
||||
(defcustom treemacs-default-visit-action
|
||||
'treemacs-visit-node-no-split
|
||||
(defcustom treemacs-default-visit-action 'treemacs-visit-node-no-split
|
||||
"Defines the behaviour of `treemacs-visit-node-default'."
|
||||
:type 'treemacs-default-action
|
||||
:group 'treemacs)
|
||||
@@ -608,7 +613,12 @@ Can be set to nil to disable workspace persistence."
|
||||
"Action to perform when a persisted project is not found on the disk.
|
||||
If the project is not found, the project can either be kept in the project list,
|
||||
or removed from it. If the project is removed, when projects are persisted, the
|
||||
missing project will not appear in the project list next time Emacs is started."
|
||||
missing project will not appear in the project list next time Emacs is started.
|
||||
|
||||
Possible values are:
|
||||
- `ask'
|
||||
- `remove'
|
||||
- `keep'"
|
||||
:type '(choice (const :tag "Ask whether to remove" ask)
|
||||
(const :tag "Remove without asking" remove)
|
||||
(const :tag "Keep without asking" keep))
|
||||
@@ -736,6 +746,11 @@ fallback."
|
||||
:type 'boolean
|
||||
: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
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom treemacs-deferred-git-apply-delay 0.5
|
||||
"Delay in seconds of idle time before git fontification is applied.
|
||||
This is only relevant when using the deferred variant of git-mode."
|
||||
@@ -762,6 +777,11 @@ the python3 binary."
|
||||
:type 'string
|
||||
:group 'treemacs-git)
|
||||
|
||||
(defcustom treemacs-git-executable "git"
|
||||
"The git executable used by treemacs."
|
||||
:type 'string
|
||||
:group 'treemacs-git)
|
||||
|
||||
(defcustom treemacs-git-command-pipe ""
|
||||
"Text to be appended to treemacs' git command.
|
||||
With `treemacs-git-mode' the command
|
||||
@@ -1096,6 +1116,13 @@ current scope (frame or perspective) it was found for."
|
||||
:type 'hook
|
||||
:group 'treemacs-hooks)
|
||||
|
||||
(defcustom treemacs-after-visit-functions nil
|
||||
"Hooks that run after treemacs executes a `treemacs-visit-node-***' command.
|
||||
Does not apply to `treemacs-visit-node-in-external-application'. Hooks are
|
||||
expected to take 1 argument, which is the buffer where the node is visited in."
|
||||
:type 'hook
|
||||
:group 'treemacs-hooks)
|
||||
|
||||
(defconst treemacs-last-period-regex-value "\\.[^.]*\\'")
|
||||
(defconst treemacs-first-period-regex-value "\\.")
|
||||
(defcustom treemacs-file-extension-regex treemacs-last-period-regex-value
|
||||
|
||||
Reference in New Issue
Block a user