Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions LSP-astro.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@
// NOTE: Change this instead of directly updating `command` - the `${server_path}` variable is dynamically resolved based on this setting.
// WARNING: Override at your own risk - using a custom binary can cause compatibility issues with server settings.
"server_path": "auto",

"command": ["${node_bin}", "${server_path}", "--stdio"]
}
15 changes: 7 additions & 8 deletions language-server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion language-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"version": "1.0.0",
"dependencies": {
"@astrojs/language-server": "2.16.12",
"@astrojs/language-server": "2.16.13",
"prettier": "3.8.3",
"prettier-plugin-astro": "0.14.1",
"typescript": "5.9.3"
Expand Down
5 changes: 5 additions & 0 deletions templates/sublime-package.jinja.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
"definitions": {
"PluginConfig": {
"properties": {
"server_path": {
"type": "string",
"default": "auto",
"markdownDescription": "The path to the server binary to use for starting the language server. Use `auto` for the package to manage (install/update) server automatically.\n\n> [!NOTE]\n> Change this instead of directly updating `command` - the `${server_path}` variable is dynamically resolved based on this setting.\n\n> [!WARNING]\n> Using custom binary could result in package settings not matching what server supports."
},
"initialization_options": {
"additionalProperties": false,
"properties": {
Expand Down
6 changes: 6 additions & 0 deletions templates/sublime-settings.jinja.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,11 @@
// type of buffers to attach to
"schemes": ["file", "buffer"],

// The path to the server binary used to start the language server.
// Use `auto` for the package to manage (install/update) the server automatically.
// NOTE: Change this instead of directly updating `command` - the `${server_path}` variable is dynamically resolved based on this setting.
// WARNING: Override at your own risk - using a custom binary can cause compatibility issues with server settings.
"server_path": "auto",

"command": ["${node_bin}", "${server_path}", "--stdio"]
}
Loading