mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/cc: add rotate patterns for c++-mode
These can be used by pressing ! in normal mode, over rotatable regions of text.
This commit is contained in:
@ -47,6 +47,10 @@ compilation database is present in the project.")
|
|||||||
(set-docsets! 'c-mode "C")
|
(set-docsets! 'c-mode "C")
|
||||||
(set-docsets! 'c++-mode "C++" "Boost")
|
(set-docsets! 'c++-mode "C++" "Boost")
|
||||||
|
|
||||||
|
(set-rotate-patterns! 'c++-mode
|
||||||
|
:symbols '(("public" "protected" "private")
|
||||||
|
("class" "struct")))
|
||||||
|
|
||||||
(set-pretty-symbols! '(c-mode c++-mode)
|
(set-pretty-symbols! '(c-mode c++-mode)
|
||||||
;; Functional
|
;; Functional
|
||||||
;; :def "void "
|
;; :def "void "
|
||||||
|
Reference in New Issue
Block a user