summaryrefslogtreecommitdiff
path: root/rc/tools
diff options
context:
space:
mode:
authorDaniel Gorin <jcpetruzza@gmail.com>2024-06-27 13:10:21 +0100
committerDaniel Gorin <jcpetruzza@gmail.com>2024-06-27 13:10:21 +0100
commit8ca7b5815ae165105aef102427fa33dee6b540f6 (patch)
tree479f7c17b9edeb1f60c7e33c2846bc1ae566e9ed /rc/tools
parent80fcfebca8c62ace6cf2af9487784486af07d2d5 (diff)
erlang: Fix the comment_line configuration
Erlang comments start with `%`. This is correctly highlighted but the comment-line/comment-block commands don't work correctly.
Diffstat (limited to 'rc/tools')
-rw-r--r--rc/tools/comment.kak2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/tools/comment.kak b/rc/tools/comment.kak
index b6100731..37dcac8b 100644
--- a/rc/tools/comment.kak
+++ b/rc/tools/comment.kak
@@ -75,7 +75,7 @@ hook global BufSetOption filetype=(html|xml) %{
set-option buffer comment_block_end '-->'
}
-hook global BufSetOption filetype=(latex|mercury) %{
+hook global BufSetOption filetype=(erlang|latex|mercury) %{
set-option buffer comment_line '%'
}