summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@gmail.com>2021-03-20 19:23:27 -0300
committerGitHub <noreply@github.com>2021-03-20 22:23:27 +0000
commit4411b4d751f944892c7d5c17a503a9a55fd9ddd1 (patch)
tree660ee195988bf08cc5e4f44807b5fc916691fbe4 /doc
parentb1d833417bcb57e265e0d01df07b28f463529d4b (diff)
downloadale-4411b4d751f944892c7d5c17a503a9a55fd9ddd1.zip
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-supported-languages-and-tools.txt3
-rw-r--r--doc/ale-svelte.txt31
-rw-r--r--doc/ale.txt5
3 files changed, 39 insertions, 0 deletions
diff --git a/doc/ale-supported-languages-and-tools.txt b/doc/ale-supported-languages-and-tools.txt
index 26e91e5c..fde158fe 100644
--- a/doc/ale-supported-languages-and-tools.txt
+++ b/doc/ale-supported-languages-and-tools.txt
@@ -489,6 +489,9 @@ Notes:
* `stylelint`
* SugarSS
* `stylelint`
+* Svelte
+ * `prettier`
+ * `svelteserver`
* Swift
* Apple `swift-format`
* `sourcekit-lsp`
diff --git a/doc/ale-svelte.txt b/doc/ale-svelte.txt
new file mode 100644
index 00000000..92f109f7
--- /dev/null
+++ b/doc/ale-svelte.txt
@@ -0,0 +1,31 @@
+===============================================================================
+ALE Svelte Integration *ale-svelte-options*
+
+
+===============================================================================
+prettier *ale-svelte-prettier*
+
+See |ale-javascript-prettier| for information about the available options.
+
+
+===============================================================================
+svelteserver *ale-svelte-svelteserver*
+
+g:ale_svelte_svelteserver_executable *g:ale_svelte_svelteserver_executable*
+ *b:ale_svelte_svelteserver_executable*
+ Type: |String|
+ Default: `'svelteserver'`
+
+ See |ale-integrations-local-executables|
+
+
+g:ale_svelte_svelteserver_use_global *g:ale_svelte_svelteserver_use_global*
+ *b:ale_svelte_svelteserver_use_global*
+ Type: |Number|
+ Default: `get(g:, 'ale_use_global_executables', 0)`
+
+ See |ale-integrations-local-executables|
+
+
+===============================================================================
+ vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
diff --git a/doc/ale.txt b/doc/ale.txt
index 63086611..cb11226d 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -1438,6 +1438,7 @@ g:ale_linter_aliases *g:ale_linter_aliases*
\ 'ps1': 'powershell',
\ 'rmarkdown': 'r',
\ 'rmd': 'r',
+ \ 'svelte': ['svelte', 'javascript'],
\ 'systemverilog': 'verilog',
\ 'typescriptreact': ['typescript', 'tsx'],
\ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'],
@@ -1588,6 +1589,7 @@ g:ale_linters *g:ale_linters*
\ 'python': ['flake8', 'mypy', 'pylint', 'pyright'],
\ 'rust': ['cargo', 'rls'],
\ 'spec': [],
+ \ 'svelte': ['eslint', 'svelteserver'],
\ 'text': [],
\ 'vue': ['eslint', 'vls'],
\ 'zsh': ['shell'],
@@ -3010,6 +3012,9 @@ documented in additional help files.
stylelint.............................|ale-stylus-stylelint|
sugarss.................................|ale-sugarss-options|
stylelint.............................|ale-sugarss-stylelint|
+ svelte..................................|ale-svelte-options|
+ prettier..............................|ale-svelte-prettier|
+ svelteserver..........................|ale-svelte-svelteserver|
swift...................................|ale-swift-options|
sourcekitlsp..........................|ale-swift-sourcekitlsp|
systemd.................................|ale-systemd-options|