Package: hx Followup-For: Bug #1100003 X-Debbugs-Cc: vent...@debian.org Hi Jonas,
thanks for your reply. > There are multiple concerns here: > > # Sources for grammar plugins is not in Debian > > Either hundreds of source packages need to be introduced to Debian, or > the src:hx package would need to carry hundreds of embedded projects. > > I think the best approach is to package the sources for the more > popular grammars only, and think the best approach is that those > interested in some grammar join the tree-sitter team and file a > bugreport against hx when sources are available in Debian. Thanks for the explanation, I understand that these tree-sitter plugins should be packaged separately so they can be used by other packages such as neovim. Does that mean that the few existing tree-sitter packages for C, Lua, Markdown, etc. could already be utilized by hx? Also, would you be open to make hx depend on a reasonable set of treesitter plugins by default? > # Grammar plugins are either system-shared or personal > > If I recall correctly (it is some time ago I looked into that), > grammar plugins can be stored below /usr - but if a single plugin > exists below ~/.config/helix/runtime/grammars then the system-shared > plugins are all ignored. > > Ideally we should convince upstream to improve this, but if not then I > am willing to carry a reasonably small patch for Debian. Help making > such patch is welcome. This sounds not right, maybe this has been fixed upstream already. If not, this should probably be fixed. > # Grammar plugins slows startup of Helix > > My main concern with many plugins is not size but speed: As I recall, > I experienced a noticable slowdown in startup of Helix when many > plugins are loaded. Can you verify if that is still the case? I tried both cases: none and all tree-siter plugins and did not perceive any performance difference. Thank you for your patience, Bastian -- System Information: Debian Release: trixie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.12.17-amd64 (SMP w/16 CPU threads; PREEMPT) Kernel taint flags: TAINT_WARN Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages hx depends on: ii libc6 2.41-4 ii libgcc-s1 14.2.0-17 Versions of packages hx recommends: ii g++ 4:14.2.0-1 Versions of packages hx suggests: ii bash-completion 1:2.16.0-7 pn clangd <none> pn delve <none> pn dhall <none> pn elan <none> pn elvish <none> pn fortran-language-server <none> pn gopls <none> pn lldb <none> pn perlnavigator <none> ii python3-pylsp 1.12.0-3 pn qt6-declarative-dev-tools <none> -- no debconf information