Skip to content

Support windows (cmd.exe) #14

@SuperCuber

Description

@SuperCuber

The command generation in this part of the code:

let l:dep_vector = printf('''[%s "%s"]''', dep, inj['version'])

uses single quotes which don't properly work on Windows.

I only tried :Lein, but a successful command for Windows looks like:

lein update-in :dependencies conj "[refactor-nrepl/refactor-nrepl \"3.6.0\"]" -- update-in :repl-options:nrepl-middleware conj refactor-nrepl.middleware/wrap-refactor -- update-in :plugins conj "[cider/cider-nrepl \"0.30.0\"]" -- repl

I think this command should also work on unix shells.

I would make a PR but I definitely do not know my way around vimscript well enough 🙃 for now I'll hard-code this into my config

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions