diff options
| author | Daniel Pfister <80419299+0x2a-42@users.noreply.github.com> | 2021-11-15 10:06:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-15 01:06:58 -0800 |
| commit | 281ee7d178249cfb62e87ef2118a009de994613f (patch) | |
| tree | da707cabb3cd2f5b2c8e2d5d8cdcf66187258d85 /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-281ee7d178249cfb62e87ef2118a009de994613f.tar nvim-lspconfig-281ee7d178249cfb62e87ef2118a009de994613f.tar.gz nvim-lspconfig-281ee7d178249cfb62e87ef2118a009de994613f.tar.bz2 nvim-lspconfig-281ee7d178249cfb62e87ef2118a009de994613f.tar.lz nvim-lspconfig-281ee7d178249cfb62e87ef2118a009de994613f.tar.xz nvim-lspconfig-281ee7d178249cfb62e87ef2118a009de994613f.tar.zst nvim-lspconfig-281ee7d178249cfb62e87ef2118a009de994613f.zip | |
feat: add support for lelwel language server (#1205)
Co-authored-by: Michael Lingelbach <m.j.lbach@gmail.com>
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/lelwel_ls.lua | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lua/lspconfig/lelwel_ls.lua b/lua/lspconfig/lelwel_ls.lua new file mode 100644 index 00000000..fe8db069 --- /dev/null +++ b/lua/lspconfig/lelwel_ls.lua @@ -0,0 +1,22 @@ +local configs = require 'lspconfig/configs' +local util = require 'lspconfig/util' + +configs.lelwel_ls = { + default_config = { + cmd = { 'lelwel-ls' }, + filetypes = { 'llw' }, + root_dir = util.find_git_ancestor, + }, + docs = { + description = [[ +https://github.com/0x2a-42/lelwel + +Language server for lelwel grammars. + +You can install `lelwel-ls` via cargo: +```sh +cargo install --features="lsp" lelwel +``` +]], + }, +} |
