summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-11-08 09:18:58 +0000
committerw0rp <devw0rp@gmail.com>2018-11-08 09:19:02 +0000
commite4faf82cab34869c5ecdc097b9eb0209c9ad9318 (patch)
treece72bf551054b2b12a1ab23f09e443c7c776d98f
parentad98cb74488c017a4b23e5a848e37ac5bc0840b0 (diff)
downloadale-e4faf82cab34869c5ecdc097b9eb0209c9ad9318.zip
Enable ESLint for Vue files by default
-rw-r--r--autoload/ale/linter.vim2
-rw-r--r--doc/ale.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/autoload/ale/linter.vim b/autoload/ale/linter.vim
index 114765e6..0a249282 100644
--- a/autoload/ale/linter.vim
+++ b/autoload/ale/linter.vim
@@ -16,6 +16,7 @@ let s:default_ale_linter_aliases = {
\ 'systemverilog': 'verilog',
\ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'],
\ 'vimwiki': 'markdown',
+\ 'vue': ['vue', 'javascript'],
\ 'zsh': 'sh',
\}
@@ -40,6 +41,7 @@ let s:default_ale_linters = {
\ 'rust': ['cargo'],
\ 'spec': [],
\ 'text': [],
+\ 'vue': ['eslint', 'vls'],
\ 'zsh': ['shell'],
\}
diff --git a/doc/ale.txt b/doc/ale.txt
index d4223f84..505b94d8 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -1364,6 +1364,7 @@ g:ale_linter_aliases *g:ale_linter_aliases*
\ 'systemverilog': 'verilog',
\ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'],
\ 'vimwiki': 'markdown',
+ \ 'vue': ['vue', 'javascript'],
\ 'zsh': 'sh',
\}
<
@@ -1421,6 +1422,7 @@ g:ale_linters *g:ale_linters*
\ 'rust': ['cargo'],
\ 'spec': [],
\ 'text': [],
+ \ 'vue': ['eslint', 'vls'],
\ 'zsh': ['shell'],
\}
<