Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cspell option “-c config.yaml” not work #4772

Open
cxwx opened this issue May 11, 2024 · 0 comments
Open

cspell option “-c config.yaml” not work #4772

cxwx opened this issue May 11, 2024 · 0 comments
Labels

Comments

@cxwx
Copy link

cxwx commented May 11, 2024

Information

VIM version

NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1713773202

Operating System: macos

What went wrong

I set

vim.g.ale_cspell_options = "-c ~/rc/config/cspell/cspell.config.yaml"

for vim
let g:ale_cspell_options = "-c ~/rc/config/cspell/cspell.config.yaml"
but the config of cspell is not working.

I found the Info of ALE using

cspell -c ~/rc/config/cspell/cspell.config.yaml --stdin < "filename"

this cause cspell -c not work
the right way is

cspell -c ~/rc/config/cspell/cspell.config.yaml  "filename"

Reproducing the bug

  1. let g:ale_cspell_options = "-c ~/rc/config/cspell/cspell.config.yaml"
  2. -c option not work

:ALEInfo

(executable check - success) cspell
(finished - exit code 1) ['/bin/zsh', '-c', '''cspell'' lint --no-color --no-progress --no-summary --language-id="lua" -c ~/rc/config/cspell/cspell.config.yaml -- stdin < ''/var/folders/05/dfw4d4ds0nx2xyyn7yt5ky3r0000gn/T/nvim.chenxu/HovICW/1/lint_cx.lua''']
@cxwx cxwx added the bug label May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant