coc
Svelte extension forThin wrapper around svelte language server.
Originally forked from coc-svelte, and svelte-vscode
Install
:CocInstall coc-svelte-fork
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.typescript.enable
Enable the TypeScript plugin. Default: true
svelte.plugin.typescript.diagnostics
Enable diagnostic messages for TypeScript. Default: true
svelte.plugin.typescript.hover
Enable hover info for TypeScript. Default: true
svelte.plugin.typescript.documentSymbols
Enable document symbols for TypeScript. Default: true
svelte.plugin.typescript.completions
Enable completions for TypeScript. Default: true
svelte.plugin.typescript.definitions
Enable go to definition for TypeScript. Default: true
svelte.plugin.typescript.codeActions
Enable code actions for TypeScript. Default: true
svelte.plugin.css.enable
Enable the CSS plugin. Default: true
svelte.plugin.css.diagnostics
Enable diagnostic messages for CSS. Default: true
svelte.plugin.css.hover
Enable hover info for CSS. Default: true
svelte.plugin.css.completions
Enable auto completions for CSS. Default: true
svelte.plugin.css.documentColors
Enable document colors for CSS. Default: true
svelte.plugin.css.colorPresentations
Enable color picker for CSS. Default: true
svelte.plugin.css.documentSymbols
Enable document symbols for CSS. Default: true
svelte.plugin.html.enable
Enable the HTML plugin. Default: true
svelte.plugin.html.hover
Enable hover info for HTML. Default: true
svelte.plugin.html.completions
Enable auto completions for HTML. Default: true
svelte.plugin.html.tagComplete
Enable HTML tag auto closing. Default: true
svelte.plugin.html.documentSymbols
Enable document symbols for HTML. Default: true
svelte.plugin.svelte.enable
Enable the Svelte plugin. Default: true
svelte.plugin.svelte.diagnostics.enable
Enable diagnostic messages for Svelte. Default: true
svelte.plugin.svelte.format.enable
Enable formatting for Svelte (includes css & js). Default: true