Five more plugins from lite-xl-plugins @ 31eef29, all default VSCode
behaviors:
- selectionhighlight: highlights other occurrences of the selected word
- bracketmatch: highlights the bracket matching the one under the cursor
- colorpreview: inline swatches for #hex/rgb()/hsl() color literals
- navigate: Go Back / Go Forward cursor history (alt+left/right)
- editorconfig: applies .editorconfig files; vendored as the whole
upstream directory (parser + test harness, lite-xl test editorconfig);
builds on the bundled trimwhitespace plugin
All depend on core only (editorconfig additionally on trimwhitespace,
already shipped). Verified against the built package: all plugins load,
navigate registers its commands, and an .editorconfig with
indent_size = 2 is applied to an opened file.
Pinned to lite-xl-plugins @ 31eef29 (see debian/extra/README.source).
VSCode-style preview tabs: files opened from the treeview with a single
click open in a preview tab (titled "~ name ~") that is reused for the
next file opened and becomes a permanent tab as soon as it is edited,
double-clicked or dragged.
Verified against the running editor: single-click opens preview, opening
another file replaces it, editing promotes it to a permanent tab.
Pinned to lite-xl-plugins @ 31eef29 (see debian/extra/README.source).
Git panel integrated into the treeview pane: uncommitted changes with
diff stats, staging, commits and history, toggled from a git-branch
button in the treeview toolbar or the status bar. History is pinned to
the bottom half of the panel; commit patches open with diff syntax
highlighting from the already bundled language_diff.
Pinned to lite-xl-gitpanel @ 0731a63 (see debian/extra/README.source).
- the vendored nerdicons.lua was the pristine upstream copy, so installs
relying on the packaged plugin lost the tuned icon rendering (fractional
glyph size and default hinting made icons feel soft and uneven). Apply
the same tuning as the user config: whole-pixel icon size, hinting off,
scale-aware chevron offset.
- default config (skel + first-run template) and this repo's users keep
the status bar permanently visible: shown at startup, and the
status-bar:hide/toggle commands are no-ops.
Vendored from upstream, pinned by commit (see debian/extra/README.source):
- gitstatus, gitopen, fontconfig, open_ext, select_colorscheme,
smoothcaret, nerdicons (font mapping patched to DATADIR, Ships the
Symbols Nerd Font Mono TTF, SIL OFL 1.1)
- lite-xl-lsp (complete LSP client; idle until a language server is
configured) plus the lite-xl-widgets library it requires
- 104 language syntax plugins (none duplicate the nine bundled in core)
settings GUI left out upstream is broken: it requires a
libraries.widget.fonts widget that does not exist in
lite-xl-widgets at any revision.
Co-developed-with: ZCode (Z.ai)
- quilt patch: first-run user init.lua template now writes a tuned
default config (Dark Modern theme, JetBrains Mono with grayscale AA,
line-height/indent guides, compact treeview with hover highlight)
- new theme module usr/share/lite-xl/colors/vscode_dark.lua
- default config in /etc/skel/.config/lite-xl/ for new users
- desktop: launch via SDL software renderer with LITE_SCALE=1.5 so text
renders 1:1 on fractional-scaled Wayland outputs and avoids panfrost
GPU artifacts
- depend on fonts-jetbrains-mono for the default code font