diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-12-21 15:20:04 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-21 15:20:04 -0800 |
| commit | 7295a2a7fd675017903ed2a7600aa3a442b1a40c (patch) | |
| tree | 40baafdd667654037b7b8d487a7c1e2ad72939f8 /lua | |
| parent | fix: only stop/restart managed clients on :LspStop/:LspRestart (#1591) (diff) | |
| download | nvim-lspconfig-7295a2a7fd675017903ed2a7600aa3a442b1a40c.tar nvim-lspconfig-7295a2a7fd675017903ed2a7600aa3a442b1a40c.tar.gz nvim-lspconfig-7295a2a7fd675017903ed2a7600aa3a442b1a40c.tar.bz2 nvim-lspconfig-7295a2a7fd675017903ed2a7600aa3a442b1a40c.tar.lz nvim-lspconfig-7295a2a7fd675017903ed2a7600aa3a442b1a40c.tar.xz nvim-lspconfig-7295a2a7fd675017903ed2a7600aa3a442b1a40c.tar.zst nvim-lspconfig-7295a2a7fd675017903ed2a7600aa3a442b1a40c.zip | |
chore: fix blanklines in efm.lua (#1592)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/efm.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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. |
