Skip to content

Commit

Permalink
Merge branch 'master' into jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
numToStr committed Apr 29, 2022
2 parents 698d462 + cb0de89 commit 92480e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ There are two hook methods i.e `pre_hook` and `post_hook` which are called befor
if vim.bo.filetype == 'typescriptreact' then
local U = require('Comment.utils')

-- Detemine whether to use linewise or blockwise commentstring
-- Determine whether to use linewise or blockwise commentstring
local type = ctx.ctype == U.ctype.line and '__default' or '__multiline'

-- Determine the location where to calculate commentstring from
Expand Down
4 changes: 4 additions & 0 deletions lua/Comment/ft.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,20 @@ local L = {
css = { M.cxx_b, M.cxx_b },
dhall = { M.dash, M.haskell_b },
dot = { M.cxx_l, M.cxx_b },
eelixir = { M.html, M.html },
elixir = { M.hash },
elm = { M.dash, M.haskell_b },
fennel = { M.lisp_l },
fish = { M.hash },
fsharp = { M.cxx_l, M.fsharp_b },
gdb = { M.hash },
gdscript = { M.hash },
gleam = { M.cxx_l },
go = { M.cxx_l, M.cxx_b },
graphql = { M.hash },
groovy = { M.cxx_l, M.cxx_b },
haskell = { M.dash, M.haskell_b },
heex = { M.html, M.html },
html = { M.html, M.html },
htmldjango = { M.html, M.html },
idris = { M.dash, M.haskell_b },
Expand Down

0 comments on commit 92480e7

Please sign in to comment.