lite-plugins icon indicating copy to clipboard operation
lite-plugins copied to clipboard

Syntax highlighting for the zig programming language

Open lordadamson opened this issue 5 years ago • 1 comments

lordadamson avatar Jul 17 '20 16:07 lordadamson

Looks good! Two points:

  • Can you change the table entry from zig to language_zig to match the plugin name
  • The many @... entries (@addWithOverflow and friends) would be better changed to a general pattern that resolves to a symbol, the individual items could then be added to the symbols table instead:
	{ pattern = "@%w+",          type = "symbol"   },

rxi avatar Jul 19 '20 07:07 rxi