Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

TailwindCSS LSP with Rust not working again #84

@highjeans

Description

@highjeans

Describe the bug
Opening a rust file in a directory with a tailwind.config.js file does not start the lsp server, however this used to work previously

To Reproduce
Steps to reproduce the behavior:

  1. Create a rust project that uses TailwindCSS
  2. Create a tailwind config file tailwind.config.{js,cjs,mjs,ts} if not done so
  3. Open a rust file within the project
  4. Run :LspInfo
  5. Notice that tailwindcss is not enabled or configured

Expected behavior
The LSP server should start when the tailwind config file exists

Environment (please complete the following information):

  • MacOS 15.5
  • Neovim v0.11.0
  • Nvim-treesitter 42fc28b
  • tailwind-language-server 0.14.21

Additional context
I have a local fix working that allows filetypes to be added as part of the configuration, however I am not sure if that is wanted by this plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions