Skip to content

Commit

Permalink
docs: fix tailwindcss setup option to use settings instead int_options (
Browse files Browse the repository at this point in the history
  • Loading branch information
viirak authored Jul 4, 2024
1 parent d3033c5 commit 1cce0d2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/docs/09-commands-and-tools/02-ide-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,13 @@ lspconfig.tailwindcss.setup({
on_attach = on_attach,
capabilities = capabilities,
filetypes = { "templ", "astro", "javascript", "typescript", "react" },
init_options = { userLanguages = { templ = "html" } },
settings = {
tailwindCSS = {
includeLanguages = {
templ = "html",
},
},
},
})
```

Expand Down

0 comments on commit 1cce0d2

Please sign in to comment.