summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2018-10-25 15:34:31 +0100
committerGitHub <noreply@github.com>2018-10-25 15:34:31 +0100
commit3e65e85178d144c464702570fc20b88fd5e2e20e (patch)
tree9ec5944b578d04814d13d625e892fee5cf41dff2 /autoload
parent02c0d5bcb9f7d4191a5e069aa0b8cd4065d6c039 (diff)
parent3ba9cad878cdd524ed4d676afc970d2d62cedf4f (diff)
downloadale-3e65e85178d144c464702570fc20b88fd5e2e20e.zip
Merge pull request #2016 from terryding77/master
fix: change google_java_format_* to java_google_java_format_*
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/fixers/google_java_format.vim10
1 files changed, 5 insertions, 5 deletions
diff --git a/autoload/ale/fixers/google_java_format.vim b/autoload/ale/fixers/google_java_format.vim
index 6a2f5491..20086c73 100644
--- a/autoload/ale/fixers/google_java_format.vim
+++ b/autoload/ale/fixers/google_java_format.vim
@@ -1,13 +1,13 @@
" Author: butlerx <butlerx@notthe,cloud>
" Description: Integration of Google-java-format with ALE.
-call ale#Set('google_java_format_executable', 'google-java-format')
-call ale#Set('google_java_format_use_global', get(g:, 'ale_use_global_executables', 0))
-call ale#Set('google_java_format_options', '')
+call ale#Set('java_google_java_format_executable', 'google-java-format')
+call ale#Set('java_google_java_format_use_global', get(g:, 'ale_use_global_executables', 0))
+call ale#Set('java_google_java_format_options', '')
function! ale#fixers#google_java_format#Fix(buffer) abort
- let l:options = ale#Var(a:buffer, 'google_java_format_options')
- let l:executable = ale#Var(a:buffer, 'google_java_format_executable')
+ let l:options = ale#Var(a:buffer, 'java_google_java_format_options')
+ let l:executable = ale#Var(a:buffer, 'java_google_java_format_executable')
if !executable(l:executable)
return 0