# LSP-svelte This is a helper package that automatically installs and updates the [Svelte Language Server](https://github.com/sveltejs/language-tools) for you. ## Installation 1. Install [LSP](https://packagecontrol.io/packages/LSP), [Svelte](https://packagecontrol.io/packages/Svelte) and `LSP-svelte` from Package Control. 2. (Optional but recommended) Install the [LSP-file-watcher-rust](https://packagecontrol.io/packages/LSP-file-watcher-rust) via Package Control to enable functionality to notify the server about new files. 3. Restart Sublime. ## Configuration Open configuration file using command palette with `Preferences: LSP-svelte Settings` command or opening it from the Sublime menu (`Preferences > Package Settings > LSP > Servers > LSP-svelte`). ## Svelte support in JS/TS files The [typescript-svelte-plugin](https://www.npmjs.com/package/typescript-svelte-plugin) provides additional Svelte-related functionality in JS/TS files. To enable it, install it in your project and configure following its documentation.