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:
Henrik Lissner 2018-09-27 23:52:22 -04:00
parent 523c2a114b
commit b43888901f

View file

@ -47,6 +47,10 @@ compilation database is present in the project.")
(set-docsets! 'c-mode "C")
(set-docsets! 'c++-mode "C++" "Boost")
(set-rotate-patterns! 'c++-mode
:symbols '(("public" "protected" "private")
("class" "struct")))
(set-pretty-symbols! '(c-mode c++-mode)
;; Functional
;; :def "void "