linrongbin16 / fzfx.nvim

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

fix(main): expand filename when rendering lsp call #700

Closed stong1994 closed 1 month ago

stong1994 commented 1 month ago

Fix some missed references due to unhandled filenames. For example, let's consider a filename with the value '~/sdk/go1.22.3/src/runtime/runtime-gdb_test.go' at this location. When checking its existence using vim.fn.filereadable(filename), the function returns 0. However, after normalizing the filename, vim.fn.filereadable(filename) returns 1.

Regresion test

Platforms

Tasks

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.12%. Comparing base (c165556) to head (c6f711d).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #700 +/- ## ======================================= Coverage 80.11% 80.12% ======================================= Files 55 55 Lines 6453 6455 +2 ======================================= + Hits 5170 5172 +2 Misses 1283 1283 ```

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

stong1994 commented 1 month ago

I've updated the title, but CI/commits are still failing with the old title.

linrongbin16 commented 1 month ago

I've updated the title, but CI/commits are still failing with the old title.

no worry, let's ignore it.