From 7295a2a7fd675017903ed2a7600aa3a442b1a40c Mon Sep 17 00:00:00 2001 From: Michael Lingelbach Date: Tue, 21 Dec 2021 15:20:04 -0800 Subject: chore: fix blanklines in efm.lua (#1592) --- lua/lspconfig/server_configurations/efm.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua') diff --git a/lua/lspconfig/server_configurations/efm.lua b/lua/lspconfig/server_configurations/efm.lua index ad4372ca..f5f74edc 100644 --- a/lua/lspconfig/server_configurations/efm.lua +++ b/lua/lspconfig/server_configurations/efm.lua @@ -15,7 +15,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 @@ -23,7 +23,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