Skip to content

feat: file preview syntax highlighting - #289

Open
ThatOneCalculator wants to merge 2 commits into
noctalia-dev:mainfrom
ThatOneCalculator:feat/syntax-highlighting
Open

ThatOneCalculator wants to merge 2 commits into
noctalia-dev:mainfrom
ThatOneCalculator:feat/syntax-highlighting

Conversation

@ThatOneCalculator

@ThatOneCalculator ThatOneCalculator commented Dec 2, 2026 •

Copy link
Copy Markdown

Summary

Added syntax highlighting to the file preview via bat, and made text expandable and selectable in the expanded preview

Motivation

I was looking through my files and thought it'd be nice to see syntax highlighting

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring
  • Build / packaging
  • Documentation only

Related Issue

#133

Testing

Manual testing + test suite

Screenshots / Videos

image image image image

Checklist

  • This PR is ready for review, or it is marked as Draft.
  • This change fits SCOPE.md, or its scope was agreed in an issue or on Discord first.
  • I read and followed the relevant guidance in CONTRIBUTING.md.
  • I ran just format, or this PR has no C++ changes.
  • I ran just lint and the relevant build or test commands, or explained why they were not run.
  • I ran just role-alpha-check, or this PR does not change UI colors.
  • I tested the change in a running Luciole where automated checks are insufficient.
  • I self-reviewed the changes.
  • I checked for new warnings or errors.
  • I updated docs/, or this PR does not change user-facing behavior or settings.
  • I used canonical names for settings, paths, and identifiers.

Additional Notes

bat should be added to optdeps of the luciole-git AUR PKGBUILD

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.

1 participant