Skip to content

Getting ALE/isort v5 to play nicely #3794

Discussion options

You must be logged in to vote

I can't run from the project root (assuming I started vim from the project root) because the isort fixer changes the CWD to the dir of the file.

If you remove the cwd command does it work for you?

    return {
    \   'cwd': '%s:h',                                                                  <---- Remove all this line
    \   'command': ale#Escape(l:executable) . l:exec_args
    \   . (!empty(l:options) ? ' ' . l:options : '') . ' -',
    \}

If it does you may want to make a PR with the change.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Gidgidonihah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants