Skip to content

Commit 18a8dc0

Browse files
authored
feat: add lisp support (#122)
Includes fennel, lisp and scheme filetypes
1 parent 1738ae5 commit 18a8dc0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lua/Comment/ft.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ local M = {
1212
fsharp_b = '(*%s*)',
1313
html = '<!--%s-->',
1414
latex = '%%s',
15+
lisp_l = ';;%s',
16+
lisp_b = '#|%s|#',
1517
}
1618

1719
---Lang table that contains commentstring (linewise/blockwise) for mutliple filetypes
@@ -29,6 +31,7 @@ local L = {
2931
dhall = { M.dash, M.haskell_b },
3032
dot = { M.cxx_l, M.cxx_b },
3133
elm = { M.dash, M.haskell_b },
34+
fennel = { M.lisp_l },
3235
fish = { M.hash },
3336
fsharp = { M.cxx_l, M.fsharp_b },
3437
gdb = { M.hash },
@@ -46,6 +49,7 @@ local L = {
4649
jsonc = { M.cxx_l },
4750
julia = { M.hash, '#=%s=#' },
4851
lidris = { M.dash, M.haskell_b },
52+
lisp = { M.lisp_l, M.lisp_b },
4953
lua = { M.dash, M.dash_bracket },
5054
markdown = { M.html, M.html },
5155
make = { M.hash },
@@ -61,6 +65,7 @@ local L = {
6165
ruby = { M.hash },
6266
rust = { M.cxx_l, M.cxx_b },
6367
scala = { M.cxx_l, M.cxx_b },
68+
scheme = { M.lisp_l, M.lisp_b },
6469
sh = { M.hash },
6570
sql = { M.dash, M.cxx_b },
6671
svelte = { M.html, M.html },

0 commit comments

Comments
 (0)