diff options
| author | Frank LENORMAND <lenormf@gmail.com> | 2020-09-02 11:57:34 +0300 |
|---|---|---|
| committer | Frank LENORMAND <lenormf@gmail.com> | 2020-09-02 11:57:34 +0300 |
| commit | 0cd706254ae68d8aa132bbcced011574138bf2df (patch) | |
| tree | 6e4b8896c68cc1e2645bdc88fe6b11b51f6ca394 | |
| parent | e0d2602e6a924c9a4067fa9ff23f034b906dd56d (diff) | |
rc clang grep: Make docstrings more readable
| -rw-r--r-- | rc/tools/clang.kak | 7 | ||||
| -rw-r--r-- | rc/tools/grep.kak | 8 |
2 files changed, 8 insertions, 7 deletions
diff --git a/rc/tools/clang.kak b/rc/tools/clang.kak index 586a97f5..e72b64da 100644 --- a/rc/tools/clang.kak +++ b/rc/tools/clang.kak @@ -155,9 +155,10 @@ define-command -hidden clang-show-error-info %{ fi } } -define-command clang-enable-diagnostics -docstring %{Activate automatic error reporting and diagnostics -Information about the analysis are showned after the buffer has been parsed with the clang-parse function} \ -%{ +define-command clang-enable-diagnostics -docstring %{ + Activate automatic error reporting and diagnostics + Information about the analysis are showned after the buffer has been parsed with the clang-parse function +} %{ add-highlighter window/clang_flags flag-lines default clang_flags hook window -group clang-diagnostics NormalIdle .* %{ clang-show-error-info } hook window -group clang-diagnostics WinSetOption ^clang_errors=.* %{ info; clang-show-error-info } diff --git a/rc/tools/grep.kak b/rc/tools/grep.kak index 39aecf19..3edbec45 100644 --- a/rc/tools/grep.kak +++ b/rc/tools/grep.kak @@ -4,10 +4,10 @@ declare-option -docstring "name of the client in which utilities display informa str toolsclient declare-option -hidden int grep_current_line 0 -define-command -params .. -file-completion \ - -docstring %{grep [<arguments>]: grep utility wrapper -All the optional arguments are forwarded to the grep utility} \ - grep %{ evaluate-commands %sh{ +define-command -params .. -file-completion -docstring %{ + grep [<arguments>]: grep utility wrapper + All the optional arguments are forwarded to the grep utility +} grep %{ evaluate-commands %sh{ if [ $# -eq 0 ]; then set -- "${kak_selection}" fi |
