mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-24 23:47:05 +00:00
7a90b1124f
Add config for tag autoclosing: add following to lsp section of your settings: "vscode-html-language-server": { "settings": { "html": { "tagAutoclosing": true } } } It also accepts `css`, `js/ts` and `javascript` as options. Disable HTML language server in JS/TS/TSX files for now. I decided to disable it for now as it caused excessive edits in these types of files (as reported by @mariansimecek in https://github.com/zed-industries/zed/pull/11761#issuecomment-2122038107); it looks like HTML language server tries to track language ranges (e.g. whether a particular span is TS/HTML fragment etc) just like we do. However in plain JS/TSX files it seems like it treats the whole file as one big chunk of HTML, which is.. not right, to say the least. No release note, as HTML extension goodies are not on Preview yet. Release Notes: - N/A |
||
---|---|---|
.. | ||
languages/html | ||
src | ||
Cargo.toml | ||
extension.toml | ||
LICENSE-APACHE |