Skip to content

Add language_zsh syntax highlighting for Zsh#30

Open
merlindiavova wants to merge 1 commit intopragtical:masterfrom
merlindiavova:language-zsh
Open

Add language_zsh syntax highlighting for Zsh#30
merlindiavova wants to merge 1 commit intopragtical:masterfrom
merlindiavova:language-zsh

Conversation

@merlindiavova
Copy link
Contributor

  • Recognises common Zsh files like .zshrc, .zshenv, .zprofile, etc.
  • Built off the language_sh syntax plugin.

- - Recognises common Zsh files like `.zshrc`, `.zshenv`, `.zprofile`, etc.
@jgmdev
Copy link
Member

jgmdev commented Sep 11, 2025

if we are going to have a dedicated language plugin for zsh then .zsh extension should be dropped from language_sh to prevent it from stepping over language_zsh

Edit: noticed that the language file has mixed indentation types, tabs and spaces. Also, besides .zshrc, .zshenv, .zprofile are there any special patterns? if not, maybe it would be better to just add those extensions to language_sh saw the additional keywords and some other differences.

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

Successfully merging this pull request may close these issues.

2 participants