Closed themkat closed 3 months ago
One small warning:
lsp-html.el:191:2: Warning: docstring wider than 80 characters
One small warning:
lsp-html.el:191:2: Warning: docstring wider than 80 characters
Fixed it in latest commit 🙂
Thank you!
Updating custom data
I could not get custom data to work on my machine with a simple option/property/setting. From reading the vscode html tools source code, it seems that this extension uses the property internally in the same way we do here (read diffs in this PR). In summary:
When the content of these files have been sent to the server, it seems to work perfectly. I can complete, view hover information and more. I used various projects, like the example project from the vscode team. I added an extra custom data definition with some bogus to make it more interesting:
Completion of attributes also works perfectly. I just have to be sure to activate yas-minor-mode (or similar templating system).
Fixes #4327 (probably)
New configuration options
Added
lsp-html-hover-documentation
andlsp-html-hover-references
, which are both on by default (even if not set from the language server side). I think it makes sense to be able to set these, especially on older machines where I try to get more performance out of turning off features.