Skip to content

Neovim LSP should work with standalone CLI, not requiring npm install #972

Closed
@andradei

Description

@andradei

What version of VS Code are you using?

Neovim 0.10.0

What version of Tailwind CSS IntelliSense are you using?

I think it's not applicable in neovim

What version of Tailwind CSS are you using?

v3.4.3

What package manager are you using?

npm - although this shouldn't be needed

What operating system are you using?

Linux (Arch-based)

Tailwind config

import type { Config } from "tailwindcss";
import forms from "@tailwindcss/forms";
import typography from "@tailwindcss/typography"

const config: Config = {
  content: ["./templates/**/*.html", "./public/**/*.js"],
  theme: {
    extend: {},
  },
  plugins: [forms, typography],
};

export default config;

VS Code settings

Not applicable, using neovim

Reproduction URL

Also not applicable

Describe your issue

I don't know if this should be a bug report or a feature request.

A standalone CLI tool is provided for projects that would use npm and have package.json only because of Tailwind.

(screenshot for reference)
image

But if I'm on neovim and want to use the tailwincss-language-server, looks like the only way to get it working is with npm i -D tailwindcss, which is contradictory to statement on the link above.

It would be great if the LSP server could optionally use the standalone CLI tailwindcss tool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions