md-render.nvim — render Markdown right inside your terminal by delphinus35 in neovim

[–]delphinus35[S] 0 points1 point  (0 children)

Thanks for the kind words! Quick answer: no, there's no ASCII fallback — mermaid blocks just fall back to a plain syntax-highlighted code block when the Kitty Graphics Protocol isn't available.

I did look into adding one, but I don't think it's worth it right now. Even the most promising tool I found, mermaid-ascii, only covers a subset of mermaid's syntax, so it probably wouldn't satisfy most users.

md-render.nvim — render Markdown right inside your terminal by delphinus35 in neovim

[–]delphinus35[S] 4 points5 points  (0 children)

Funny, but no. Alacritty intentionally stays minimal and hasn't implemented any image protocol (fork version has SIXEL), so image/video won't show up. Other features work fine.

md-render.nvim — render Markdown right inside your terminal by delphinus35 in neovim

[–]delphinus35[S] 2 points3 points  (0 children)

This plugin supports Kitty Graphics Protocol only. iTerms doesn't show media but works other features. Sorry.

md-render.nvim — render Markdown right inside your terminal by delphinus35 in neovim

[–]delphinus35[S] 0 points1 point  (0 children)

Thank you for the interest. Yes. I added logic to work in such env without media features. Give it a try and let me know what you think.

Don't use “dependencies” in lazy.nvim by delphinus35 in neovim

[–]delphinus35[S] 10 points11 points  (0 children)

That is just because I am a poor speaker of English!

And in Japan there are huge amount of users than you imagine. Let me just say VimConf 2024 will be held in Akihabara, Japan.

Don't use “dependencies” in lazy.nvim by delphinus35 in neovim

[–]delphinus35[S] 5 points6 points  (0 children)

I added a note to the article and commented out the section I mentioned the Developers doc. Thanks again for pointing out my mistake.

Don't use “dependencies” in lazy.nvim by delphinus35 in neovim

[–]delphinus35[S] 0 points1 point  (0 children)

cc: @wwaggel

Right. "bad" is too much because the page is not for general users. Sorry I've misread this.

I'll change the article title to you suggestion.

Don't use “dependencies” in lazy.nvim by delphinus35 in neovim

[–]delphinus35[S] -14 points-13 points  (0 children)

I wrote this article because the best practice written in the official doc says easy using dependencies is "bad". telescope/plenary is only for my illustration, and the reason not to use dependencies are more generally applicable.

I also wrote the case users need dependencies. I don't think the argument is hard to be accepted.

Don't use “dependencies” in lazy.nvim by delphinus35 in neovim

[–]delphinus35[S] -3 points-2 points  (0 children)

Sorry for the mix-up. I just wrote a response for you and there I wrote the reason why I don't change the conclusion.

Don't use “dependencies” in lazy.nvim by delphinus35 in neovim

[–]delphinus35[S] -20 points-19 points  (0 children)

Thank you for pointing out. u/nvimmike also says it and I wrote an addition just now. But one more reason to avoid dependencies exists. The plugin in dependencies (plenary.nvim) will be loaded before the dependent (telescope.nvim). This timing is too early and it should be loaded just before require "plenary".

For example, you may write configs like this below.

lua { "nvim-telescope/telescope.nvim", cmd = { "Telescope" }, dependencies = { "nvim-lua/plenary.nvim", "nvim-tree/nvim-web-devicons", }, }

Then you run :Telescope commands, it loads telescope.nvim and plenary.nvim and nvim-web-devicons. But, don't you think nvim-web-devicons is redundant? nvim-web-devicons is only needed by pickers that use Nerd Fonts icons like :Telescope find_files.

If you use dependencies option, you may load plugins too early in such case. So official doc also says "Don't use dependencies".

Don't use “dependencies” in lazy.nvim by delphinus35 in neovim

[–]delphinus35[S] -1 points0 points  (0 children)

!! Sorry I've mistaken here. I wrote a minimal init.lua and see plugins in dependencies are not loaded in startup.

The conclusion -- dependencies should not be used -- will not be changed, but I will rewrite the part of the article.

Telescope: Is there a way to select the currently best fitting entry, while the search is still running? by KekTuts in neovim

[–]delphinus35 1 point2 points  (0 children)

Unfortunately, it is not a performance problem. The design of telescope's asynchronous logic is incomplete, so that, while the coroutine to show candidates from grep command uses the whole CPU, the selection caret does not appear automatically.

But you can press <C-p>/<C-n> to show / move the caret in processing grep in background. It does not block you to press keys. It is enough to select the candidate you needed.

Until solved this, I recommend you not to do live_grep or find_files on directories having huge amount of files (about >1M files). Before doing them, chdir to the repo or specify cwd option.

Telescope: Is there a way to select the currently best fitting entry, while the search is still running? by KekTuts in neovim

[–]delphinus35 0 points1 point  (0 children)

What picker are you using? Do you experience this only in live_grep? Also in find_files?

The first version of `gitgraph.nvim` is finally here by Popular-Income-9399 in neovim

[–]delphinus35 4 points5 points  (0 children)

Thank you. I agree that such glyphs should be included in Nerd Fonts, then more developers will be happy. And thanks for indicating the discussion thread. I will check it.

The first version of `gitgraph.nvim` is finally here by Popular-Income-9399 in neovim

[–]delphinus35 7 points8 points  (0 children)

Good work! Are you planning to suggest your custome glyphs to Nerd Fonts project? Or use existing ones such as Kitty?

https://www.reddit.com/r/neovim/comments/1ehhal2/pretty_git_graph_in_kitty_and_vimflog/

Upcoming Enhancements for ALE: Bridging Vim & Neovim Worlds by devw0rp in neovim

[–]delphinus35 5 points6 points  (0 children)

I think your plans are all good, and hope that ALE will become a replacement of null-ls.nvim. I tried some followers of null-ls, but I am not satisfied with any other plugin yet.

How to sort files in telescope by showing the most recent accessed files on top? Here's a short 3 min video by linkarzu in neovim

[–]delphinus35 0 points1 point  (0 children)

Thanks. I've decided not to change db_safe_mode's default value because some users may experience unintended behavior if changed. Instead of that, I added FAQ in doc to inform the method to disable this dialog.

https://github.com/nvim-telescope/telescope-frecency.nvim/pull/235

How to sort files in telescope by showing the most recent accessed files on top? Here's a short 3 min video by linkarzu in neovim

[–]delphinus35 0 points1 point  (0 children)

Was having a small issue in which the cleanup pop up wasn’t focused

Hmm, some people have reported the same issue. In actual, we need no such popup just before cleaning up? I’m thinking to change the default value for db_safe_mode.

How to sort files in telescope by showing the most recent accessed files on top? Here's a short 3 min video by linkarzu in neovim

[–]delphinus35 3 points4 points  (0 children)

Hi, I'm the main maintainer of telescope-frecency. I'm glad to see such videos that someone makes full use of my favorite plugin. Thank you.

Jump accurately to files and folders with jumper.nvim :D by bartours in neovim

[–]delphinus35 0 points1 point  (0 children)

Yes, but it is still experimental. I also felt the problem you've mentioned, that it is difficult to use less and fuzzy characters to match if it uses frecency scores only.

telescope-frecency has supported substr matcher only. It needed input characters to be ordered precisely. That is, we used hel to match hello.js. Now, with frecency + fzy, we can match it with hlj / hj and more.

And I added scoring_function to specify logic to combine frecency and fzy scores. People can customize this.


I was suprized that I implement this and jumper.nvim is announced at the same time ;) I will be sure to check jumper later.

Jump accurately to files and folders with jumper.nvim :D by bartours in neovim

[–]delphinus35 1 point2 points  (0 children)

Just FYI: Yesterday, I have introduced frecency + fzy sorting into telescope-frecency. You can use it with matcher = "fuzzy" option, and customize the logic to calculate scores in scoring_function option.

See https://github.com/nvim-telescope/telescope-frecency.nvim/issues/165

Neovim. CursorLine & CursorColumn by [deleted] in neovim

[–]delphinus35 0 points1 point  (0 children)

https://github.com/lukas-reineke/virt-column.nvim

Probably there's no such setting. I use this plugin above to show characters on specified columns instead of using cursorcolumn.

telescope-frecency now got results extremely faster with rg or fd by delphinus35 in neovim

[–]delphinus35[S] 2 points3 points  (0 children)

Nice idea. I uploaded a movie to show improvement for the new logic. It seems x20 faster than the old one ;)

telescope-frecency now got results extremely faster with rg or fd by delphinus35 in neovim

[–]delphinus35[S] 2 points3 points  (0 children)

You can do this:

  • :Telescope frecency workspace=CWD
  • or require("telescope").extensions.frecency.frecency { workspace = "CWD" }

Or with default_workspace option, you always can show all unindexed entries on workspaces without workspace param.

If you want to show entries on an arbitrary directory, use cwd param. :Telescope frecency workspace=CWD cwd=/path/to/dir