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:
parent
523c2a114b
commit
b43888901f
1 changed files with 4 additions and 0 deletions
|
@ -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 "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue