Disabling hard wraps for HTML files? #9846
-
I'm currently using Does anyone know how to disable this option? I've tried the following (quite naively) as I have no idea how to take this on.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You could use Prettier to format instead, if you don't like the defaults you can probably change them:
You can probably change the |
Beta Was this translation helpful? Give feedback.
-
Thanks, man. This did the trick:
|
Beta Was this translation helpful? Give feedback.
You could use Prettier to format instead, if you don't like the defaults you can probably change them:
You can probably change the
vscode-html-language-server
using config, I had a quick look to try and find the commands but they are not properly documented. Most people are using them inside VS Code so it is a bit niche to call them manually in a Helix config. A good place to look for config info is in the Neovim setups, for example: https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#html . This says you could turn off the built in formatting withprovideFormatter =…