tailwind-ctp-intellisense/packages/tailwindcss-language-server
A.I d32e11fa60
fix: guard against optional client capabilities (#602)
for client like lsp-mode for emacs which doesn't have colorProvider,
server is failing to start, and according to the specification, the
capabilities here is all optional, so we should guard the nil situation.
2022-09-12 10:13:02 +01:00
..
scripts Remove `terser` dependency, update lockfiles 2022-07-22 18:11:58 +01:00
src fix: guard against optional client capabilities (#602) 2022-09-12 10:13:02 +01:00
.gitignore add lerna and separate language server package 2021-06-01 12:37:15 +01:00
LICENSE add license and third-party notices for language server package 2021-07-12 17:24:19 +01:00
README.md update language server package 2021-08-13 12:46:40 +01:00
ThirdPartyNotices.txt Update notices 2022-04-13 14:59:23 +01:00
package-lock.json Remove `terser` dependency, update lockfiles 2022-07-22 18:11:58 +01:00
package.json Use patched version of `enhanced-resolve` (#600) 2022-09-07 16:49:29 +01:00
tsconfig.json update tsconfig 2021-10-08 18:24:11 +01:00

README.md

Tailwind CSS Language Server

Language Server Protocol implementation for Tailwind CSS, used by Tailwind CSS IntelliSense for VS Code.

Install

npm install -g @tailwindcss/language-server

Run

tailwindcss-language-server --stdio
Usage: tailwindcss-language-server [options]

Options:

  --stdio          use stdio
  --node-ipc       use node-ipc
  --socket=<port>  use socket