summaryrefslogtreecommitdiff
path: root/autoload/ale/definition.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/ale/definition.vim')
-rw-r--r--autoload/ale/definition.vim8
1 files changed, 0 insertions, 8 deletions
diff --git a/autoload/ale/definition.vim b/autoload/ale/definition.vim
index ffcd9d10..0c1fb7cf 100644
--- a/autoload/ale/definition.vim
+++ b/autoload/ale/definition.vim
@@ -135,10 +135,6 @@ function! s:GoToLSPDefinition(linter, options, capability) abort
endfunction
function! ale#definition#GoTo(options) abort
- if !get(g:, 'ale_ignore_2_7_warnings') && has_key(a:options, 'deprecated_command')
- execute 'echom '':' . a:options.deprecated_command . ' is deprecated. Use `let g:ale_ignore_2_7_warnings = 1` to disable this message.'''
- endif
-
for l:linter in ale#linter#Get(&filetype)
if !empty(l:linter.lsp)
call s:GoToLSPDefinition(l:linter, a:options, 'definition')
@@ -147,10 +143,6 @@ function! ale#definition#GoTo(options) abort
endfunction
function! ale#definition#GoToType(options) abort
- if !get(g:, 'ale_ignore_2_7_warnings') && has_key(a:options, 'deprecated_command')
- execute 'echom '':' . a:options.deprecated_command . ' is deprecated. Use `let g:ale_ignore_2_7_warnings = 1` to disable this message.'''
- endif
-
for l:linter in ale#linter#Get(&filetype)
if !empty(l:linter.lsp)
" TODO: handle typeDefinition for tsserver if supported by the