Enable gopls by default with GOPATH detection

This commit is contained in:
w0rp
2021-05-26 22:43:30 +01:00
parent 3f386ae5e9
commit f53431331e
75 changed files with 183 additions and 116 deletions

View File

@@ -19,7 +19,7 @@ endfunction
call ale#linter#Define('javascript', {
\ 'name': 'flow-language-server',
\ 'lsp': 'stdio',
\ 'executable': {b -> ale#node#FindExecutable(b, 'javascript_flow_ls', [
\ 'executable': {b -> ale#path#FindExecutable(b, 'javascript_flow_ls', [
\ 'node_modules/.bin/flow',
\ ])},
\ 'command': '%e lsp --from ale-lsp',