kickstart.nvim icon indicating copy to clipboard operation
kickstart.nvim copied to clipboard

Neovim 0.12 !!!!

Open eamonburns opened this issue 8 months ago • 27 comments

Neovim 0.12 just dropped, with a bunch of features. We should consider what makes sense to add to kickstart.

Note: Replacing lazy.nvim with vim.pack is a bigger discussion than what is meant for this issue. This issue is meant for relatively small/uncontroversial changes. Also, there is already an issue open: #1630

Here are some initial things:

  • The default mappings of mini.ai clash with the new v_an and v_in mappings. ~~This is probably just a bug with mini.ai~~ (This is a known issue).
  • The 'autocomplete' option may be a good option to enable by default. I am not sure how it would interact with blink.cmp though.
  • Enabling ui2 might be a good thing to have commented out somewhere in the config. Or, maybe not 🤷‍♂️ something to think about.

eamonburns avatar Mar 30 '26 20:03 eamonburns

Yet the guide doesn't mention how to translate that. Nor does any other guide I found so far.

@Christoph-Raab Afaik, these are lazy.nvim syntax.

if you can point to where to find some resources about how to handle cmd, key and ft in pack

You don't need cmd and ft. That's for lazy loading per event and filetype.

Convert each key to vim.keymap.set(). You can one-shot with any AI model.

Adding the plugin:

vim.pack.add({ '<plugin-source-link>' })

Default settings are called via:

require('<plugin-name>').setup {}

If you have opts, put them here after omitting opts and its curly braces.

require('<plugin-name>').setup {
  -- override settings
}

Rest of the settings are as it is.

Note that plugin names are case-sensitive. If the name consists of dots or hypen, you have to write exactly like that.

And you're done :)

Here's a quick peek of my implementation. code_runner.lua

rez1-dev avatar May 16 '26 19:05 rez1-dev

@rez1-dev thanks mate, got it working. Appreceate the "kickstart" (pun intended :D )

Christoph-Raab avatar May 19 '26 06:05 Christoph-Raab

Hey guys, since nvim-treesitter got archived, what's the migration to native nvim 0.12 features? thanks!

KraXen72 avatar Jun 01 '26 11:06 KraXen72

@KraXen72 - The reason nvim-treesitter was archived was because of issues with maintaining it, not because its functionality was upstreamed into Neovim.

I don't know of any good replacement for nvim-treesitter at the moment. I have just been using the archived repo, which will become a problem once the parsers/queries are significantly updated.

eamonburns avatar Jun 01 '26 15:06 eamonburns

thanks for the info. i had previously seen some blog post about why nvim-treesitter was archived, but now trying to set up nvim, I thought that due to 0.12, this functionality was upstreamed, as was the plugin manager. I'm staying on the archived nvim-treesitter as you suggested.

KraXen72 avatar Jun 01 '26 15:06 KraXen72

FYI, nvim-treesitter go un-archived and seem to be in active development again :)

oriori1703 avatar Jul 25 '26 18:07 oriori1703

well, considering that we migrated to vim.pack, fixed the conflict with incremental selection, and skipping the other suggestions for now as I said in my earlier comment, I think I'm going to close this issue for now.

Feel free to open a discussion / PR if you have any other suggestions :)

oriori1703 avatar Jul 25 '26 18:07 oriori1703