General cleanup + refactor
This commit is contained in:
parent
5e2c483923
commit
0e7254d312
12 changed files with 30 additions and 24 deletions
|
@ -6,13 +6,13 @@
|
|||
;; you're looking at, with:
|
||||
;;
|
||||
;; 1. A dwim Jump-to-definition functionality that "just works", with the help
|
||||
;; of `dumb-jump'.
|
||||
;; of `dumb-jump' and `xref'.
|
||||
;; 2. A dwim interface to the new (and experimental) xref API built into Emacs.
|
||||
;; Once its API is more stable, backends could be written (or provided by
|
||||
;; plugins) to create universal find-references and find-definition
|
||||
;; functionality. Warning: xref may change drastically in future updates.
|
||||
;; 3. Simple ways to look up the symbol at point in external resources, like
|
||||
;; stackoverflow, devdocs.io or google.
|
||||
;; stackoverflow, devdocs.io or google. See `+jump/online' (TODO Test me!)
|
||||
;; 4. TODO Automatic and transparent integration with cscope databases and ctags
|
||||
;; files. Databases are optionally isolated to the Emacs environment.
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
(def-package! gitconfig-mode
|
||||
:mode "/\\.?git/?config$"
|
||||
:mode "/\\.gitmodules$"
|
||||
:init (add-hook 'gitconfig-mode-hook 'flyspell-mode))
|
||||
:mode "/\\.gitmodules$")
|
||||
|
||||
|
||||
(def-package! gitignore-mode
|
||||
:mode "/\\.gitignore$")
|
||||
|
|
|
@ -10,7 +10,8 @@
|
|||
(:background "#333333" :foreground "#000000")) ;; FIXME
|
||||
(((class color) (background dark))
|
||||
(:background "#51afef" :foreground "#181e26")))
|
||||
"The face for selected tabs displayed by `+workspace/display'")
|
||||
"The face for selected tabs displayed by `+workspace/display'"
|
||||
:group 'doom)
|
||||
|
||||
(defface +workspace-tab-face
|
||||
'((((class color) (background light))
|
||||
|
@ -19,7 +20,8 @@
|
|||
(:background "#23272e" :foreground "#5B6268"))
|
||||
(((class color) (background dark))
|
||||
(:background "#262626" :foreground "#525252")))
|
||||
"The face for selected tabs displayed by `+workspace/display'")
|
||||
"The face for selected tabs displayed by `+workspace/display'"
|
||||
:group 'doom)
|
||||
|
||||
;;;###autoload
|
||||
(defun +workspace-list ()
|
||||
|
@ -110,7 +112,7 @@ Otherwise return t on success, nil otherwise."
|
|||
"Rename the current workspace named NAME to NEW-NAME. Returns old name on
|
||||
success, nil otherwise."
|
||||
(when (+workspace-protected-p name)
|
||||
(error "Can't rename '%s' workspace"))
|
||||
(error "Can't rename '%s' workspace" name))
|
||||
(persp-rename new-name (+workspace-get name)))
|
||||
|
||||
;;;###autoload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue