Skip to content

Commit d7ef9b6

Browse files
authored
1 parent b689100 commit d7ef9b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lua/Comment/ft.lua

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ local M = {
3232
twig = '{#%s#}',
3333
vim = '"%s',
3434
lean_b = '/-%s-/',
35+
ruby_block = '=begin%s=end',
3536
}
3637

3738
---Lang table that contains commentstring (linewise/blockwise) for multiple filetypes
@@ -145,7 +146,7 @@ local L = setmetatable({
145146
rescript = { M.cxx_l, M.cxx_b },
146147
robot = { M.hash }, -- Robotframework doesn't have block comments
147148
ron = { M.cxx_l, M.cxx_b },
148-
ruby = { M.hash },
149+
ruby = { M.hash, M.ruby_block },
149150
rust = { M.cxx_l, M.cxx_b },
150151
sbt = { M.cxx_l, M.cxx_b },
151152
scala = { M.cxx_l, M.cxx_b },

0 commit comments

Comments
 (0)