Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(toml): add support for taplo toml language server #107

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ Below is a list of supported language servers for configuration with `nvim-lspco
- [lua_ls](#lua_ls)
- [svelte](#svelte)
- [tailwindcss](#tailwindcss)
- [taplo](#taplo)
- [terraformls](#terraformls)
- [tsserver](#tsserver)
- [vuels](#vuels)
Expand Down Expand Up @@ -488,6 +489,20 @@ require'lspconfig'.tailwindcss.setup {
}
```

### taplo

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

```lua
require'lspconfig'.taplo.setup {
before_init = function(params)
params.processId = vim.NIL
end,
cmd = require'lspcontainers'.command('taplo'),
...
}
```

### terraformls

https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#terraformls
Expand Down
1 change: 1 addition & 0 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ local function setup_languages()
"lua_ls",
"svelte",
"tailwindcss",
"taplo",
"terraformls",
"tsserver",
"vuels",
Expand Down
1 change: 1 addition & 0 deletions lua/lspcontainers/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ local supported_languages = {
lemminx = { image = "docker.io/lspcontainers/lemminx" },
lua_ls = { image = "docker.io/lspcontainers/lua-language-server" },
svelte = { image = "docker.io/lspcontainers/svelte-language-server" },
taplo = { image = "docker.io/lspcontainers/taplo-language-server" },
tailwindcss= { image = "docker.io/lspcontainers/tailwindcss-language-server" },
terraformls = { image = "docker.io/lspcontainers/terraform-ls" },
tsserver = { image = "docker.io/lspcontainers/typescript-language-server" },
Expand Down
Loading