linrongbin16 / fzfx.nvim

A Neovim fuzzy finder that updates on every keystroke.
https://linrongbin16.github.io/fzfx.nvim/
MIT License
122 stars 5 forks source link

feat(previewer): improve bat theme again #564

Closed linrongbin16 closed 7 months ago

linrongbin16 commented 7 months ago

good news:

  1. fix bat theme auto-gen
  2. improve treesitter-based highlights
  3. support @lsp semantic token highlights: https://neovim.io/doc/user/lsp.html#lsp-semantic-highlight

tm theme:

Regresion test

Platforms

Tasks

codecov[bot] commented 7 months ago

Codecov Report

Attention: 66 lines in your changes are missing coverage. Please review.

Comparison is base (584846a) 75.48% compared to head (c09fa3c) 76.99%.

Files Patch % Lines
lua/fzfx/detail/bat_helpers.lua 89.54% 32 Missing :warning:
lua/fzfx/helper/bat_themes.lua 65.43% 28 Missing :warning:
lua/fzfx/helper/colorschemes.lua 72.72% 3 Missing :warning:
lua/fzfx/helper/previewers.lua 70.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #564 +/- ## ========================================== + Coverage 75.48% 76.99% +1.51% ========================================== Files 50 51 +1 Lines 5903 5995 +92 ========================================== + Hits 4456 4616 +160 + Misses 1447 1379 -68 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

linrongbin16 commented 7 months ago

I will say it's now 80% close to lua/rust/C++/bash/python.