dense-analysis / ale

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

Haxe linter #739

Open aurieh opened 7 years ago

aurieh commented 7 years ago

Some (hopefully) helpful notes:

Compiler error samples (targeting Neko VM):

File.hx:5: characters 8-9 : Missing ;
File.hx:10: characters 4-5 : Unexpected }
File.hx:5: characters 8-9 : Unknown identifier : a

I'll try to implement this when I have some spare time.

aurieh commented 7 years ago

@w0rp I've been working on it, does ale support line/col number ranges? I know lnum and col exist, but I have no idea how to specify ranges, as haxe compiler provides those instead of per-line errors.

w0rp commented 7 years ago

You can use end_col to set the end column number, and end_lnum if you want to set an end line number too.

w0rp commented 7 years ago

I added those to the documentation now.