Skip to content

Shouldn't define a function in vim module #8

Closed
@brianhuster

Description

@brianhuster

The vim module is for Neovim's built-in functions, so I don't think it's a good idea to create function for it. What if Neovim actually add a function vim.snippet.add later, that has different spec than the one used in your NativeVim? Then users will have to update or remove it, if they don't want it to even break plugins that use it

As an user, I would recommend user-config-defined functions to live in user or config module instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions