web-mode icon indicating copy to clipboard operation
web-mode copied to clipboard

Syntax highlighting extremely barebones

Open tjohnman opened this issue 5 months ago • 1 comments

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).

Screenshot_2024-09-23_14-48-57

tjohnman avatar Sep 23 '24 12:09 tjohnman