mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-30 23:37:17 +03:00
Merge remote-tracking branch 'alyssais/line_comment_space'
This commit is contained in:
commit
e1c720000c
@ -21,13 +21,13 @@ hook global BufSetOption filetype=(c|cpp|go|java|javascript|objc|php|rust|sass|s
|
||||
}
|
||||
|
||||
hook global BufSetOption filetype=(cabal|haskell|moon|idris) %{
|
||||
set-option buffer comment_line '-- '
|
||||
set-option buffer comment_line '--'
|
||||
set-option buffer comment_block_begin '{-'
|
||||
set-option buffer comment_block_end '-}'
|
||||
}
|
||||
|
||||
hook global BufSetOption filetype=clojure %{
|
||||
set-option buffer comment_line '#_ '
|
||||
set-option buffer comment_line '#_'
|
||||
set-option buffer comment_block_begin '(comment '
|
||||
set-option buffer comment_block_end ')'
|
||||
}
|
||||
@ -157,7 +157,7 @@ define-command comment-line -docstring '(un)comment selected lines using line co
|
||||
execute-keys s<ret>d
|
||||
} catch %{
|
||||
# Comment the line
|
||||
set-register '"' "%opt{comment_line}"
|
||||
set-register '"' "%opt{comment_line} "
|
||||
execute-keys P
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user