mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
codespell: fix spelling errors picked out by codespell (#4343)
This commit is contained in:
@@ -18,7 +18,7 @@ Execute(Additional flawfinder options should be configurable):
|
||||
AssertLinter 'flawfinder',
|
||||
\ ale#Escape('flawfinder') . ' -CDQS --foobar --minlevel=1 %t'
|
||||
|
||||
Execute(The flawfinder exectable should be configurable):
|
||||
Execute(The flawfinder executable should be configurable):
|
||||
let b:ale_c_flawfinder_executable = 'foo/bar'
|
||||
|
||||
AssertLinter 'foo/bar', ale#Escape('foo/bar') . ' -CDQS --minlevel=1 %t'
|
||||
|
||||
@@ -20,7 +20,7 @@ Execute(Additional flawfinder options should be configurable):
|
||||
AssertLinter 'flawfinder',
|
||||
\ ale#Escape('flawfinder') . ' -CDQS --foobar --minlevel=1 %t'
|
||||
|
||||
Execute(The flawfinder exectable should be configurable):
|
||||
Execute(The flawfinder executable should be configurable):
|
||||
let b:ale_cpp_flawfinder_executable = 'foo/bar'
|
||||
|
||||
AssertLinter 'foo/bar', ale#Escape('foo/bar') . ' -CDQS --minlevel=1 %t'
|
||||
|
||||
@@ -13,13 +13,13 @@ Execute(The options should be be used in the command):
|
||||
|
||||
AssertLinter 'csc', 'csc /unsafe /out:TEMP /t:module /recurse:' . ale#Escape('*.cs')
|
||||
|
||||
Execute(The souce path should be be used in the command):
|
||||
Execute(The source path should be be used in the command):
|
||||
let g:ale_cs_csc_source = '../foo/bar'
|
||||
|
||||
AssertLinterCwd '../foo/bar'
|
||||
AssertLinter 'csc', 'csc /unsafe /out:TEMP /t:module /recurse:' . ale#Escape('*.cs')
|
||||
|
||||
Execute(The list of search pathes for assemblies should be be used in the command if not empty):
|
||||
Execute(The list of search paths for assemblies should be be used in the command if not empty):
|
||||
let g:ale_cs_csc_assembly_path = ['/usr/lib/mono', '../foo/bar']
|
||||
|
||||
AssertLinter 'csc', 'csc /unsafe'
|
||||
|
||||
@@ -13,13 +13,13 @@ Execute(The options should be be used in the command):
|
||||
|
||||
AssertLinter 'mcs', 'mcs -unsafe -pkg:dotnet -out:TEMP -t:module -recurse:' . ale#Escape('*.cs')
|
||||
|
||||
Execute(The souce path should be be used in the command):
|
||||
Execute(The source path should be be used in the command):
|
||||
let g:ale_cs_mcsc_source = '../foo/bar'
|
||||
|
||||
AssertLinterCwd '../foo/bar'
|
||||
AssertLinter 'mcs', 'mcs -unsafe -out:TEMP -t:module -recurse:' . ale#Escape('*.cs')
|
||||
|
||||
Execute(The list of search pathes for assemblies should be be used in the command if not empty):
|
||||
Execute(The list of search paths for assemblies should be be used in the command if not empty):
|
||||
let g:ale_cs_mcsc_assembly_path = ['/usr/lib/mono', '../foo/bar']
|
||||
|
||||
AssertLinter 'mcs', 'mcs -unsafe'
|
||||
|
||||
@@ -19,7 +19,7 @@ Execute(The default command should be correct):
|
||||
AssertLinter g:node_executable,
|
||||
\ ale#Escape(g:node_executable) . ' --format=unix %t'
|
||||
|
||||
Execute(The global executable should be uesd if the option is set):
|
||||
Execute(The global executable should be used if the option is set):
|
||||
let g:ale_html_htmlhint_executable = 'foo'
|
||||
let g:ale_html_htmlhint_use_global = 1
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ Execute(The local executable should be used when available):
|
||||
AssertLinter ale#path#Simplify(g:dir . '/../test-files/ols/node_modules/.bin/ocaml-language-server'),
|
||||
\ ale#Escape(ale#path#Simplify(g:dir . '/../test-files/ols/node_modules/.bin/ocaml-language-server')) . ' --stdio'
|
||||
|
||||
Execute(The gloabl executable should always be used when use_global is set):
|
||||
Execute(The global executable should always be used when use_global is set):
|
||||
let g:ale_ocaml_ols_use_global = 1
|
||||
call ale#test#SetFilename('../test-files/ols/file.ml')
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ Execute(virtualenv paths should be set in configuration by default):
|
||||
\ },
|
||||
\}
|
||||
|
||||
Execute(The pythonPath should be set based on whatever the ovveride for the venvPath is set to):
|
||||
Execute(The pythonPath should be set based on whatever the override for the venvPath is set to):
|
||||
call ale#test#SetFilename('../test-files/python/with_virtualenv/subdir/foo/bar.py')
|
||||
|
||||
" This overrides the default detection of the path.
|
||||
|
||||
@@ -28,7 +28,7 @@ Execute(The local executable should be used when available):
|
||||
\ ale#path#Simplify(g:dir . '/../test-files/ols/node_modules/.bin/ocaml-language-server'),
|
||||
\ ale#Escape(ale#path#Simplify(g:dir . '/../test-files/ols/node_modules/.bin/ocaml-language-server')) . ' --stdio'
|
||||
|
||||
Execute(The gloabl executable should always be used when use_global is set):
|
||||
Execute(The global executable should always be used when use_global is set):
|
||||
let g:ale_reason_ols_use_global = 1
|
||||
call ale#test#SetFilename('../test-files/ols/file.re')
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ Execute(The default command should be correct):
|
||||
AssertLinter 'opa',
|
||||
\ ale#Escape('opa') . ' check %s --format json '
|
||||
|
||||
Execute(The default command should be overriden):
|
||||
Execute(The default command should be overridden):
|
||||
let b:ale_rego_opacheck_executable = '/bin/other/opa'
|
||||
AssertLinter '/bin/other/opa',
|
||||
\ ale#Escape('/bin/other/opa') . ' check %s --format json '
|
||||
|
||||
@@ -29,7 +29,7 @@ Execute(The local executable from .bin should be used if available):
|
||||
\ ale#Escape(ale#path#Simplify(g:dir . '/../test-files/remark_lint/with_bin_path/node_modules/.bin/remark'))
|
||||
\ . ' --no-stdout --no-color'
|
||||
|
||||
Execute(The global executable should be uesd if the option is set):
|
||||
Execute(The global executable should be used if the option is set):
|
||||
let b:ale_markdown_remark_lint_use_global = 1
|
||||
call ale#test#SetFilename('../test-files/remark_lint/with_bin_path/foo.md')
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ Execute(The toolchain should be configurable):
|
||||
|
||||
AssertLinter 'rls', ale#Escape('rls') . ' +' . ale#Escape('stable')
|
||||
|
||||
Execute(The toolchain should be ommitted if not given):
|
||||
Execute(The toolchain should be omitted if not given):
|
||||
let g:ale_rust_rls_toolchain = ''
|
||||
|
||||
AssertLinter 'rls', ale#Escape('rls')
|
||||
|
||||
@@ -9,7 +9,7 @@ Execute(The default command should be correct):
|
||||
AssertLinter 'terraform',
|
||||
\ ale#Escape('terraform') . ' validate -no-color -json '
|
||||
|
||||
Execute(The default command should be overriden):
|
||||
Execute(The default command should be overridden):
|
||||
let b:ale_terraform_terraform_executable = '/bin/other/terraform'
|
||||
AssertLinter '/bin/other/terraform',
|
||||
\ ale#Escape('/bin/other/terraform') . ' validate -no-color -json '
|
||||
|
||||
@@ -29,7 +29,7 @@ Execute(The options should be configurable):
|
||||
|
||||
AssertLinter 'texlab', ale#Escape('texlab') . ' ' . b:ale_tex_texlab_options
|
||||
|
||||
Execute(Should accpet configuration settings):
|
||||
Execute(Should accept configuration settings):
|
||||
AssertLSPConfig {}
|
||||
let b:ale_tex_texlab_config = {'build':{'onSave':v:true}}
|
||||
AssertLSPConfig {'build':{'onSave':v:true}}
|
||||
|
||||
Reference in New Issue
Block a user