Skip to content

Commit 72a3f45

Browse files
Merge pull request #20 from jasonrhansen/injected-lua
Add support for injected lua
2 parents 7131f56 + 1929142 commit 72a3f45

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ language tree (see
8080
- `handlebars`
8181
- `glimmer`
8282
- `graphql`
83+
- `lua`
8384

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

lua/ts_context_commentstring/internal.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ M.config = {
2626
handlebars = '{{! %s }}',
2727
glimmer = '{{! %s }}',
2828
graphql = '# %s',
29+
lua = '-- %s',
2930

3031
-- Languages that can have multiple types of comments
3132
tsx = {

0 commit comments

Comments
 (0)