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

Custom snippet paths should be expanded #835

Closed
olimorris opened this issue Dec 31, 2024 · 1 comment
Closed

Custom snippet paths should be expanded #835

olimorris opened this issue Dec 31, 2024 · 1 comment
Labels
feature New feature or request

Comments

@olimorris
Copy link

olimorris commented Dec 31, 2024

Feature Description

I'm loving the native snippets implementation. I'm choosing to add my own custom snippet location like so:

sources = {
  default = {  "lsp", "path", "snippets", "buffer" },
  providers = {
    snippets = {
      opts = {
        search_paths = { "/Users/Oli/.config/snippets" },
      }
    },
  }
}

However, if I change the path to ~/config/snippets it doesn't work. happy to add this as a PR.

@olimorris olimorris added the feature New feature or request label Dec 31, 2024
@Saghen
Copy link
Owner

Saghen commented Jan 1, 2025

PR welcome!

@Saghen Saghen closed this as completed in 8a64275 Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants