diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/configs.md | 10 | ||||
| -rw-r--r-- | doc/configs.txt | 8 |
2 files changed, 18 insertions, 0 deletions
diff --git a/doc/configs.md b/doc/configs.md index afe6eda0..e67f1ab0 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -11881,6 +11881,16 @@ vim.lsp.enable('tailwindcss') Default config: - `before_init`: [../lsp/tailwindcss.lua:10](../lsp/tailwindcss.lua#L10) +- `capabilities` : + ```lua + { + workspace = { + didChangeWatchedFiles = { + dynamicRegistration = true + } + } + } + ``` - `cmd` : ```lua { "tailwindcss-language-server", "--stdio" } diff --git a/doc/configs.txt b/doc/configs.txt index cbeefa24..9b140270 100644 --- a/doc/configs.txt +++ b/doc/configs.txt @@ -8803,6 +8803,14 @@ Snippet to enable the language server: >lua Default config: - before_init (use "gF" to view): ../lsp/tailwindcss.lua:10 +- capabilities: >lua + { + workspace = { + didChangeWatchedFiles = { + dynamicRegistration = true + } + } + } - cmd: >lua { "tailwindcss-language-server", "--stdio" } - filetypes: >lua |
