Skip to content

Neovim completion is not working after version 0.14.11 #1323

Open
@willian

Description

@willian

What version of Tailwind CSS IntelliSense are you using?

v0.14.15

What version of Tailwind CSS are you using?

v4.1.4

What package manager are you using?

npm

What operating system are you using?

macOS

Tailwind config

@import 'tailwindcss';

My Neovim config
https://github.com/willian/dotfiles/tree/main/config/nvim

Reproduction URL
https://github.com/willian/my-app/blob/main/app/frontend/pages/InertiaExample.tsx#L20

Describe your issue

I created a Rails application from scratch:

rails new my-app -J

Then I installed Inertia.js like this:

bundle add inertia_rails
bin/rails generate inertia:install

Installing Inertia's Rails adapter
Could not find a package.json file to install Inertia to.
Would you like to install Vite Ruby? (y/n) y
         run  bundle add vite_rails from "."
Vite Rails gem successfully installed
         run  bundle exec vite install from "."
Vite Rails successfully installed
Would you like to use TypeScript? (y/n) y
Adding TypeScript support
What framework do you want to use with Inertia? [react, vue, svelte4, svelte] (react) react
         run  npm add @types/react @types/react-dom typescript --silent from "."
Copying adding scripts to package.json
         run  npm pkg set scripts.check="tsc -p tsconfig.app.json && tsc -p tsconfig.node.json" from "."
Would you like to install Tailwind CSS? (y/n) y
Installing Tailwind CSS
         run  npm add tailwindcss @tailwindcss/vite @tailwindcss/forms @tailwindcss/typography --silent from "."

[TL;DR]
I said Yes for all the questions, and I choose React with TypeScript and TailwindCSS

The autocompletion works when LSP version is 0.14.11:
Image

But it does not work if it is 0.14.12 or above:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions