vscode-lua icon indicating copy to clipboard operation
vscode-lua copied to clipboard

Introduce a new regex for a special comment: howto?

Open wimalopaan opened this issue 4 years ago • 0 comments

I tried to introduce a special comment for CPP-directives like

#include "bla.lua"

in lua.tmLanguage.json

.vscode-oss/extensions/sumneko.lua-2.5.3/syntaxes

But now luck with

```
				{
						"begin": "^\\s*#[a-z]+",
						"beginCaptures": {
							"0": {
								"name": "punctuation.definition.comment.lua"
							}
						},
						"end": "\\n",
						"name": "comment.line.double-dash.lua"
					},

wimalopaan avatar Dec 16 '21 09:12 wimalopaan