From f84f592816a6b0c55e2a655b56c480683ad92c63 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 21 Dec 2021 23:20:21 +0000 Subject: docs: update server_configurations.md skip-checks: true --- doc/server_configurations.md | 4 ++-- 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. -- cgit v1.2.3-70-g09d2