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

vim-racket interacts poorly with syntastic #9

Closed
ezyang opened this issue Jan 16, 2014 · 3 comments
Closed

vim-racket interacts poorly with syntastic #9

ezyang opened this issue Jan 16, 2014 · 3 comments

Comments

@ezyang
Copy link

ezyang commented Jan 16, 2014

(Don't know if I should file a bug at syntastic instead.) When I have both syntastic and vim-racket in my bundle directory (vanilla install, no extra .vimrc configuration besides pathogen infect), running ':w' on even a small Racket file, e.g.

#lang racket
(require redex)

results in vim hanging for a few seconds. I don't really know how you'd go about debugging this, but removing either syntastic or vim-racket resolves the problem.

@ezyang ezyang closed this as completed Jan 16, 2014
@xandkar
Copy link

xandkar commented Nov 8, 2020

@ezyang Did you ever find a satisfactory solution to this? I just hit upon the same behavior, did some rudimentary debugging and narrowed it down to having let g:syntastic_enable_racket_racket_checker = 1 in my .vimrc.

Whatever Racket file is being edited, writing (:w) causes it to be executed - side effects and all 😱

Demo:

$ cat foo.rkt
#lang racket

(display-to-file "bar" "foo")

$ cat foo
cat: foo: No such file or directory

$ vim -c 'wq' foo.rkt

$ cat foo
bar

I noticed the behavior when editing a file with an infinite loop ... :)

@xandkar
Copy link

xandkar commented Nov 8, 2020

I set it to 0 in the meantime, BTW.

@xandkar
Copy link

xandkar commented Nov 8, 2020

Yep, known issue with syntastic: vim-syntastic/syntastic#1773

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

No branches or pull requests

2 participants