Questions tagged [plugin-ale]

The tag has no usage guidance.

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

ALE fails to lint or autofix, (executable check - failure)

i have ALE installed with vundle, but none of the linters seem to be executing, neither automatically nor on demand. vim starts with an error from my .vimrc: E121: Undefined variable: g:...
1
vote
0answers
25 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 ...
2
votes
1answer
35 views

How can I set up ALE to be opt-in?

I'm trying to use ALE for auto-formatting for one specific language, however it has everything turned on for all languages by default and I can't figure out how to configure it so that it's disabled ...
2
votes
1answer
25 views

Markdown toc disappears on save since I installed ALE linter

I am using the markdown extension plasticboy/vim-markdown to navigate inside large markdown files: " :Toc : create a quickfix vertical window navigable table of contents with the headers." Since I ...
1
vote
0answers
70 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
1answer
59 views

Disable trailing whitespace lint warnings for Markdown file

I use vim 8 and ALE plugin. On a markdown page, I see the following from ALEInfo Current Filetype: markdown Available Linters: ['alex', 'languagetool', 'markdownlint', 'mdl', 'proselint', 'redpen', '...
0
votes
0answers
304 views

ALE for golang-syntax checking is not working

I'm trying to build an environment for my vim to code golang. I've installed the Golang with the version 1.14 in the path of /usr/local/go. Also, I installed the vim-plugin ALE and vim-go. Here is ...
0
votes
0answers
88 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, ...
1
vote
0answers
80 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 ...
0
votes
0answers
52 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
0answers
30 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 ...
0
votes
1answer
339 views

Python Language Server Protocol with virtual environment

Can anyone help me get things like "Go to definition" working with Neovim and Python virtual environments? My setup currently uses a specific virtual environment for Neovim (as recommended by :...
1
vote
0answers
316 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 '...
2
votes
1answer
73 views

Is it possible to disable the column on the left that is created by ALE?

I installed the ALE plugin, and I really like the highlighting, though the sign column shown in the far left of this image is distracting to me and seems unnecessary given that errors and warnings are ...
2
votes
1answer
123 views

ALE Error and warning highlighting gets disabled when termguicolors is enabled

I have the ALE extension installed, and would like it to highlight errors and warnings, however when :set termguicolors is enabled, the Here's a screenshot of the problem: set termguicolors ...
3
votes
2answers
405 views

How to break-up gutter fights?

There a number of types of plugins use the Vim gutter to display Git status, syntax correctness, linting and code formatting. But how can conflicts be managed when multiple plugins want to update the ...
2
votes
1answer
398 views

How do I configure the parameters that ALE sends to prettier for ruby?

Note: this is a neovim question, not stock vim I have both rbprettier and prettier with the ruby plugin installed on my system. If I pipe a Ruby file into rbprettier, or if I pipe it into prettier --...
1
vote
1answer
343 views

ALE + clangtidy + large file = big delay when linting

I am using ALE plugin with clangtidy linter to lint my C code and whenever I save my file and this linter gets activated it takes around 3-4 seconds for it to check for errors. File in question is ...
3
votes
2answers
96 views

How to disable Ale if PAGER mode is enabled

I use both Ale and VIM pager plugins. But for obvious reasons I want to disable some Vim features and plugins in the "less" mode. But if I put as recommended this piece of code in my .vimrc it still ...
2
votes
1answer
213 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
336 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
votes
1answer
85 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
588 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
255 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
vote
1answer
439 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 ...
1
vote
0answers
262 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
241 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
2answers
4k 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
366 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 ...
1
vote
0answers
1k 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
1answer
548 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 = { \...
1
vote
0answers
48 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 ...
2
votes
1answer
1k 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
74 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
756 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 ...
3
votes
1answer
481 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) ...
20
votes
2answers
6k 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 ...