Skip to content

Commit

Permalink
Ignore lsp buffers in persp-mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Dec 30, 2018
1 parent db450b3 commit 62b3fa4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lisp/init-persp.el
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@
;; Ignore temporary buffers
(add-hook 'persp-common-buffer-filter-functions
(lambda (b) (or (string-prefix-p "*" (buffer-name b))
(string-match-p "-ls\\(<[0-9]*>\\|\\)$" (buffer-name b))
(string-match-p "^\\(ccls\\|cquery\\)$" (buffer-name b))
(string-prefix-p "magit" (buffer-name b)))))

;; Integrate IVY
Expand Down

0 comments on commit 62b3fa4

Please sign in to comment.