We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ruby
1 parent b689100 commit d7ef9b6Copy full SHA for d7ef9b6
lua/Comment/ft.lua
@@ -32,6 +32,7 @@ local M = {
32
twig = '{#%s#}',
33
vim = '"%s',
34
lean_b = '/-%s-/',
35
+ ruby_block = '=begin%s=end',
36
}
37
38
---Lang table that contains commentstring (linewise/blockwise) for multiple filetypes
@@ -145,7 +146,7 @@ local L = setmetatable({
145
146
rescript = { M.cxx_l, M.cxx_b },
147
robot = { M.hash }, -- Robotframework doesn't have block comments
148
ron = { M.cxx_l, M.cxx_b },
- ruby = { M.hash },
149
+ ruby = { M.hash, M.ruby_block },
150
rust = { M.cxx_l, M.cxx_b },
151
sbt = { M.cxx_l, M.cxx_b },
152
scala = { M.cxx_l, M.cxx_b },
0 commit comments