-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve langauge_kdl #479
base: master
Are you sure you want to change the base?
Improve langauge_kdl #479
Conversation
Tamnac
commented
Sep 10, 2024
- fix formatting (should be all 2-space indents now)
- couple of improvements suggested by @Guldoman
- add support for node and nested multiline comments (also thanks to guldoman)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a version bump.
{ | ||
pattern = { "/%-.*{", "}" }, | ||
type = "comment", syntax = node_comment | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My suggestion in #477 also covered comments like this:
mynode /-"commented" "not commented" {
a
b
}
This doesn't, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, only the single parameter should be commented.
In what cases did my suggestion not work?