-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use one server to handle all folders in a workspace (#957)
* Fix strict mode typescript errors * Refactor * Load user languages when booting It makes more sense for our server to ask for them like we do all other config options rather than expecting them to be passed in during initialization * Only start one server for all workspace folders * Check all workspace folders when booting the server This is a bit of a behavioral change but if _any_ folder in your current workspace might need the language server when we’ll boot it. We do still wait for an open document currently. * Remove note * Remove unused expect error directive It’ll need to come back once I upgrade TypeScript * Fix folder count check * Run prettier
- Loading branch information
1 parent
273f6c0
commit 9d7006d
Showing
7 changed files
with
407 additions
and
393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
packages/tailwindcss-language-server/tests/fixtures/v4/workspaces/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.