diff options
| author | David <david@hmnd.io> | 2025-11-20 14:57:45 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-20 14:57:45 -0800 |
| commit | 82af15ba583c8e1ba1e5f718ec3e287b89265a0c (patch) | |
| tree | 0387f2b2169d9dcb6ec056ea0e1aaf628aa750b8 | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-82af15ba583c8e1ba1e5f718ec3e287b89265a0c.tar nvim-lspconfig-82af15ba583c8e1ba1e5f718ec3e287b89265a0c.tar.gz nvim-lspconfig-82af15ba583c8e1ba1e5f718ec3e287b89265a0c.tar.bz2 nvim-lspconfig-82af15ba583c8e1ba1e5f718ec3e287b89265a0c.tar.lz nvim-lspconfig-82af15ba583c8e1ba1e5f718ec3e287b89265a0c.tar.xz nvim-lspconfig-82af15ba583c8e1ba1e5f718ec3e287b89265a0c.tar.zst nvim-lspconfig-82af15ba583c8e1ba1e5f718ec3e287b89265a0c.zip | |
fix(tailwindcss): dynamic registration for `didWatchChangedFiles` #4206
Not having this was leading to the lsp falling back to watching *all* files,
and causes nasty side effects such as https://github.com/DopplerHQ/cli/issues/502
| -rw-r--r-- | lsp/tailwindcss.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lsp/tailwindcss.lua b/lsp/tailwindcss.lua index 1608d525..b34d86e2 100644 --- a/lsp/tailwindcss.lua +++ b/lsp/tailwindcss.lua @@ -66,6 +66,13 @@ return { 'svelte', 'templ', }, + capabilities = { + workspace = { + didChangeWatchedFiles = { + dynamicRegistration = true, + }, + }, + }, settings = { tailwindCSS = { validate = true, |
