How to make lsp-mode
with typescript-language-server
prefer spaces over tabs?
#4716
benbellick
started this conversation in
General
Replies: 1 comment
-
You can set the (setq-default indent-tabs-mode nil) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The formatting section of the docs mentions that:
When you introspect into
lsp--formatting-indent-alist
, you only see the item(typescript-mode . typescript-indent-level)
relevant to typescript mode. Settingtypescript-indent-level
to any particular value is respected, but when I got to presss-l = =
the fomatter turns all of the spaces into tabs.I would like to configure the opposite, that all of the tabs are rendered as spaces. Any idea how to do this? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions