Questions tagged [plugin-ale]
Question about plugin ALE which provides linting hints into Vim sign column.
22
questions with no upvoted or accepted answers
5
votes
0
answers
2k
views
How do I disable specific warning/error messages using ALE?
I'm currently using ALE to lint my Python code. I'm just curious how to disable specific warning or error messages. I've checked the GitHub repository's FAQ but I only see an option for disabling ...
5
votes
0
answers
108
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 ...
4
votes
0
answers
1k
views
Cannot set g:ale_fixers in ALE config on vim
I'm trying to config ALE in my vim and can't config the fixers, them aren't showing on ALEInfo.
I'm setting the config for typescript files (with and without react) with prettier and eslint.
What i'm ...
3
votes
0
answers
3k
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 ...
3
votes
1
answer
772
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 = {
\...
2
votes
0
answers
190
views
How do I define a custom fixer for ALEFix?
I'm trying to use :ALEFix to run a fixer that is not pre-defined. For example, I might want to run foo -a -b index.html to format index.html with options -a and -b. foo does not read files from stdin, ...
2
votes
0
answers
93
views
ALE is displaying the errors with ansii escape sequences
I'm facing a strange problem with ALE + eslint and I don't know what is wrong
here.
Let's say I write this javascript code:
async function bootAppli+++cation() {
const element = document....
2
votes
0
answers
162
views
TypeScript: ale vs tsuquyomi?
Ale and tsuquyomi both seem to be Vim Language Servers that can interface with tsserver. Because ale supports multiple languages, is there any reason to use tsuquyomi moving forward?
I'm an old time ...
1
vote
0
answers
37
views
lstlisting environment it not treated as verbatim, which results in several false positives
ALE does not treat text inside of listing environments like verbatim, which spawns many whitespace related errors (i.e. space before punctuation marks, etc.).
I've found somewhat of an answer on ...
1
vote
0
answers
678
views
ALE project root for Python
I use ALE to run linters while editing Python code in vim. When working on code in a package, I can't get ALE to respect the pylint configuration in the project root. I've had it in .pylintrc as well ...
1
vote
0
answers
309
views
Vim ALE seems to be "ignoring" pyright
I'm having issues with setting up ale and pyright.
According to the documentation on both repos, everything should work out of the box, but that doesn't seem to be the case for me. I'm guessing it's ...
1
vote
0
answers
377
views
ale can't update the status line for golang
I've succeeded in configuring a vim-c++ environment based on the plugin YCM and the plugin ale.
I use YCM to do the auto-completion and ALE to hint me errors and warnings.
I added the config as ...
1
vote
0
answers
665
views
Autocompletion doesn't work when using ALE + deoplete
From my init.vim (I've checked that it doesn't work even with a minimal configuration):
call plug#begin()
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'dense-analysis/ale'
Plug '...
1
vote
0
answers
1k
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
0
answers
539
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
0
answers
377
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. ...
1
vote
0
answers
817
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 ...
0
votes
2
answers
100
views
ALE Code Action for python
I have a working linter with the ALE plugin.
Plugin 'dense-analysis/ale'
let g:ale_virtualtext_cursor = 0
let g:ale_python_flake8_options = '--extend-ignore=E501'
nnoremap <leader>ar :ALERename&...
0
votes
0
answers
118
views
ALE lints but does not fix
I have ALE configured to lint and fix Ruby and Javascript files. Linting works as expected - the tools are found and I get info in the location list, etc. about changes to be made.
However, fixing the ...
0
votes
0
answers
1k
views
vim 8: C++ syntax highlighting has some minor fault
I'm using vim 8 to code C++11.
I've installed the vim plugins: YCM, ALE, vim-code-dark and vim-cpp-enhanced-highlight, however, it seems that there is some error on syntax highlighting.
As you see, ...
0
votes
0
answers
156
views
ALE ale_go_govet_options not working with Shadow command
I've installed:
go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow
When run on an example script I get the expected output:
$ shadow test_shadowing.go
test_shadowing.go:10:3: ...
0
votes
0
answers
123
views
In GVim, preven ALE from changing syntax color, but still underlines errors
I am using gVim and Asynchronous Lint Engine (ALE) for linting Python scripts. I was capable to fully customize my own Python syntax highlighting, with one exception.
I can't find a way to prevent ...