summaryrefslogtreecommitdiff
path: root/ale_linters/ada
diff options
context:
space:
mode:
authorBartek thindil Jasicki <thindil@laeran.pl>2019-10-18 18:26:08 +0200
committerBartek thindil Jasicki <thindil@laeran.pl>2019-10-18 18:26:08 +0200
commit2f181658e6e40798c74e2f58067ab3aeffab8224 (patch)
tree2f6049e0951d6ac8e6c93588613478fcff192806 /ale_linters/ada
parent8239b76c5a4c765ffa04cb5c6ad0ad94cd1d0dea (diff)
downloadale-2f181658e6e40798c74e2f58067ab3aeffab8224.zip
rename command variable to *_adals_* instead of *_lsp_* and whole name to adals instead of adalsp
Diffstat (limited to 'ale_linters/ada')
-rw-r--r--ale_linters/ada/adals.vim16
-rw-r--r--ale_linters/ada/adalsp.vim16
2 files changed, 16 insertions, 16 deletions
diff --git a/ale_linters/ada/adals.vim b/ale_linters/ada/adals.vim
new file mode 100644
index 00000000..354156f0
--- /dev/null
+++ b/ale_linters/ada/adals.vim
@@ -0,0 +1,16 @@
+" Author: Bartek Jasicki http://github.com/thindil
+" Description: Support for Ada Language Server
+
+call ale#Set('ada_adals_executable', 'ada_language_server')
+
+function! ale_linters#ada#adals#GetRootDirectory(buffer) abort
+ return fnamemodify(bufname(a:buffer), ':p:h')
+endfunction
+
+call ale#linter#Define('ada', {
+\ 'name': 'adals',
+\ 'lsp': 'stdio',
+\ 'executable': {b -> ale#Var(b, 'ada_adals_executable')},
+\ 'command': '%e',
+\ 'project_root': function('ale_linters#ada#adals#GetRootDirectory'),
+\})
diff --git a/ale_linters/ada/adalsp.vim b/ale_linters/ada/adalsp.vim
deleted file mode 100644
index 10c4be07..00000000
--- a/ale_linters/ada/adalsp.vim
+++ /dev/null
@@ -1,16 +0,0 @@
-" Author: Bartek Jasicki http://github.com/thindil
-" Description: Support for Ada Language Server
-
-call ale#Set('ada_lsp_executable', 'ada_language_server')
-
-function! ale_linters#ada#adalsp#GetRootDirectory(buffer) abort
- return fnamemodify(bufname(a:buffer), ':p:h')
-endfunction
-
-call ale#linter#Define('ada', {
-\ 'name': 'adalsp',
-\ 'lsp': 'stdio',
-\ 'executable': {b -> ale#Var(b, 'ada_lsp_executable')},
-\ 'command': '%e',
-\ 'project_root': function('ale_linters#ada#adalsp#GetRootDirectory'),
-\})