mirror of
https://github.com/dense-analysis/ale.git
synced 2026-09-02 12:56:57 +08:00
feat: openscad-lsp support (#5156)
CI / Build (push) Canceled after 0s
CI / Neovim 0.10 Windows (push) Canceled after 0s
CI / Neovim 0.12 Windows (push) Canceled after 0s
CI / Vim 8.2 Windows (push) Canceled after 0s
CI / Vim 9.2 Windows (push) Canceled after 0s
CI / Lint (push) Canceled after 0s
CI / Lua (push) Canceled after 0s
CI / Neovim 0.10 Linux (push) Canceled after 0s
CI / Neovim 0.12 Linux (push) Canceled after 0s
CI / Vim 8.2 Linux (push) Canceled after 0s
CI / Vim 9.2 Linux (push) Canceled after 0s
CI / Build (push) Canceled after 0s
CI / Neovim 0.10 Windows (push) Canceled after 0s
CI / Neovim 0.12 Windows (push) Canceled after 0s
CI / Vim 8.2 Windows (push) Canceled after 0s
CI / Vim 9.2 Windows (push) Canceled after 0s
CI / Lint (push) Canceled after 0s
CI / Lua (push) Canceled after 0s
CI / Neovim 0.10 Linux (push) Canceled after 0s
CI / Neovim 0.12 Linux (push) Canceled after 0s
CI / Vim 8.2 Linux (push) Canceled after 0s
CI / Vim 9.2 Linux (push) Canceled after 0s
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
Before:
|
||||
call ale#assert#SetUpLinterTest('openscad', 'openscad_lsp')
|
||||
|
||||
After:
|
||||
call ale#assert#TearDownLinterTest()
|
||||
|
||||
Execute(The default command should be correct):
|
||||
AssertLinter 'openscad-lsp', ale#Escape('openscad-lsp') . ' --stdio'
|
||||
|
||||
Execute(The executable should be configurable):
|
||||
let g:ale_openscad_openscad_lsp_executable = '/custom/path/openscad-lsp'
|
||||
|
||||
AssertLinter '/custom/path/openscad-lsp',
|
||||
\ ale#Escape('/custom/path/openscad-lsp') . ' --stdio'
|
||||
|
||||
Execute(Options should be appended to the command):
|
||||
let b:ale_openscad_openscad_lsp_options = '--ignore-default'
|
||||
|
||||
AssertLinter 'openscad-lsp',
|
||||
\ ale#Escape('openscad-lsp') . ' --stdio --ignore-default'
|
||||
Reference in New Issue
Block a user