aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig.lua
diff options
context:
space:
mode:
authorMaksim Terpilovskii <maximtrp@gmail.com>2025-03-20 15:20:36 +0400
committerGitHub <noreply@github.com>2025-03-20 04:20:36 -0700
commit699cf2ce74e40e7c5068cf93a6bd6a74b24c5ec3 (patch)
tree7b43dd3dc1cd4194e48d40b10f8aa08505c2cedf /lua/lspconfig.lua
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-699cf2ce74e40e7c5068cf93a6bd6a74b24c5ec3.tar
nvim-lspconfig-699cf2ce74e40e7c5068cf93a6bd6a74b24c5ec3.tar.gz
nvim-lspconfig-699cf2ce74e40e7c5068cf93a6bd6a74b24c5ec3.tar.bz2
nvim-lspconfig-699cf2ce74e40e7c5068cf93a6bd6a74b24c5ec3.tar.lz
nvim-lspconfig-699cf2ce74e40e7c5068cf93a6bd6a74b24c5ec3.tar.xz
nvim-lspconfig-699cf2ce74e40e7c5068cf93a6bd6a74b24c5ec3.tar.zst
nvim-lspconfig-699cf2ce74e40e7c5068cf93a6bd6a74b24c5ec3.zip
fix(tailwindcss): improved tailwindcss detection (#3648)
Problem: The Tailwind CSS language server is enabled for any workspace containing a `.git` folder, a `node_modules` folder, or a `package.json` file, which is not ideal. Solution: Introduce a specific check for the `tailwindcss` package within `package.json` file using `insert_package_json` method from `util` (this approach is used in `eslint` config). Since the latest version of Tailwind CSS (v4) no longer requires `postcss.config.*` and `tailwind.config.*` files, these can no longer be relied upon as sole criteria for enabling Tailwind CSS LSP.
Diffstat (limited to 'lua/lspconfig.lua')
0 files changed, 0 insertions, 0 deletions