Skip to content

How to pass config to language server to ask it to format a file with less spaces #3397

Answered by yyoncho
m3dwards asked this question in Q&A
Discussion options

You must be logged in to vote

Check the value of lsp--formatting-indent-alist for the major mode that you are using (most likely typescript-mode so you should use typescript-indent-level to configure it).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@m3dwards
Comment options

Answer selected by m3dwards
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants