chipsenkbeil / org-roam.nvim

Port of org-roam to neovim using orgmode
MIT License
125 stars 11 forks source link

UI wordwrap in "org-roam find" #56

Closed HotdogFighter closed 4 months ago

HotdogFighter commented 4 months ago

Bug: Each entry in the org-roam-select prompt (Leader n f ) takes up two lines instead of one.

I was having a bit of weirdness on my Windows 10 machine (nvim 0.9.5), so I made a barebones nvim install with only 0.1.0 orgroam and 0.3.4 orgmode. Looked and functioned great! Also tried with the most up to date commit of both plugins (orgroam 45153562e7bfe806d84747d6518cad714c63ca2e, orgmode cc51c1914e3f0bf20bd543a7176df5bab12ec247). Still smooth!

So I ported over things from my personal nvim init.lua to the barebones config until I found the culprit. The setting that broke the UI: vim.opt.signcolumn = 'yes'

Here's a couple screenshots to clarify. The barebones install:

without

The barebones install with vim.opt.signcolumn = 'yes':

with

Anyway, just a small bug in an otherwise killer plugin. Your youtube video overview was super helpful in showcasing the features and workflow and I transitioned immediately from my system of scattered txt files. Thanks for sharing this plugin.

chipsenkbeil commented 4 months ago

Thanks for the bug report and glad you like it!

This sounds like what https://github.com/chipsenkbeil/org-roam.nvim/pull/45 fixed, which is upstream of the 0.1.0 tag of this plugin.

If you think this fixes your issue, we can look at tagging a 0.1.1 release.

HotdogFighter commented 4 months ago

Oh wow, I must've not sync'd Lazy after updating init.lua with the latest commits. This totally fixes the issue. Big ups 👍