Skip to content

Commit 9cce97c

Browse files
committed
Fix doc section indent variables
1 parent d4c7f59 commit 9cce97c

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

docs/page/main-features.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Main features
1+
# Main features
22

33
## Completion at point
44

@@ -82,11 +82,7 @@ In case LSP server supports `hover` feature:
8282

8383
![](../examples/formatting.gif)
8484

85-
In general the formatter settings are language server specific(e. g. `JDT LS` uses eclipse formatter file and `lsp-java-format-settings-url` to configure it while clangd uses `clangd-format` and `lsp-dart` uses the built-in `dartfmt` from `Dart SDK`). The only settings that are controlled on `lsp-mode` level are indent size and whether the server should use tabs or spaces.
86-
87-
- Use `c-basic-offset` for `cc-mode` derived moves(e. g. java, C++) to control the tab size.
88-
- Use `tab-width` for any other mode to do the same.
89-
- Use `indent-tabs-mode` for selecting tab/spaces.
85+
In general the formatter settings are language server specific(e. g. `JDT LS` uses eclipse formatter file and `lsp-java-format-settings-url` to configure it while clangd uses `clangd-format` and `lsp-dart` uses the built-in `dartfmt` from `Dart SDK`). The only settings that are controlled on `lsp-mode` level are indent size and whether the server should use tabs or spaces. Refer to `lsp--formatting-indent-alist` to find out what is the variable that is used for the current major mode.
9086

9187
## Debugger
9288

@@ -96,6 +92,6 @@ In general the formatter settings are language server specific(e. g. `JDT LS` us
9692

9793
## Integrations
9894

99-
`lsp-mode` supports many integrations for improve the user experience like [treemacs](https://github.com/emacs-lsp/lsp-treemacs), [Helm](https://github.com/emacs-lsp/helm-lsp), [Ivy](https://github.com/emacs-lsp/lsp-ivy) and others.
95+
`lsp-mode` supports many integrations for improve the user experience like [treemacs](https://github.com/emacs-lsp/lsp-treemacs), [Helm](https://github.com/emacs-lsp/helm-lsp), [Ivy](https://github.com/emacs-lsp/lsp-ivy) and others.
10096

10197
For all available integrations, check the `Extensions` section on the left navigation.

0 commit comments

Comments
 (0)