Questions tagged [plugin-ale]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
21 views

Switch pyflakes linter from python2 to python3 in ALE

pyflakes (with ALE) automatically defaults to python2 instead of python3 and gives me false errors and there are no variables in ALE documentation letting me change python versions. Thanks for any ...
0
votes
0answers
25 views

Autofix a single line in ALE

When prettier tells me to take one line with a whole object and put every property on a new line, I want a key to autofix that. I know prettier has things that can be auto-fixed, but I have no idea ...
1
vote
1answer
22 views

Python semantic linting [closed]

I'm currently using ALE (recently upgraded to this from syntastic) and YCM for code completion, highlighting syntax errors on-the-fly (rather than just at save time, like with syntastic), and it's ...
-1
votes
1answer
43 views

vimrc for ale is creating confusion: is my augroup wrong?

My vimrc: https://paste.fedoraproject.org/paste/Wl5jvebADSDoAI4HbIX-hA and my corresponding python file is: https://paste.fedoraproject.org/paste/g60mU7xBqGaEuKKWkZ6Rnw The problem is, with ALE, as ...
1
vote
1answer
39 views

How to get rid of inline linting errors?

I ran PlugUpdate recently and somehow all the Ale linter errors started popping up right in the buffer at the end of the line. It used to just put signs on the left side for the problematic line and ...
1
vote
1answer
341 views

Use flake8 for Cython with w0rp/ale

I'm using flake8 to check my code with ale plugin. I found a way to make it work with Python 3, but it seems it does not recognize Cython file (.pyx) even if we set as follows. let g:ale_linters = { \...
0
votes
1answer
92 views

How to turn on ale linter for specific files

I have the ale linter installed. it works fine for my php files but for some reason when I started doing typescript, it keeps on giving me these error with the error message indent: space ...
0
votes
0answers
72 views

ALE - how to configure warnings to appear in the command line?

I'm trying to workout whether this is an issue with my ALE configuration, or it's some kind of bug with the linter. Basically I'm using tsserver and prettier for Typescript with ALE. Both error and ...
1
vote
0answers
63 views

vim w0rp/ale plugin stops working out of the blue

Long time reader, first time poster. I'm having an issue with ALE (asynchronous lint engine) -- be aware that I'm a second year student and relatively new to programming. I really like this plugin. ...
0
votes
1answer
663 views

ALE Linter is available but not enabled

On a .python file, I see the following for :ALEInfo :ALEInfo Current Filetype: python Available Linters: ['flake8', 'mypy', 'prospector', 'pycodestyle', 'pydocstyle', 'pyflakes', 'pylint', 'pyls', '...
1
vote
0answers
136 views

Jinja html templates formatting with ALE and Prettier in Vim

I am using NVIM v0.3.2-208-g2841e89 on Ubuntu 16.04 LTS and using ALE as my Linting Engine plugin. I am having issue with formatting for jinja template html files with prettier. The html files which ...
12
votes
2answers
4k views

ale linter + eslint: Jump to next error

I use eslint with ale to lint my Javascript code. After editing a code block, I often have a few errors to fix. Fixing is done by navigating to the next erroneous line, reading the problem from the ...
1
vote
0answers
608 views

How to setup ALE with clang?

I'm trying to setup ALE with clang but apparently clang has no idea about my source files - it cannot find included files for a start. How can I tell ALE/clang were are all my sources? If you ...
1
vote
0answers
44 views

How can I detect which command triggers a shortcut in a third-party package? [duplicate]

I remap Shift + k to noh, but once I installed ale, it is no longer working since one of the command on the package uses the shortcut. At least as far as I know, I feel that it is related to ...
1
vote
1answer
670 views

Is there a way to specify a default eslint configuration file when using ALE plugin of Vim?

I'm using ALE for linting my programming code, and I have following configuration part to specify lint tool for JavaScript. let g:ale_linters = { \ 'javascript': ['eslint'], \} let g:ale_fixers = {...
4
votes
0answers
57 views

Can vim-ale emit an error when it fails to parse compiler output?

Ale does not always indicate an error when compilation fails. AFAICT, the reason is that ALE's parser can't find a reference to the current file in the compiler's error messages. This is because ...
-1
votes
1answer
408 views

Check a simple html file with ale

Install ale with pathogen. cd ~/.vim/bundle git clone https://github.com/w0rp/ale.git My setting for ale in .vimrc. let g:ale_sign_column_always = 1 let g:ale_set_highlights = 0 The target html ...
1
vote
0answers
68 views

Lint when finished writing a line

How could I have ale lint when finishing typing a line? Maybe on new line? let g:ale_lint_on_text_changed = 'never' autocmd NewLine ALELint
3
votes
1answer
280 views

quickfix window and location list open at the same time causes weird resize

I have two different plugins doing different things while writing Go. Sometimes the plugin that runs the testing (vim-go) will write to the quickfix window, while the plugin that does linting (ALE) ...