Skip to content

Commit

Permalink
tweak(tabspaces): minor edit
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jun 9, 2023
1 parent f099f67 commit ade261d
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions modules/me-workspaces.el
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,17 @@
;; Set consult-workspace buffer list
(defvar +consult--source-workspace
(list :name "Workspace Buffers"
:narrow ?w
:history 'buffer-name-history
:narrow '(?w . "Workspace")
:history 'buffer-name-history
:category 'buffer
:state #'consult--buffer-state
:default t
:items (lambda ()
(consult--buffer-query
:predicate #'tabspaces--local-buffer-p
:sort 'visibility
:as #'buffer-name))))
:state #'consult--buffer-state
:default t
:items
(lambda ()
(consult--buffer-query
:predicate #'tabspaces--local-buffer-p
:sort 'visibility
:as #'buffer-name))))

(add-to-list 'consult-buffer-sources '+consult--source-workspace)))

Expand Down

0 comments on commit ade261d

Please sign in to comment.