File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ Nvim by running `:help lspconfig-all`.
8282- [ dts_lsp] ( #dts_lsp )
8383- [ earthlyls] ( #earthlyls )
8484- [ ecsact] ( #ecsact )
85+ - [ efm] ( #efm )
8586- [ elixirls] ( #elixirls )
8687- [ elmls] ( #elmls )
8788- [ elp] ( #elp )
@@ -3215,6 +3216,43 @@ Default config:
32153216
32163217---
32173218
3219+ ## efm
3220+
3221+ https://github.com/mattn/efm-langserver
3222+
3223+ General purpose Language Server that can use specified error message format generated from specified command.
3224+
3225+ Requires at minimum EFM version [ v0.0.38] ( https://github.com/mattn/efm-langserver/releases/tag/v0.0.38 ) to support
3226+ launching the language server on single files.
3227+
3228+ Note: In order for neovim's built-in language server client to send the appropriate ` languageId ` to EFM, ** you must
3229+ specify ` filetypes ` in your call to ` vim.lsp.config ` ** . Otherwise the server will be launch on the ` BufEnter ` instead
3230+ of the ` FileType ` autocommand, and the ` filetype ` variable used to populate the ` languageId ` will not yet be set.
3231+
3232+ ``` lua
3233+ vim .lsp .config (' efm' , {
3234+ filetypes = { ' python' ,' cpp' ,' lua' }
3235+ settings = ... , -- You must populate this according to the EFM readme
3236+ })
3237+ ```
3238+
3239+ Snippet to enable the language server:
3240+ ``` lua
3241+ vim .lsp .enable (' efm' )
3242+ ```
3243+
3244+ Default config:
3245+ - ` cmd ` :
3246+ ``` lua
3247+ { " efm-langserver" }
3248+ ```
3249+ - ` root_markers ` :
3250+ ``` lua
3251+ { " .git" }
3252+ ```
3253+
3254+ ---
3255+
32183256## elixirls
32193257
32203258https://github.com/elixir-lsp/elixir-ls
Original file line number Diff line number Diff line change @@ -2284,6 +2284,38 @@ Default config:
22842284 { ".git" }
22852285<
22862286
2287+ ------------------------------------------------------------------------------
2288+ efm
2289+
2290+ https://github.com/mattn/efm-langserver
2291+
2292+ General purpose Language Server that can use specified error message format generated from specified command.
2293+
2294+ Requires at minimum EFM version [v0.0.38](https://github.com/mattn/efm-langserver/releases/tag/v0.0.38 ) to support
2295+ launching the language server on single files.
2296+
2297+ Note: In order for neovim's built-in language server client to send the appropriate `languageId` to EFM, **you must
2298+ specify `filetypes` in your call to `vim .lsp .config` **. Otherwise the server will be launch on the `BufEnter ` instead
2299+ of the `FileType ` autocommand, and the `filetype ` variable used to populate the `languageId` will not yet be set.
2300+
2301+ ```lua
2302+ vim.lsp.config('efm' , {
2303+ filetypes = { 'python' ,'cpp' ,'lua' }
2304+ settings = ..., -- You must populate this according to the EFM readme
2305+ })
2306+ ```
2307+
2308+ Snippet to enable the language server: >lua
2309+ vim.lsp.enable('efm' )
2310+
2311+
2312+ Default config:
2313+ - cmd: >lua
2314+ { "efm-langserver" }
2315+ - root_markers: >lua
2316+ { ".git" }
2317+ <
2318+
22872319------------------------------------------------------------------------------
22882320elixirls
22892321
You can’t perform that action at this time.
0 commit comments