garymjr / garymjr/nvim-snippets

How to load custom snippets from package

Open
#65 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

Hello,
I'm trying to load additional snippets from a repo installed via my package manager (Lazy.vim in my case) but I can't seem to make them work with nvim-snippets.

The snippets in question are from [https://github.com/budimanjojo/k8s-snippets/](https://github.com/budimanjojo/k8s-snippets) and they cite being compatible with plugins that use `friendly-snippets`, but I don't quite get how to.

I tried simply installing them and adding them as dependencies to nvim-snippets but none work.

I'm using a config based off of LazyVim, this is where I try to set up k8s-snippets:

https://github.com/IAMSolaara/dotfilesNVIM/blob/a7e8cf2ec202634e9ef7acd7e9706a67004e87cd/lua/plugins/yaml_kube.lua#L59

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the referenced lua/plugins/yaml_kube.lua configuration and compare how nvim-snippets discovers snippets with the k8s-snippets repository's stated friendly-snippets compatibility. Determine whether the project needs usage documentation or a configuration example, and consider the issue resolved when the supported setup for loading external snippets is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
developer-experience, tooling
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.