garymjr / garymjr/nvim-snippets

Can I autoexpand snippets?

Open
#56 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
259
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Is there a way to auto-expand snippets? I would like to be able to auto-expand custom snippets, e.g. when typing `mk` in a `.tex` document, I would like to automatically be put into inline math mode without having to confirm the selection with another keypress.

I am using LazyVim with Neovim v0.10.1 and nvim-cmp. Thank you!

Contributor guide

No contributing guide indexed for this repository

Research direction

No implementation file or test is identified in the issue. Start by reviewing how nvim-snippets handles expansion alongside nvim-cmp in Neovim, then determine whether automatic expansion can be supported without a confirmation keypress. Done should be demonstrated by a custom `mk` snippet expanding automatically in a `.tex` document.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.