withfig / fig

Public issue tracker for Fig.
https://fig.io
MIT License
2.06k stars 61 forks source link

Loading zdharma-continuum/fast-syntax-highlighting plugin via antigen breaks fig completions in zsh #2680

Open miesvanderrobot opened 1 year ago

miesvanderrobot commented 1 year ago

Checks

Operating system

macOS 13.4.1 (22F770820d)

Expected behaviour

Fig completions work, regardless of the zsh plugins installed

Actual behaviour

Fig completions fail to appear if zdharma-continuum/fast-syntax-highlighting plugin is loaded in the .zshrc with antigen:

antigen bundle zdharma-continuum/fast-syntax-highlighting

Completions continue to fail even if this antigen bundle is commented out and shell is restarted. Completions also do not appear after running fig doctor, but did resume finally on fig restart

Steps to reproduce

Yes, as above, use antigen to enable the plugin in the .zshrc to reproduce this behavior.

antigen bundle zdharma-continuum/fast-syntax-highlighting

Environment

fig-details:
  - 2.16.0
hardware-info:
  - model: 
  - model-id: 
  - chip-id: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  - cores: 8
  - mem: 16.00 GB
os-info:
  - macOS 13.4.1 (22F770820d)
environment:
  - shell: /bin/zsh
  - terminal: iterm
  - cwd: /Users/jvm
  - exe-path: /Users/jvm/.local/bin/fig
  - install-method: brew
  - env-vars:
    - DISPLAY: /private/tmp/com.apple.launchd.FpvcgWpxWo/org.xquartz:0
    - FIGTERM_SESSION_ID: 1d68b392-09df-4406-be90-d354298d99c2
    - FIG_SET_PARENT_CHECK: 1
    - FIG_TERM: 2.16.0
    - PATH: /Users/jvm/.local/bin:/usr/local/lib/ruby/gems/3.2.0/bin:/usr/local/opt/ruby/bin:/Users/jvm/.pyenv/shims:/Users/jvm/.pyenv/bin:/Users/jvm/.pyenv/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/opt/X11/bin:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/jvm/.fig/bin:/Users/jvm/.local/bin:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/lib:/Users/jvm/.antigen/bundles/romkatv/powerlevel10k:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/ag:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/alias-finder:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/aliases:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/brew:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/colored-man-pages:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/copybuffer:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/copyfile:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/copypath:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/dirhistory:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/docker-compose:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/git-escape-magic:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/git-extras:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/git-flow-avh:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/git-hubflow:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/gitfast:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/github:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/gitignore:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/history:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/iterm2:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/magic-enter:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/qrcode:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/ripgrep:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/scd:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/stack:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/sublime:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/systemadmin:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/thefuck:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/universalarchive:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/urltools:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/vscode:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/z:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/zsh-navigation-tools:/Users/jvm/.antigen/bundles/zsh-users/zsh-autosuggestions:/Users/jvm/.antigen/bundles/zsh-users/zsh-completions:/Users/jvm/.antigen/bundles/mroth/evalcache:/Users/jvm/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/macos:/Users/jvm/.antigen/bundles/zsh-users/zsh-syntax-highlighting:/Users/jvm/gowork/bin:/usr/local/opt/go/libexec/bin:/Users/jvm/flutter/bin:/Users/jvm/.cabal/bin:/Users/jvm/.ghcup/bin
    - SHELL: /bin/zsh
    - TERM: xterm-256color
    - __CFBundleIdentifier: com.googlecode.iterm2
    - FIG_PID: 52077
    - FIG_SET_PARENT: 1d68b392-09df-4406-be90-d354298d99c2
mschrage commented 12 months ago

Looks like this may be a compatibility issue between fast-syntax-highlighting. This is out of scope for our support unfortunately.