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

UltiSnips wrongly detects sh in addition to my zsh snippets #1520

Open
kurkale6ka opened this issue Feb 10, 2023 · 0 comments
Open

UltiSnips wrongly detects sh in addition to my zsh snippets #1520

kurkale6ka opened this issue Feb 10, 2023 · 0 comments

Comments

@kurkale6ka
Copy link

UltiSnips wrongly detects sh in addition to my zsh snippets.

A *sh.snippets detection must be happening and that * also matches z, thus zsh.snippets

The problem is then that I am always proposed with:

  1. expand from sh snippets
  2. expand from zsh snippets

This is why I moved zsh snippets to their own rtp directory conflictingUltiSnips and then it works. So I do have a workaround but a fix would be better.

Expected behavior:
Not to make me select between sh and zsh snippets

Actual behavior:
A selection of choices (sh, zsh) is proposed even though my actual filetype is zsh

Steps to reproduce
See description above


  • Operating System: Amazon Linux 2
  • Vim Version: NVIM v0.9.0-dev-869+g964ae205a
  • UltiSnips Version: latest
  • Python inside Vim: 3.11
  • Docker repo/vimrc: N/A
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

No branches or pull requests

1 participant