mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-06 18:07:46 +08:00
add support for svelte via svelteserver language server (#3644)
* add support for svelte via svelteserver language server * svelte: fix Vint error and add a `svelteserver` simple test. Co-authored-by: Joakim Repomaa <mail@j.repomaa.com> Co-authored-by: Joakim Repomaa <mail@jreinert.com>
This commit is contained in:
@@ -112,7 +112,7 @@ let s:default_registry = {
|
||||
\ },
|
||||
\ 'prettier': {
|
||||
\ 'function': 'ale#fixers#prettier#Fix',
|
||||
\ 'suggested_filetypes': ['javascript', 'typescript', 'css', 'less', 'scss', 'json', 'json5', 'graphql', 'markdown', 'vue', 'html', 'yaml', 'openapi', 'ruby'],
|
||||
\ 'suggested_filetypes': ['javascript', 'typescript', 'css', 'less', 'scss', 'json', 'json5', 'graphql', 'markdown', 'vue', 'svelte', 'html', 'yaml', 'openapi', 'ruby'],
|
||||
\ 'description': 'Apply prettier to a file.',
|
||||
\ },
|
||||
\ 'prettier_eslint': {
|
||||
|
||||
@@ -74,6 +74,7 @@ function! ale#fixers#prettier#ApplyFixForVersion(buffer, version) abort
|
||||
\ 'graphql': 'graphql',
|
||||
\ 'markdown': 'markdown',
|
||||
\ 'vue': 'vue',
|
||||
\ 'svelte': 'svelte',
|
||||
\ 'yaml': 'yaml',
|
||||
\ 'openapi': 'yaml',
|
||||
\ 'html': 'html',
|
||||
|
||||
Reference in New Issue
Block a user