mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Remove features deprecated in previous versions
This commit is contained in:
@@ -33,8 +33,8 @@ Before:
|
||||
\ 'lsp': 'stdio',
|
||||
\ 'command': 'cat - > /dev/null',
|
||||
\ 'executable': has('win32') ? 'cmd' : 'echo',
|
||||
\ 'language_callback': 'LanguageCallback',
|
||||
\ 'project_root_callback': 'ProjectRootCallback',
|
||||
\ 'language': function('LanguageCallback'),
|
||||
\ 'project_root': function('ProjectRootCallback'),
|
||||
\ })
|
||||
let g:ale_linters = {'foobar': ['dummy_linter']}
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@ Execute(Command formatting should be applied correctly for LSP linters):
|
||||
\ bufnr(''),
|
||||
\ {
|
||||
\ 'name': 'linter',
|
||||
\ 'language_callback': {-> 'x'},
|
||||
\ 'project_root_callback': {-> '/foo/bar'},
|
||||
\ 'language': {-> 'x'},
|
||||
\ 'project_root': {-> '/foo/bar'},
|
||||
\ 'lsp': 'stdio',
|
||||
\ 'executable': has('win32') ? 'cmd': 'true',
|
||||
\ 'command': '%e --foo',
|
||||
|
||||
@@ -25,7 +25,6 @@ Before:
|
||||
\ 'name': g:linter_name,
|
||||
\ 'project_root': {b -> g:project_root},
|
||||
\ 'aliases': [],
|
||||
\ 'language_callback': {b -> 'cpp'},
|
||||
\ 'read_buffer': 1,
|
||||
\ 'command': '%e'
|
||||
\ }]
|
||||
|
||||
Reference in New Issue
Block a user