diff options
| author | github-actions <github-actions@github.com> | 2021-12-21 23:20:21 +0000 |
|---|---|---|
| committer | github-actions <github-actions@github.com> | 2021-12-21 23:20:21 +0000 |
| commit | f84f592816a6b0c55e2a655b56c480683ad92c63 (patch) | |
| tree | 72320a1f7b8241690f0919d439799b0be3369b3f | |
| parent | chore: fix blanklines in efm.lua (#1592) (diff) | |
| download | nvim-lspconfig-f84f592816a6b0c55e2a655b56c480683ad92c63.tar nvim-lspconfig-f84f592816a6b0c55e2a655b56c480683ad92c63.tar.gz nvim-lspconfig-f84f592816a6b0c55e2a655b56c480683ad92c63.tar.bz2 nvim-lspconfig-f84f592816a6b0c55e2a655b56c480683ad92c63.tar.lz nvim-lspconfig-f84f592816a6b0c55e2a655b56c480683ad92c63.tar.xz nvim-lspconfig-f84f592816a6b0c55e2a655b56c480683ad92c63.tar.zst nvim-lspconfig-f84f592816a6b0c55e2a655b56c480683ad92c63.zip | |
docs: update server_configurations.md
skip-checks: true
| -rw-r--r-- | doc/server_configurations.md | 4 | ||||
| -rw-r--r-- | doc/server_configurations.txt | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index 0d832cff..f8a92a0a 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -997,7 +997,7 @@ General purpose Language Server that can use specified error message format gene Requires at minimum EFM version [v0.0.38](https://github.com/mattn/efm-langserver/releases/tag/v0.0.38) to support launching the language server on single files. If on an older version of EFM, disable single file support: - + ```lua require('lspconfig')['efm'].setup{ settings = ..., -- You must populate this according to the EFM readme @@ -1005,7 +1005,7 @@ require('lspconfig')['efm'].setup{ single_file_support = false, -- This is the important line for supporting older version of EFM } ``` - + Note: In order for neovim's built-in language server client to send the appropriate `languageId` to EFM, **you must specify `filetypes` in your call to `setup{}`**. Otherwise `lspconfig` will launch EFM on the `BufEnter` instead of the `FileType` autocommand, and the `filetype` variable used to populate the `languageId` will not yet be set. diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index 0d832cff..f8a92a0a 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -997,7 +997,7 @@ General purpose Language Server that can use specified error message format gene Requires at minimum EFM version [v0.0.38](https://github.com/mattn/efm-langserver/releases/tag/v0.0.38) to support launching the language server on single files. If on an older version of EFM, disable single file support: - + ```lua require('lspconfig')['efm'].setup{ settings = ..., -- You must populate this according to the EFM readme @@ -1005,7 +1005,7 @@ require('lspconfig')['efm'].setup{ single_file_support = false, -- This is the important line for supporting older version of EFM } ``` - + Note: In order for neovim's built-in language server client to send the appropriate `languageId` to EFM, **you must specify `filetypes` in your call to `setup{}`**. Otherwise `lspconfig` will launch EFM on the `BufEnter` instead of the `FileType` autocommand, and the `filetype` variable used to populate the `languageId` will not yet be set. |
