AstroNvim icon indicating copy to clipboard operation
AstroNvim copied to clipboard

Preparation for v0.8

Open mehalter opened this issue 3 years ago • 7 comments

This is just a placeholder for keeping up with changes that are coming with Neovim v0.8.

TODO

  • [x] resolved_capabilities deprecated (https://github.com/neovim/neovim/pull/17814)
  • [x] nvim_cmd API addition (https://github.com/neovim/neovim/pull/18366)
  • [x] Use feline to set up winbar for breadcrumbs in active window and filename for inactive window (https://github.com/neovim/neovim/pull/18562)
  • [x] Investigate cmdheight = 0 (https://github.com/neovim/neovim/pull/16251)
  • [x] Remove deprecated filetype.lua options (https://github.com/neovim/neovim/pull/19216)
  • [ ] https://github.com/neovim/neovim/pull/19238

mehalter avatar Apr 30 '22 14:04 mehalter

The latest commit on the neovim-0.8 branch adds some winbar goodies. On the focused window it shows breadcrumbs calculated with aerial (from treesitter or LSP) and inactive splits show the filename

2022-05-25_17:23:22_screenshot

mehalter avatar May 25 '22 21:05 mehalter

Updated the winbar commit to make it look a lot nicer. Anyone using the neovim-0.8 branch should do a git pull --rebase to get the changes :) 2022-05-26_12:12:21_screenshot

mehalter avatar May 26 '22 16:05 mehalter

Added cmdheight=0 as default 2022-06-14_08:15:10_screenshot

mehalter avatar Jun 14 '22 12:06 mehalter

Im looking for breadcrumbs functionality, my previous config has it but since latest config uses a new statusline my old config for it will be harder to setup. Can this be used now? how?

flamendless avatar Jun 19 '22 13:06 flamendless

@flamendless Yeah it should be happening automatically out of the box in the winbar as shown in the screenshot with feline.

mehalter avatar Jun 20 '22 01:06 mehalter

Development here has moved to a new branch v2 that has the new Heirline migration and will just act as a global v2.0.0 development branch. I have left the neovim-0.8 branch for people who want to use the feline + winbar feature that no longer exists there, but it will not be getting future updates.

mehalter avatar Jun 28 '22 14:06 mehalter

With this new migration to Heirline we are also able to disable the WinBar on a per buffer basis. So now sidebars don't have a blank line at the top 2022-06-28_10:36:08_screenshot

mehalter avatar Jun 28 '22 14:06 mehalter

Since all of the current preparation to Neovim 0.8 is finished so far and there is an open pull request/branch also tracking this, I am going to go ahead and close this issue in favor of using the PR #715 for future discussion

mehalter avatar Aug 19 '22 12:08 mehalter

how do i get the heirline to show file name and not just filetype?

cmndrsp0ck avatar Oct 14 '22 21:10 cmndrsp0ck