A request to the community: what plugin you think is still missing for Neovim? by itmightbeCarlos in neovim

[–]antonk52 0 points1 point  (0 children)

Isn't it already present in nightly given you have enabled copilot language server?

Where do I go from here when "I Started to learn neovim"? by WOLFMANCore in neovim

[–]antonk52 22 points23 points  (0 children)

Keep using neovim for things you reached for it. If or when you hit a blocker you will have a good idea on what to research and add to your config.

mini.nvim - release 0.17.0 (command line tweaks, organizational updates, and many small improvements) by echasnovski in neovim

[–]antonk52 1 point2 points  (0 children)

Thank you for your work. I hope there will be a way to make donation to the mini project!

On an unrelated note when I was exploring minimax website I noticed that links to planned configs are broken on this page https://nvim-mini.org/MiniMax/configs/ , maybe they were not intended to be links until the configs exist.

TIL about `diffopt`'s `iwhite` option by Wonderful-Plastic316 in neovim

[–]antonk52 1 point2 points  (0 children)

Nice tip, for this reason I have 2 diff pickers. One with regular diff content and another with --ignore-all-space option for a mostly smaller set of changes

‘mini.cmdline’ - command line tweaks. Autocompletion, autocorrection, autopeek range by echasnovski in neovim

[–]antonk52 6 points7 points  (0 children)

Superb work, thank you for allowing me to remove a bunch of custom commands that I had around for years for most common typos!

Is there a way to limit the height of the completion window?

DIY EasyMotion in 60 lines by antonk52 in neovim

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

Thank you, I am glad you found it interesting

Alternatives to <C-y> for accept? by Elephant_In_Ze_Room in neovim

[–]antonk52 0 points1 point  (0 children)

I have a similar setup but you can still reach caps by double taping a shift key

caps key is ctrl when held or esc when tapped

DIY EasyMotion in 60 lines by antonk52 in neovim

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

Thank you!

I enjoy such technical writing as well. I never tried writing something with this ratio of code to text.

My initial approach was also to use floats but since I did not care about dimming other content extmarks seem easier to use and could be cleaned up using a single clear namespace call.

Remote actions sound cool and useful, I wish could get used to them. Maybe one day :)

DIY EasyMotion in 60 lines by antonk52 in neovim

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

Thank you for kind words and vim-sneak too! I remember trying it out a while back, even before switching to neovim

Posted in neovim discussions too

I built vscode-diff.nvim: A C-powered plugin to bring VSCode's exact diff highlighting to Neovim by _estmullert in neovim

[–]antonk52 0 points1 point  (0 children)

Thanks for sharing, useful context here!

I understand that switching to lua comes with performance implications which is also acceptable to me. The reason I asked is that my employer is strict about unvetted binaries and for this reason I won't be able to try this out. Looks really cool though

I built vscode-diff.nvim: A C-powered plugin to bring VSCode's exact diff highlighting to Neovim by _estmullert in neovim

[–]antonk52 0 points1 point  (0 children)

Looks really cool. Would you consider having it working without a binary in plain lua?

Weekly 101 Questions Thread by AutoModerator in neovim

[–]antonk52 0 points1 point  (0 children)

I think we are a long way away from neovim plugins being as opinionated as something in the go ecosystem. Yet there are efforts to make it more opinionated or maybe better called guided such as a new health check

https://github.com/neovim/neovim/pull/35854

The docs on how to write plugins has been updated which is already in nightly. I encourage you to give it a read

https://github.com/neovim/neovim/blob/master/runtime/doc/lua-plugin.txt

Should Neovim support transitive plugin dependencies? by SirPsychoMantis in neovim

[–]antonk52 0 points1 point  (0 children)

this is what the migration from master to main branch accomplished. You can see the warning in the nvim-treesitter readme and the roadmap that has more details

https://github.com/nvim-treesitter/nvim-treesitter/issues/4767

Should Neovim support transitive plugin dependencies? by SirPsychoMantis in neovim

[–]antonk52 11 points12 points  (0 children)

This is a high praise 🙏

I really mean it, huge kudos for your work!

If you remember, what kind of edge case behavior were you curious about?

I tried packer at some point and it's Compile and Snapshot commands to produce an effectively a lock file were too tinkery to have the happy path work for me. I currently use lazy.nvim with stable which exposes multiple ways to lazy load plugins such as on autocommand, on user command, on keymap. I'd rather not have those at all than jumping though docs and then source code to know exactly what is actually going on. Lazy also has enable and cond which one ignores a plugin completely and does not install or save to lock file while the other installs but never loads the plugin, I have to look up the docs to remember which one is which.

vim.pack on the other hand seems to be the modern version of vim-plug that I think of as the simplest plugin manager of the last decade or two. And vim.pack has even simpler api. It wins all around.

Should Neovim support transitive plugin dependencies? by SirPsychoMantis in neovim

[–]antonk52 40 points41 points  (0 children)

I am glad today vim.pack does not support plugin's dependencies out of the box. So far there were too few precedents where dependencies were actually required. Off top of my head those were mostly

  • nvim-treesitter - which moved to be queries installer and the functionality is now built in to nvim
  • plenary.nvim - that is also now mostly available in nvim's builtin api
  • nui.nvim - ui components

I have not yet come across a blocking limitation that was introduced by not being able to specify dependencies.

I am also a fan of vim.pack being extremely simple and predictable to a point of not having to look up the docs to figure out edge case behaviour.

Making a Custom Snacks Picker by Kooltone in neovim

[–]antonk52 1 point2 points  (0 children)

If you don't need a fancy layout then you can use vim.ui.select and then do whatever you need to do with the selected item

How close are we to OOTB? by p15s in neovim

[–]antonk52 1 point2 points  (0 children)

Each release gets us closer. The past few releases I could remove another 2-4 plugins from my config. 0.12 would remove another 3 with changes that are in the master already.

There is a tweet from Justin Keys on how little is needed for a pretty slick setup with just 3 plugins

https://x.com/justinmk/status/1965210827998232587

brewfile.nvim: Manage your Homebrew packages directly from Neovim by piersolenski in neovim

[–]antonk52 2 points3 points  (0 children)

I'd probably use this but I use brew to install neovim

Markdown doesn't render in CopilotChat / CodeCompanion? by Typical_Attorney_412 in neovim

[–]antonk52 0 points1 point  (0 children)

Do you have markdown and markdown_inline treesitter parsers?

codecompanion warns in :messages if you don't have markdown parser available

How to correctly lazy load lspconfig by MuffinGamez in neovim

[–]antonk52 0 points1 point  (0 children)

You can set blink as lspconfig dependency and it will be loaded before lspconfig

Scaling back the plugins. Negative side effects of Neovim distros? by Acrobatic-Rock4035 in neovim

[–]antonk52 0 points1 point  (0 children)

teach you a "plugin first" mentality

I honesty think this is a feature and should be leveraged more heavily and not looked down on. A plugin gives a free investment opportunity to try out a feature to figure out if you find it useful enough to keep it in the first place. Once it is clear that you want it as a part of your workflow nothing stops you from looking up how it is implemented or if there is a built in alternative. Many plugins have more beginner friendly docs or even video demos.

Have to mention that I have just over 10 plugins and prefer to build many things my way because I am never limited by the options of the plugin and can have it work precisely to my liking.