dense-analysis / ale

Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
BSD 2-Clause "Simplified" License
13.58k stars 1.44k forks source link

NeoVim on Windows issue with phpcs #3004

Open carlos-cabgj opened 4 years ago

carlos-cabgj commented 4 years ago

Hi, I'm faccing a problems here, I'm trying to understand this a long time.

I use gvim for a long time, but I'm trying to change to nvim, but since them I try to use Ale on nvim and I couldn't see any error on my side bar, The configuration is the same, I've installed phpcs and phpmd and nothing changed.

I've followed the problem to here.

gvim nvim

w0rp commented 4 years ago

My guess is that this is an issue that somehow relates to Windows and probably NeoVim working in some kind of Unix environment on top of Windows. It'll be something of that nature.

carlos-cabgj commented 4 years ago

Thank you w0rp, I'm working to understand this, Kinda crazy, I've tried a lot of things, and I've learned a lot about the tool.

I work in both environments Windows and Linux, but in this case, I was working with windows.

parchd-1 commented 4 years ago

Also experiencing this, but not specific to phpcs - ALE is neither linting nor fixing with flake8 or eslint. I am on Windows using bash as my shell (via git-bash). The problem started recently for me, my version of ALE was previously out of date but I have also made changes to my init.vim. Not sure which change has introduced the problem.

parchd-1 commented 4 years ago

Follow up already: For me, shellslash is the problem. @carlos-cabgj do you have set shellslash in your init.vim? If you :set noshellslash does ALE start working as expected?