Neovim 0.12 !!!!
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.aiclash with the newv_anandv_inmappings. ~~This is probably just a bug withmini.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
ui2might be a good thing to have commented out somewhere in the config. Or, maybe not 🤷♂️ something to think about.
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,keyandftin 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 thanks mate, got it working. Appreceate the "kickstart" (pun intended :D )
Hey guys, since nvim-treesitter got archived, what's the migration to native nvim 0.12 features? thanks!
@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.
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.
FYI, nvim-treesitter go un-archived and seem to be in active development again :)
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 :)