Hi, I have couple of questions about this:
1) How can define highlight, brace, etc. to only matter if its the first word in the line (there could be spaces before it).
For example with file:
I would like volume and share to be open indent and fold keywords, but I don't want the "line share line" to interfere.
Also if I have an IP address how can I highlight the whole thing? Right now only the first octet is highlighed.
and lastly if I have a keyword with - in it , ie some-name, how can I highlight it? Right now only the first part matches.
thank you!
1) How can define highlight, brace, etc. to only matter if its the first word in the line (there could be spaces before it).
For example with file:
Code: Select all
volume name1
share name2
someother line share line
exit
exit
Also if I have an IP address how can I highlight the whole thing? Right now only the first octet is highlighed.
and lastly if I have a keyword with - in it , ie some-name, how can I highlight it? Right now only the first part matches.
thank you!