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

feat(SnippyEdit): open snippet file on curret ft #133

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

saccarosium
Copy link
Contributor

Hi,
this PR makes SnippyEdit open directly the corresponding snippet file, of the current filetype, when is called without arguments.

Calling SnippyEdit on a cpp file will result in opening $XDG_CONFIG_HOME/nvim/snippets/cpp.snippets.

This is very helpfull when creating snippets while editing a file. I have a mapping to open quickly my snippets, edit them and then continue working.

@dcampos dcampos merged commit 4750d71 into dcampos:master Apr 29, 2024
2 of 3 checks passed
@dcampos
Copy link
Owner

dcampos commented Apr 29, 2024

Good idea. Thanks!

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.

2 participants