-
Notifications
You must be signed in to change notification settings - Fork 58
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Problem
SCSS `$variable: value;` declarations are not extracted as variable nodes. The language spec likely maps the wrong tree-sitter node type.
Root Cause
SCSS variables use `$name: value` syntax which produces a specific tree-sitter node type that doesn't match what's configured in the language spec.
Fix
- Run AST dump on a SCSS file to find the correct node type for `$variable` declarations
- Update `VariableNodeTypes` in `internal/lang/scss.go`
- Verify with Bootstrap: https://github.com/twbs/bootstrap
Impact
Fixes variable extraction for SCSS projects. Small, self-contained fix.
References
- Benchmark report: `BENCHMARK_REPORT.md` (SCSS section)
- Language spec: `internal/lang/scss.go`
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers