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 plugin? #41

Open
joereynolds opened this issue May 29, 2018 · 0 comments
Open

Vim plugin? #41

joereynolds opened this issue May 29, 2018 · 0 comments

Comments

@joereynolds
Copy link
Owner

Should be easy now we can pipe via stdin.

In Vim:
Get all classes and ids of the currently opened file,
loop through and call mort

pseudocode

let idsAndClasses = getIdsAndClasses(myfile.css);

for idOrClass in idsAndClasses:
    echo "idOrClass" | mort

    if no results found:
        populate the gutter with a sign
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

1 participant