summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2020-08-18 23:03:43 +0100
committerw0rp <devw0rp@gmail.com>2020-08-18 23:03:43 +0100
commit5eda1df0a96e691ebf24e5d8a3585c2feb2a48a3 (patch)
treef6495a88666d59f44719b36276d1631d96d662aa /ale_linters
parent4df352eee585cf50edb208aea713fe1a67ac4094 (diff)
downloadale-5eda1df0a96e691ebf24e5d8a3585c2feb2a48a3.zip
Remove features deprecated in previous versions
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/ocaml/ols.vim2
-rw-r--r--ale_linters/reason/ols.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/ocaml/ols.vim b/ale_linters/ocaml/ols.vim
index d8208c52..ec71bdb4 100644
--- a/ale_linters/ocaml/ols.vim
+++ b/ale_linters/ocaml/ols.vim
@@ -9,6 +9,6 @@ call ale#linter#Define('ocaml', {
\ 'lsp': 'stdio',
\ 'executable': function('ale#handlers#ols#GetExecutable'),
\ 'command': function('ale#handlers#ols#GetCommand'),
-\ 'language_callback': 'ale#handlers#ols#GetLanguage',
+\ 'language': function('ale#handlers#ols#GetLanguage'),
\ 'project_root': function('ale#handlers#ols#GetProjectRoot'),
\})
diff --git a/ale_linters/reason/ols.vim b/ale_linters/reason/ols.vim
index 66137e1b..9fbd9b4f 100644
--- a/ale_linters/reason/ols.vim
+++ b/ale_linters/reason/ols.vim
@@ -9,6 +9,6 @@ call ale#linter#Define('reason', {
\ 'lsp': 'stdio',
\ 'executable': function('ale#handlers#ols#GetExecutable'),
\ 'command': function('ale#handlers#ols#GetCommand'),
-\ 'language_callback': 'ale#handlers#ols#GetLanguage',
+\ 'language': function('ale#handlers#ols#GetLanguage'),
\ 'project_root': function('ale#handlers#ols#GetProjectRoot'),
\})