Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I customize the mark char used on the border? #2010

Open
3 of 9 tasks
LionyxML opened this issue Mar 15, 2023 · 2 comments
Open
3 of 9 tasks

How do I customize the mark char used on the border? #2010

LionyxML opened this issue Mar 15, 2023 · 2 comments

Comments

@LionyxML
Copy link

Checklist

  • I have searched existing issues and StackOverflow for solutions.
  • I have read the Flycheck manual.
  • I have read the Troubleshooting Guide.
  • I have checked my issue has not been reported yet.

Problem description

I can't find anything about it, sorry if this is trivial.

I moved my flycheck marks to the right so it won't be conflicting with git-gutter.

The thing is I use it on the border, and not the fringe, so I can still use it on the terminal.

And I can't find where I can customize this chars, since they're "pointing" to the right, and I want it to change to something else:

My right border:
image

Everything I manage to find about this mark is related to bitmap on the fringe, not a char on the border. Is this even customizable?

Steps to reproduce

Steps to reproduce the behavior:

  1. make an error
  2. move the flycheck marks to the right

Expected behavior

A clear and concise description of what you expected to happen.

Emacs configuration:

  • Plain Emacs / Custom configuration
  • Spacemacs
  • Doom Emacs
  • Other shared configuration

Additional notes

Add any other context about the problem here.

@LionyxML
Copy link
Author

LionyxML commented Mar 19, 2023

I am kind of suspecting this is a bug.

There's a flycheck-fringe-bitmap-double-left-arrow and its high res version, but they seem to be used in the code.

At least there's nothing that forces it to be used when the margin or fringe is set to the right.

https://github.com/flycheck/flycheck/blob/master/flycheck.el#L4409

I think it should've been something around here to conditionally choose the right "arrow".

The same is for margin, but in that case it defaults to flycheck-default-margin-str.

@LionyxML
Copy link
Author

Seemed to be an easy fix. I just opened this PR :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant