web-mode
web-mode copied to clipboard
Syntax highlighting extremely barebones
I'm experiencing extremely lacking syntax highlighting in JS and PHP (HTML and CSS are not as noticeable). As you can see in the attached image, which is a plain .js file, there are a lot of elements using the default face. Of all of them, only strings and variable names (only when being declared) show using a different face (web-mode-javascript-string-face
and web-mode-variable-name-face
). All the rest is default-face
. Including numbers, accessed properties, operators, parentheses, and brackets.
This is using no customization or special loading (simply require the package and add-to-list 'auto-mode-alist
it). It happens with about five different themes I tested (both default ones and third-party).