MCPcopy Index your code
hub / github.com/coc-extensions/coc-svelte

github.com/coc-extensions/coc-svelte @v0.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.0.1 ↗ · + Follow
7 symbols 16 edges 2 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Svelte for (Neo)Vim

fork from svelte-vscode

Provides syntax highlighting and rich intellisense for Svelte components in (neo)vim, utilising the svelte language server.

Install

:CocInstall coc-svelte

Features

  • Svelte
    • Diagnostic messages for warnings and errors
    • Support for svelte preprocessors that provide source maps
    • Svelte specific formatting (via prettier-plugin-svelte)
  • HTML
    • Hover info
    • Autocompletions
    • Emmet
    • Symbols in Outline panel
  • CSS / SCSS / LESS
    • Diagnostic messages for syntax and lint errors
    • Hover info
    • Autocompletions
    • Formatting (via prettier)
    • Emmet
    • Color highlighting and color picker
    • Symbols in Outline panel
  • TypeScript / JavaScript
    • Diagnostics messages for syntax errors, semantic errors, and suggestions
    • Hover info
    • Formatting (via prettier)
    • Symbols in Outline panel
    • Autocompletions
    • Go to definition
    • Code Actions

Settings

svelte.language-server.runtime

Path to the node executable you would like to use to run the language server. This is useful when you depend on native modules such as node-sass as without this they will run in the context of coc.nvim, meaning v8 version mismatch is likely.

svelte.plugin.html.autoClosingTags

auto close tag for html template

Recommend syntax highlight plugin

evanleck/vim-svelte

Core symbols most depended-on inside this repo

Shape

Function 7

Languages

TypeScript100%

Modules by API surface

src/html/autoClose.ts4 symbols
src/index.ts3 symbols

For agents

$ claude mcp add coc-svelte \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page