Skip to content

Respect no_plugin_maps/no_rust_maps settings#507

Open
LarsHaalck wants to merge 1 commit intorust-lang:masterfrom
LarsHaalck:master
Open

Respect no_plugin_maps/no_rust_maps settings#507
LarsHaalck wants to merge 1 commit intorust-lang:masterfrom
LarsHaalck:master

Conversation

@LarsHaalck
Copy link

I noticed that the rust ftplugin does not respect no_rust_maps or no_plugin_maps and just sets keymaps unconditionally. Many other filetype plugins do this and it is also documented in the official docs.

This PR adds a check to see if one of the variables is set.

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

Successfully merging this pull request may close these issues.

1 participant