Skip to content

Commit 9ce271b

Browse files
authored
clarify priority in FAQ (#4289)
1 parent 57cd9bf commit 9ce271b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/page/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Add `lsp` server call to `hack-local-variables-hook` which runs right after the
1919
---
2020
### :grey_question: I have multiple language servers registered for language FOO. Which one will be used when opening a project?
2121

22-
The one with highest priority wins. Servers defined in `lsp-mode` tend to have lower priority than the external packages (priority 0 if unspecified). If a server is registered with `:add-on?` flag set to `t` it will be started in parallel to the other servers that are registered for the current mode. If the server that you want to use is not with the highest priority you may use `lsp-disabled-clients` to disable the server with higher `priority` or use `lsp-enabled-clients` to enable only the servers you want to use. In order to find the server ids you may check `*lsp-log*` buffer.
22+
The highest number is highest priority. Note this is the opposite of [Unix priority (niceness)](https://en.wikipedia.org/wiki/Nice_(Unix)). Servers defined in `lsp-mode` tend to have lower priority than the external packages (priority 0 if unspecified). If a server is registered with `:add-on?` flag set to `t` it will be started in parallel to the other servers that are registered for the current mode. If the server that you want to use is not with the highest priority you may use `lsp-disabled-clients` to disable the server with higher `priority` or use `lsp-enabled-clients` to enable only the servers you want to use. In order to find the server ids you may check `*lsp-log*` buffer.
2323

2424
---
2525
### :grey_question: I have multiple language servers for language `FOO` and I want to select the server per project, what can I do?

0 commit comments

Comments
 (0)