Skip to content

Commit e306929

Browse files
w0rpadriaanzon
authored andcommitted
Don't set options for ALE (#124)
Setting options for ALE in this file can sometimes overwrite settings that users set, say if they set global settings for ALE after ftplugin files are loaded. The Vue files should not be checked with ESLint by default, and ESLint checking should be enabled manually after installing the Vue ESLint plugin.
1 parent 720ca48 commit e306929

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ftplugin/vue.vim

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,3 @@ if !exists('g:no_plugin_maps') && !exists('g:no_vue_maps')
1717
nnoremap <silent> <buffer> [] :call search('^</\(template\<Bar>script\<Bar>style\)', 'bW')<CR>
1818
nnoremap <silent> <buffer> ][ :call search('^</\(template\<Bar>script\<Bar>style\)', 'W')<CR>
1919
endif
20-
21-
" Run only ESLint for Vue files by default.
22-
" linters specifically for Vue can still be loaded.
23-
let b:ale_linter_aliases = get(get(g:, 'ale_linter_aliases', {}), 'vue', ['vue', 'javascript'])
24-
let b:ale_linters = get(get(g:, 'ale_linters', {}), 'vue', ['eslint', 'vls'])

0 commit comments

Comments
 (0)