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

Added flymake backend #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Added flymake backend #3

wants to merge 2 commits into from

Conversation

Gavinok
Copy link

@Gavinok Gavinok commented Feb 2, 2023

Simple as that, added a flymake backend which is fully async making this one less dependency for users to try carp

Copy link
Contributor

@eriksvedang eriksvedang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't actually make this work... at least I don't get any squiggly red lines (which I do get from flycheck). How do I interact with flymake once I'm in a carp-mode buffer?

carp-flymake.el Outdated Show resolved Hide resolved
@Gavinok
Copy link
Author

Gavinok commented Feb 4, 2023

I couldn't actually make this work... at least I don't get any squiggly red lines (which I do get from flycheck). How do I interact with flymake once I'm in a carp-mode buffer?

Hmm was flymake mode running? Maybe I should have put this instead

(require 'carp-flymake)

(add-hook 'carp-mode-hook
	  (lambda ()
	    (carp-setup-flymake-backend)
	    (flymake-mode t)))

Here it is in action
flymake-carp

It isn't exactly the fastest since it's spawning the checker more than it needs to. I need to see if I can restrict it to only spawn on save

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

Successfully merging this pull request may close these issues.

2 participants