🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@yummacss/language-server

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yummacss/language-server - npm Package Compare versions

Comparing version
3.28.2
to
3.28.3
+3
-3
package.json
{
"name": "@yummacss/language-server",
"version": "3.28.2",
"version": "3.28.3",
"description": "Language server for Yumma CSS - completion, hover, diagnostics, color decorators, and sorting for any LSP-compatible editor",

@@ -40,4 +40,4 @@ "keywords": [

"vscode-languageserver-textdocument": "^1.0.12",
"@yummacss/intellisense": "3.28.2",
"@yummacss/nitro": "3.28.2"
"@yummacss/intellisense": "3.28.3",
"@yummacss/nitro": "3.28.3"
},

@@ -44,0 +44,0 @@ "publishConfig": {

# @yummacss/language-server
Language server for [Yumma CSS](https://yummacss.com). Brings completion, hover, unknown-class diagnostics, conflict detection, color decorators, and class sorting to any editor that speaks the Language Server Protocol - Zed, Neovim, Helix, Sublime Text, and more.
Language Server Protocol implementation for [Yumma CSS](https://yummacss.com).
This is the same engine behind the [VS Code extension](https://marketplace.visualstudio.com/items?itemName=yumma-css.yummacss-intellisense), exposed over LSP instead of the VS Code API. Both consume `@yummacss/intellisense`, so features never drift between editors.
Brings completion, hover, diagnostics, color decorators, and class sorting to any LSP-compatible editor.
## Usage
Most users will get this through an editor extension (e.g. the Zed extension) rather than running it directly. To run it manually:
```bash

@@ -15,13 +13,2 @@ npx @yummacss/language-server --stdio

The server communicates over stdio and expects the client to send a standard LSP `initialize` request. It looks for `yumma.config.mjs` in the first workspace folder and reloads it automatically on change.
## Capabilities
- `textDocument/completion` - class name completion inside `class`/`className` attributes.
- `textDocument/hover` - the generated CSS declaration for the class under the cursor.
- `textDocument/publishDiagnostics` - warns on conflicting utilities (e.g. two classes setting the same property) and classes that are not part of the Yumma CSS canon, with "Did you mean" suggestions.
- `textDocument/codeAction` - quick fixes for both diagnostic kinds.
- `textDocument/documentColor` - color swatches for color utilities.
- `textDocument/formatting` - sorts classes in a document (bind to your editor's "Format Document" action).
## Programmatic API

@@ -36,1 +23,5 @@

```
## Documentation
Learn more at [yummacss.com](https://yummacss.com)