Skip to content

Commit e906b18

Browse files
authored
feat(ft): add lean3 support (#375)
1 parent d0cbbfb commit e906b18

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lua/Comment/ft.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ local M = {
3131
lisp_b = '#|%s|#',
3232
twig = '{#%s#}',
3333
vim = '"%s',
34+
lean_b = '/-%s-/',
3435
}
3536

3637
---Lang table that contains commentstring (linewise/blockwise) for multiple filetypes
@@ -94,7 +95,8 @@ local L = setmetatable({
9495
jsonnet = { M.cxx_l, M.cxx_b },
9596
julia = { M.hash, '#=%s=#' },
9697
kotlin = { M.cxx_l, M.cxx_b },
97-
lean = { M.dash, '/-%s-/' },
98+
lean = { M.dash, M.lean_b },
99+
lean3 = { M.dash, M.lean_b },
98100
lidris = { M.dash, M.haskell_b },
99101
lilypond = { M.latex, '%{%s%}' },
100102
lisp = { M.lisp_l, M.lisp_b },

0 commit comments

Comments
 (0)