{"id":13485131,"url":"https://github.com/coc-extensions/coc-svelte","last_synced_at":"2025-04-06T11:09:33.692Z","repository":{"id":38272533,"uuid":"209313474","full_name":"coc-extensions/coc-svelte","owner":"coc-extensions","description":"svelte support for (Neo)Vim","archived":false,"fork":false,"pushed_at":"2023-10-08T10:15:45.000Z","size":207,"stargazers_count":175,"open_issues_count":23,"forks_count":24,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-05-28T13:20:29.037Z","etag":null,"topics":["autocomplete","lsp","neovim","svelte","vim"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coc-extensions.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-09-18T13:19:06.000Z","updated_at":"2024-04-23T19:27:04.000Z","dependencies_parsed_at":"2024-01-06T01:05:04.118Z","dependency_job_id":"8a34ad14-a9ef-4d3e-ad7b-577ce08620ce","html_url":"https://github.com/coc-extensions/coc-svelte","commit_stats":{"total_commits":35,"total_committers":9,"mean_commits":3.888888888888889,"dds":0.6,"last_synced_commit":"7dda98527c0831e287ae8cd1c85cfc958c949d4a"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coc-extensions%2Fcoc-svelte","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coc-extensions%2Fcoc-svelte/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coc-extensions%2Fcoc-svelte/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coc-extensions%2Fcoc-svelte/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coc-extensions","download_url":"https://codeload.github.com/coc-extensions/coc-svelte/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247471521,"owners_count":20944158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autocomplete","lsp","neovim","svelte","vim"],"created_at":"2024-07-31T17:01:47.022Z","updated_at":"2025-04-06T11:09:33.655Z","avatar_url":"https://github.com/coc-extensions.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","Language Support","integrations","Dev Tools"],"sub_categories":["editor tools","Editors"],"readme":"# Svelte for (Neo)Vim\n\n\u003e fork from [svelte-vscode](https://github.com/sveltejs/language-tools/tree/master/packages/svelte-vscode).\n\nProvides rich intellisense for Svelte components in (neo)vim, utilising the [svelte language server](https://github.com/sveltejs/language-tools/tree/master/packages/language-server).\n\n## Install\n\n``` vim\n:CocInstall coc-svelte\n```\n\n\u003e You have to install syntax plugin to get syntax highlight and get right filetype, for example `leafOfTree/vim-svelte-plugin`\n\n## Setup\n\nIf you added `\"files.associations\": {\"*.svelte\": \"html\" }` to your CoC settings, remove it.\n\nDo you want to use TypeScript/SCSS/Less/..? [See the docs](/docs/README.md#language-specific-setup).\n\n## Features\n\nYou can expect the following within Svelte files:\n\n-   Diagnostic messages\n-   Support for svelte preprocessors that provide source maps\n-   Formatting (via [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte))\n-   Hover info\n-   Autocompletions\n-   Go to definition\n\nThe extension also comes packaged with a TypeScript plugin, which when activated provides intellisense within JavaScript and TypeScript files for interacting with Svelte files.\n\n##### `svelte.plugin.XXX`\n\nSettings to toggle specific features of the extension. The full list of all settings [is here](https://github.com/sveltejs/language-tools/blob/master/packages/language-server/README.md#List-of-settings).\n\n### Usage with Yarn 2 PnP\n\n1. Run `yarn add -D svelte-language-server` to install svelte-language-server as a dev dependency\n2. Run `yarn dlx @yarnpkg/pnpify --sdk vim` to generate or update the Vim/Yarn integration SDKs.\n3. Set the `svelte.language-server.ls-path` setting in your user configuration, pointing it to the workspace-installed language server.\n4. Restart vim.\n5. Commit the changes to `.yarn/sdks`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoc-extensions%2Fcoc-svelte","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoc-extensions%2Fcoc-svelte","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoc-extensions%2Fcoc-svelte/lists"}