Comments (13)
Nah, always raise issues. Otherwise nothing gets fixed. Thank you for
letting me know. 👍
On Sun, 2 Oct 2016, 17:54 Shookit, [email protected] wrote:
Yeah, I wouldn't normally raise the issue, but it's a fairly popular
plugin, so I figured it would be worth bringing up—
You are receiving this because you commented.Reply to this email directly, view it on GitHub
#23 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADWuvrCpzSoemHqscqHIQNTKCOr_dRusks5qv9O_gaJpZM4KMCj7
.
from ale.
Yeah, I wouldn't normally raise the issue, but it's a fairly popular plugin, so I figured it would be worth bringing up
from ale.
I've never used gitgutter myself. I wonder if this plugin can be made to be
compatible somehow. I might look into this a little later. It might be a
simple matter of making one plugin or the other only clear particular types
of signs, or remember which signs were set to clear them again.
On Sun, 2 Oct 2016, 17:50 Shookit, [email protected] wrote:
When using the gitgutter plugin, which adds git changed/added/removed
annotations to the left gutter, ale seems to be in competition for the
gutter space. I see gitgutter's annotations flash briefly, and are then
overwritten when ale finishes processing with either nothing, or with
whatever syntax issues ale found.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#23, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADWuvgIM-pQrTbCS-pLILkErIAOGBST8ks5qv9K0gaJpZM4KMCj7
.
from ale.
If I remember well, vim allows only one sign in the gutter, so its quite hard to make those kind of plugins work together.
from ale.
Similar issue with Syntastic and gitgutter: airblade/vim-gitgutter#1
The best compromise from the thread is to simply display both gitgutter and linter signs, while giving higher preference to linter signs.
Main issue now is that ALE deletes the entire sign column every time https://github.com/w0rp/ale/blob/master/plugin/ale/sign.vim#L35
Instead, it should only find and delete its own signs, like gitgutter does, so that lines that aren't being used for lint errors can still display diff or other symbols
https://github.com/airblade/vim-gitgutter/blob/master/autoload/gitgutter/sign.vim#L13
https://github.com/airblade/vim-gitgutter/blob/master/autoload/gitgutter/sign.vim#L70
from ale.
For now, you can disable the ALE signs if you only want to see the
gitgutter signs. There's a global variable you can set to 0
in your
vimrc, written in the flags file.
from ale.
I just added support for displaying both sets of signs at the same time now. Try it out. Let me know if I broke everything horribly, let me know what works, etc. Here is how I went about it.
- I added some options for setting the sign IDs, which must be numbers, with a rather high offset beyond what gitgutter uses. There are some new globals you can modify to change these. I'll document these in the eventual documentation I intend to write for all of the global variables you can set.
- I now parse the current sign IDs specific to ALE, and attempt to remove only the signs we placed.
- I moved the "always keep the gutter open" code around so it lies entirely in the
sign.vim
file now.
One issue might be that the ALE signs might not take precedence properly. I'll let someone who uses ALE and gitgutter together check that. It's probably not that hard to fix if that's happening.
from ale.
I noticed that error signs stoped to dissapear:
https://asciinema.org/a/7zxbqvad07iyf5f151s9bjc4y
from ale.
Just gave it a try, everything looks great on my end!
from ale.
@deathmaz Did I introduce a bug with it not clearing signs, perhaps? Try pulling the latest code and see if the signs are ever removed.
I'll let the dust settle on this issue a little until everything seems to be working well.
from ale.
Everything works fine after update 👍
Thank you!
from ale.
Is ale signs suppose to overwrite git signs?
I am using https://github.com/mhinz/vim-signify, and also tried https://github.com/airblade/vim-gitgutter.
from ale.
ALE is supposed to avoid removing other signs if it can. I suppose it could display over top of other signs. If you have a specific issue, open a GitHub issue for it, and I or someone else can take a look. There are a few documented options for changing the IDs ALE uses for signs, in an attempt not to conflict with other plugins. ALE parses :sign place
output to try and identify its signs when removing signs, rather than clearing everything.
from ale.
Related Issues (20)
- Support hurlfmt as fixer and linter
- Add support for include-what-you-use
- Add support for basedpyright
- rust ALEGoToDefinition does not trigger any action HOT 1
- ALE linting .tsx as .ts files when using Biome
- [Biome] Linter not usable
- Should/could ALE pass --no-fix argument to ruff when linting (to override project configuration)? HOT 5
- ALEHover text not appearing in floating preview HOT 1
- Cannot use ALE in MacVim when the file is opened via the right-click context menu or the File > Open dialog in MacVim HOT 2
- error loading shared lib: libicui18n.so.73 HOT 1
- json linting with jq doesn't report errors correctly
- On Windows 11, shell=pwsh/powershell continues breaking ALE lint HOT 1
- `write-good` plugin need make separate files that only have text
- cspell option “-c config.yaml” not work
- `sqlfluff` does not work in Neovim, throws an error when trying to lint an opened file HOT 1
- Signs cannot be customized HOT 5
- ALEFix with clangtidy not updating the buffer HOT 1
- clang++ command not getting correct include paths
- error highlights entire function
- Add support for pymarkdown
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ale.