Open marktyers opened 7 years ago
That is very strange. Can you pastebin your ~/.slap/slap.log
? Sometimes it takes a little time to highlight on slower machines, maybe wait a bit longer?
I'm running slap on Ubuntu 16.04 on a Thinkpad T450S with 12 GB RAM and i5 processor. Left the file open for 30 min
@marktyers,
Can you try adding
util.logger.info(data);
after line#415 to $path_to_slap/node_modules/editor-widget/lib/Editor.js
? You can find your $path_to_slap:
$ dirname $(readlink -f $(which slap))
Rerun with slap --logger.level silly <args>
and pastebin the result, maybe this will show something else. (This might be easier in #slap on Freenode.)
I have installed the latest version of slap to edit NodeJS files (.js) but there is absolutely no syntax highlighting. Documentation is sparse but I assumed that the editor would load the correct syntax based on the file extension. This does not happen so how can I force it to load the correct syntax files?