Skip to content

Commit

Permalink
feat: add twig support (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbprod committed Sep 30, 2022
1 parent 407c66f commit d9cfae1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/Comment/ft.lua
Expand Up @@ -27,6 +27,7 @@ local M = {
latex = '%%s',
lisp_l = ';;%s',
lisp_b = '#|%s|#',
twig = '{#%s#}',
}

---Lang table that contains commentstring (linewise/blockwise) for mutliple filetypes
Expand Down Expand Up @@ -113,6 +114,7 @@ local L = setmetatable({
template = { M.dbl_hash },
tmux = { M.hash },
toml = { M.hash },
twig = { M.twig, M.twig },
typescript = { M.cxx_l, M.cxx_b },
typescriptreact = { M.cxx_l, M.cxx_b },
vim = { '"%s' },
Expand Down

0 comments on commit d9cfae1

Please sign in to comment.