Skip to content

Create language_marko.lua - #536

Open
RohanVashisht1234 wants to merge 3 commits into
lite-xl:masterfrom
RohanVashisht1234:patch-1
Open

RohanVashisht1234 wants to merge 3 commits into
lite-xl:masterfrom
RohanVashisht1234:patch-1

Conversation

@RohanVashisht1234

Copy link
Copy Markdown
Contributor

No description provided.

@PerilousBooklet

Copy link
Copy Markdown
Contributor

Use this as an example.

@RohanVashisht1234

Copy link
Copy Markdown
Contributor Author

Thanks, just changed it.

@PerilousBooklet

PerilousBooklet commented Mar 28, 2025 •

Copy link
Copy Markdown
Contributor

That's perfect!
Also, you should resolve the conversations I opened.
There's buttons in the right-bottom parts of the messages.

block_comment = { "<!%-%-", "%-%->" },
patterns = {
{ pattern = { "%-%-\n", "%-%-" }, type = "string" }, -- Multiline string
{ pattern = "%-%-.-\n", type = "string" }, -- Single line string

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{ pattern = "%-%-.-\n", type = "string" }, -- Single line string
{ pattern = "%-%-.*", type = "string" }, -- Single line string

Where is this defined in the documentation website?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Um, it is not in the documentation, but I am a daily user of Marko JS and I use this very often.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For reference this is the documentation: https://markojs.com/docs/concise/

comment = "//",
block_comment = { "<!%-%-", "%-%->" },
patterns = {
{ pattern = { "%-%-\n", "%-%-" }, type = "string" }, -- Multiline string

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is this defined in the documentation website?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, I use this everytime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants