Skip to content

Commit

Permalink
feat(lemminx): add the xml lsp - lemminx (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
kesor authored Jan 4, 2024
1 parent ac31157 commit 1b2ca8d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ Below is a list of supported language servers for configuration with `nvim-lspco
- [pyright](#pyright)
- [rust_analyzer](#rust_analyzer)
- [solargraph](#solargraph)
- [lua_ls](lua_ls)
- [lemminx](#lemminx)
- [lua_ls](#lua_ls)
- [svelte](#svelte)
- [tailwindcss](#tailwindcss)
- [terraformls](#terraformls)
Expand Down Expand Up @@ -434,6 +435,17 @@ require'lspconfig'.solargraph.setup {
}
```

### lemminx

https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#lemminx

```lua
require'lspconfig'.lemminx.setup {
cmd = require'lspcontainers'.command('lemminx'),
...
}
```

### lua_ls

https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#lua_ls
Expand Down
1 change: 1 addition & 0 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ local function setup_languages()
"pyright",
"rust_analyzer",
"solargraph",
"lemminx",
"lua_ls",
"svelte",
"tailwindcss",
Expand Down
1 change: 1 addition & 0 deletions lua/lspcontainers/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ local supported_languages = {
pyright = { image = "docker.io/lspcontainers/pyright-langserver" },
rust_analyzer = { image = "docker.io/lspcontainers/rust-analyzer" },
solargraph = { image = "docker.io/lspcontainers/solargraph" },
lemminx = { image = "docker.io/lspcontainers/lemminx" },
lua_ls = { image = "docker.io/lspcontainers/lua-language-server" },
svelte = { image = "docker.io/lspcontainers/svelte-language-server" },
tailwindcss= { image = "docker.io/lspcontainers/tailwindcss-language-server" },
Expand Down

0 comments on commit 1b2ca8d

Please sign in to comment.