c/c++: add narf/append-semicolon
This commit is contained in:
parent
96640038a6
commit
a6dc9ebc4a
2 changed files with 21 additions and 0 deletions
|
@ -27,6 +27,10 @@
|
|||
c-tab-always-indent nil
|
||||
c-electric-flag nil)
|
||||
|
||||
(map! (:map c-mode-base-map
|
||||
(:localleader
|
||||
:nv ";" 'narf/append-semicolon)))
|
||||
|
||||
(defun narf/sp-point-is-template-p (id action context)
|
||||
(and (sp-in-code-p id action context)
|
||||
(sp-point-after-word-p id action context)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue