SirVer / ultisnips

UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
GNU General Public License v3.0
7.55k stars 691 forks source link

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

Open kurkale6ka opened 1 year ago

kurkale6ka commented 1 year ago

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

1. 2. 4.