mirror of
https://github.com/amix/vimrc
synced 2025-06-16 09:35:01 +08:00
Updated plugins
This commit is contained in:
@ -7,7 +7,7 @@ endfunction
|
||||
|
||||
call ale#linter#Define('scala', {
|
||||
\ 'name': 'fsc',
|
||||
\ 'executable_callback': {buf -> s:IsSbt(buf) ? '' : 'fsc'},
|
||||
\ 'executable': {buf -> s:IsSbt(buf) ? '' : 'fsc'},
|
||||
\ 'command': '%e -Ystop-after:parser %t',
|
||||
\ 'callback': 'ale#handlers#scala#HandleScalacLintFormat',
|
||||
\ 'output_stream': 'stderr',
|
||||
|
@ -25,7 +25,7 @@ endfunction
|
||||
call ale#linter#Define('scala', {
|
||||
\ 'name': 'sbtserver',
|
||||
\ 'lsp': 'socket',
|
||||
\ 'address_callback': 'ale_linters#scala#sbtserver#GetAddress',
|
||||
\ 'address': function('ale_linters#scala#sbtserver#GetAddress'),
|
||||
\ 'language': 'scala',
|
||||
\ 'project_root_callback': 'ale_linters#scala#sbtserver#GetProjectRoot',
|
||||
\ 'project_root': function('ale_linters#scala#sbtserver#GetProjectRoot'),
|
||||
\})
|
||||
|
@ -8,7 +8,7 @@ endfunction
|
||||
|
||||
call ale#linter#Define('scala', {
|
||||
\ 'name': 'scalac',
|
||||
\ 'executable_callback': {buf -> s:IsSbt(buf) ? '' : 'scalac'},
|
||||
\ 'executable': {buf -> s:IsSbt(buf) ? '' : 'scalac'},
|
||||
\ 'command': '%e -Ystop-after:parser %t',
|
||||
\ 'callback': 'ale#handlers#scala#HandleScalacLintFormat',
|
||||
\ 'output_stream': 'stderr',
|
||||
|
@ -81,6 +81,6 @@ call ale#linter#Define('scala', {
|
||||
\ 'name': 'scalastyle',
|
||||
\ 'executable': 'scalastyle',
|
||||
\ 'output_stream': 'stdout',
|
||||
\ 'command_callback': 'ale_linters#scala#scalastyle#GetCommand',
|
||||
\ 'command': function('ale_linters#scala#scalastyle#GetCommand'),
|
||||
\ 'callback': 'ale_linters#scala#scalastyle#Handle',
|
||||
\})
|
||||
|
Reference in New Issue
Block a user