volarjs / volar.js

💙🌊
https://volarjs.dev/
MIT License
963 stars 47 forks source link

refactor(language-service): move project context from `Language` to language service option #217

Closed johnsoncodehk closed 2 months ago

johnsoncodehk commented 2 months ago

Motivation

Language.typescript is used to pass TS project context to volar-service-typescript. Since Language.typescript is specific to LSP context, it should be pass through language service instead of Language interface.