Open pvaibhav opened 3 years ago
Those symlinks should be changed to a relative path so that they don't break on another machine. e.g. ln -fs syntaxes/prolog.tmLanguage.json syntaxes/prolog.swi.tmLanguage.json
The json versions of the syntax files are autogenerated from their yaml counterparts. The npm scripts syntax4swi
and syntax4ecl
generate the json files from the yaml.
This had been bugging me for a while. When multiple clauses are written on the same line, e.g.:
The syntax highlight was only recognising the first clause. The second one had to be placed on the next line.
This change allows clauses on the same line to be highlighted correctly.
Notes:
tasks.json
to v2 format.syntaxes/prolog.tmLanguage.json
file is a symlink to a private file in your home directory (prolog.tmLanguage.json -> /Users/laowang/.vscode/extensions/vsc-prolog/syntaxes/prolog.swi.tmLanguage.json
).Before:
After: