Skip to content

Commit 0373cc8

Browse files
authored
feat(ft): add vifm support (#296)
Ref: https://github.com/vifm/vifm
1 parent e89df17 commit 0373cc8

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
@@ -29,6 +29,7 @@ local M = {
2929
lisp_l = ';;%s',
3030
lisp_b = '#|%s|#',
3131
twig = '{#%s#}',
32+
vim = '"%s',
3233
}
3334

3435
---Lang table that contains commentstring (linewise/blockwise) for multiple filetypes
@@ -124,7 +125,8 @@ local L = setmetatable({
124125
twig = { M.twig, M.twig },
125126
typescript = { M.cxx_l, M.cxx_b },
126127
typescriptreact = { M.cxx_l, M.cxx_b },
127-
vim = { '"%s' },
128+
vim = { M.vim },
129+
vifm = { M.vim },
128130
vue = { M.html, M.html },
129131
xml = { M.html, M.html },
130132
xdefaults = { '!%s' },

0 commit comments

Comments
 (0)