summaryrefslogtreecommitdiff
path: root/rc/cpp.kak
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-02-19 03:45:41 +0000
committerMaxime Coste <frrrwww@gmail.com>2014-03-02 01:08:12 +0000
commit1764ce0bdc2b2ec3a563b01480ff7b07906b0b7d (patch)
tree4c13b1dea21bd32f0e3da1a921a49c9df6da18dc /rc/cpp.kak
parentaab390ab92009048186fe5feee00d21c048eadb0 (diff)
Add docstrings to some commands
Diffstat (limited to 'rc/cpp.kak')
-rw-r--r--rc/cpp.kak2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/cpp.kak b/rc/cpp.kak
index d5825cc9..1edb9b6c 100644
--- a/rc/cpp.kak
+++ b/rc/cpp.kak
@@ -74,7 +74,7 @@ hook global BufNew .*\.(h|hh|hpp|hxx|H) _cpp_insert_include_guards
decl str-list alt_dirs ".;.."
-def alt %{ %sh{
+def alt -docstring "Jump to the alternate file (header/implementation)" %{ %sh{
shopt -s extglob
alt_dirs=${kak_opt_alt_dirs//;/ }
file=$(basename ${kak_buffile})