diff options
| author | Hirokazu Hata <h.hata.ai.t@gmail.com> | 2020-03-08 00:51:39 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-08 00:51:39 +0900 |
| commit | 87d565bfa2280378b8294ec1c6704d079c70bdf8 (patch) | |
| tree | 89bfc9b2089f8dd374ee0e52d3e919061c1e44a2 /lua | |
| parent | [docgen] Update README.md (diff) | |
| parent | [docgen] Update README.md (diff) | |
| download | nvim-lspconfig-87d565bfa2280378b8294ec1c6704d079c70bdf8.tar nvim-lspconfig-87d565bfa2280378b8294ec1c6704d079c70bdf8.tar.gz nvim-lspconfig-87d565bfa2280378b8294ec1c6704d079c70bdf8.tar.bz2 nvim-lspconfig-87d565bfa2280378b8294ec1c6704d079c70bdf8.tar.lz nvim-lspconfig-87d565bfa2280378b8294ec1c6704d079c70bdf8.tar.xz nvim-lspconfig-87d565bfa2280378b8294ec1c6704d079c70bdf8.tar.zst nvim-lspconfig-87d565bfa2280378b8294ec1c6704d079c70bdf8.zip | |
Merge pull request #163 from jssee/efm
add efm-langserver support
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim_lsp/efm.lua | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lua/nvim_lsp/efm.lua b/lua/nvim_lsp/efm.lua new file mode 100644 index 00000000..621d2be1 --- /dev/null +++ b/lua/nvim_lsp/efm.lua @@ -0,0 +1,25 @@ +local configs = require 'nvim_lsp/configs' +local util = require 'nvim_lsp/util' + +local server_name = "efm" +local bin_name = "efm-langserver" + + +configs[server_name] = { + default_config = { + cmd = {bin_name}; + root_dir = util.root_pattern(".git"); + }; + + docs = { + description = [[ +https://github.com/mattn/efm-langserver + +General purpose Language Server that can use specified error message format generated from specified command. +]]; + default_config = { + root_dir = [[root_pattern(".git")]]; + }; + }; +} +-- vim:et ts=2 sw=2 |
