Comments (2)
TailwindCSS uses custom handlers to set those values, I've added support for this now b655450.
You can now define those options as usual via the settings
key of the lsp config.
require"lspconfig".tailwindcss.setup {
settings = {
tailwindCSS = {
experimental = {
classRegex = {
"tw`([^`]*)", -- tw`...`
"tw=\"([^\"]*)", -- <div tw="..." />
"tw={\"([^\"}]*)", -- <div tw={"..."} />
"tw\\.\\w+`([^`]*)", -- tw.xxx`...`
"tw\\(.*?\\)`([^`]*)"
}
}
}
}
}
or equivalently you can set the settings
key before
config = ...
config.settings = ...
require"lspconfig".tailwindcss.setup(config)
If you need more information on how to set the settings
key in your config have a look at:
https://github.com/kabouzeid/nvim-lspinstall/wiki
https://github.com/neovim/nvim-lspconfig
from nvim-lspinstall.
Thank you @kabouzeid !
from nvim-lspinstall.
Related Issues (20)
- No html/CSS diagnostics HOT 1
- code_action does not work for Java without nvim-jdtls HOT 3
- haskell does not work (`cmd_cwd` changes and hls can't find hie.yaml)
- JSON language server will not run under Node 12.x because... HOT 1
- Add prisma lsp HOT 2
- Support for yarn HOT 1
- Supporting yarn HOT 12
- install lua failed on arch linux HOT 1
- Can't install Python LSP using LspInstall, in WSL2 HOT 2
- LspInstall - cannot find npm command HOT 2
- Custom install path HOT 2
- Error message when saving C header files. HOT 3
- Add LspInstall for lemminx (XML,XSD,SVG) HOT 3
- Install a list of language servers at startup HOT 3
- Options for java
- "cmd not defined" after installing Java HOT 1
- nvim-lspinstall config for html makes svelte files show duplicate entries for completion
- Angularls doesn't works at all
- MacOS - CSS - Client quit with exit code 1 and signal 0
- Does ESLint Language Server will be added to LSPInstall?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvim-lspinstall.