Skip to content

Add g:racer_insert_paren to the documentation #127

Closed
@pappasam

Description

Tl;dr auto-inserting a parenthesis for functions messes up my workflow. Setting g:racer_insert_paren = 0 overrides this behavior. This isn't documented in the README and should be.

I use https://github.com/jiangmiao/auto-pairs for completing my (), {}, and []. The auto insertion of parentheses didn't work nicely with auto-pairs and I was tolerating the workflow until I read this plugin's source code. It would be nice if we could document this option in the README.

Moreover, g:racer_insert_paren = 0 should probably default to 0. This would make vim-racer's behavior consistent with other auto-completion Plugins I've used (https://github.com/davidhalter/jedi-vim , https://github.com/ternjs/tern_for_vim , etc)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions