Skip to content

Commit 350bf0c

Browse files
feat: add gnuplot support (#209)
1 parent ab63cc9 commit 350bf0c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lua/Comment/ft.lua

+4-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ local A = vim.api
1111
local M = {
1212
cxx_l = '//%s',
1313
cxx_b = '/*%s*/',
14-
hash = '#%s',
1514
dbl_hash = '##%s',
1615
dash = '--%s',
1716
dash_bracket = '--[[%s]]',
17+
hash = '#%s',
18+
hash_bracket = '#[[%s]]',
1819
haskell_b = '{-%s-}',
1920
fsharp_b = '(*%s*)',
2021
html = '<!--%s-->',
@@ -32,7 +33,7 @@ local L = {
3233
bib = { M.latex },
3334
c = { M.cxx_l, M.cxx_b },
3435
cabal = { M.dash },
35-
cmake = { M.hash, '#[[%s]]' },
36+
cmake = { M.hash, M.hash_bracket },
3637
conf = { M.hash },
3738
conkyrc = { M.dash, M.dash_bracket },
3839
cpp = { M.cxx_l, M.cxx_b },
@@ -52,6 +53,7 @@ local L = {
5253
gdscript = { M.hash },
5354
gleam = { M.cxx_l },
5455
glsl = { M.cxx_l, M.cxx_b },
56+
gnuplot = { M.hash, M.hash_bracket },
5557
go = { M.cxx_l, M.cxx_b },
5658
graphql = { M.hash },
5759
groovy = { M.cxx_l, M.cxx_b },

0 commit comments

Comments
 (0)