From e306929b27bea08ab505de7a4617e642b56b6dcd Mon Sep 17 00:00:00 2001 From: w0rp Date: Sun, 11 Nov 2018 13:38:36 +0000 Subject: [PATCH] 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. --- ftplugin/vue.vim | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ftplugin/vue.vim b/ftplugin/vue.vim index 4c0a2cf..98dc0fa 100644 --- a/ftplugin/vue.vim +++ b/ftplugin/vue.vim @@ -17,8 +17,3 @@ if !exists('g:no_plugin_maps') && !exists('g:no_vue_maps') nnoremap [] :call search('^script\style\)', 'bW') nnoremap ][ :call search('^script\style\)', 'W') endif - -" Run only ESLint for Vue files by default. -" linters specifically for Vue can still be loaded. -let b:ale_linter_aliases = get(get(g:, 'ale_linter_aliases', {}), 'vue', ['vue', 'javascript']) -let b:ale_linters = get(get(g:, 'ale_linters', {}), 'vue', ['eslint', 'vls'])