From 97d99358d1ec0b815c4582e2272939243587407a Mon Sep 17 00:00:00 2001 From: Mathieu Gagnon Date: Sun, 29 Jan 2017 06:23:11 -0500 Subject: [PATCH] Set commenting options for php The defaults are working but using c-family style is more idiomatic, it also enable support for `comment-selection`. --- rc/core/commenting.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/core/commenting.kak b/rc/core/commenting.kak index 7e89d749..43ae7f59 100644 --- a/rc/core/commenting.kak +++ b/rc/core/commenting.kak @@ -9,7 +9,7 @@ hook global BufSetOption filetype=asciidoc %{ set buffer comment_selection_chars '///:///' } -hook global BufSetOption filetype=(c|cpp|go|java|javascript|objc|sass|scala|scss|swift) %{ +hook global BufSetOption filetype=(c|cpp|go|java|javascript|objc|php|sass|scala|scss|swift) %{ set buffer comment_line_chars '//' set buffer comment_selection_chars '/*:*/' }