Skip to content

Commit bc056de

Browse files
committed
Add handlebars, Glimmer & GraphQL
1 parent fbaa902 commit bc056de

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ language tree (see
7777
- `html`
7878
- `svelte`
7979
- `vue`
80+
- `handlebars`
81+
- `glimmer`
82+
- `graphql`
8083

8184
This means that in any filetype, if the given languages are injected, this
8285
plugin should detect them and correctly set the `commentstring`. For example,

lua/ts_context_commentstring/internal.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ M.config = {
2323
html = '<!-- %s -->',
2424
svelte = '<!-- %s -->',
2525
vue = '<!-- %s -->',
26+
handlebars = '{{! %s }}',
27+
glimmer = '{{! %s }}',
28+
graphql = '# %s',
2629

2730
-- Languages that can have multiple types of comments
2831
tsx = {

0 commit comments

Comments
 (0)