Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

This fixes #80 - make it work on remote files #1034

Closed
wants to merge 1 commit into from

Conversation

Babar
Copy link

@Babar Babar commented Mar 24, 2014

This commit is the first draft of a PoC on how it is possible to have syntastic
work with remote files (so bcvi + netrw + syntastic = win!)

Feedback welcome!

I've never written nor hacked on vim plugins before, so it is ugly, but works.
I'll be more than happy to change the code to fit your requirements.
I think one thing we could easily do is check if the file is readable, then do nothing, and if it isn't, pass it through a regex to see if it's potentially a NetRW, and then use my temporary file (+ rename) trick.

This commit is the first draft of a PoC on how it is possible to have syntastic
work with remote files (so bcvi + netrw + syntastic = win!)

Feedback welcome!
@Babar Babar mentioned this pull request Mar 24, 2014
@lcd047
Copy link
Collaborator

lcd047 commented Mar 24, 2014

A hack that solves the 10% of the problem you care about, and leaves the other 90% of it to the maintainer to deal with. How very considerate of you. :) More comments inline.

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

Successfully merging this pull request may close these issues.

None yet

2 participants