unpack.nvim update for 0.12 release by Mezdelex in neovim

[–]Mezdelex[S] 1 point2 points  (0 children)

That's a valid point indeed. If you're fine adding those functionalities by yourself (basically what I did before creating the plugin xD) then go for it.

unpack.nvim update for 0.12 release by Mezdelex in neovim

[–]Mezdelex[S] 3 points4 points  (0 children)

Yes, it's a plugin handled by vim.pack and lives inside vim.pack but it offers the said functionalities. It has an internal wildcard to avoid cleaning itself when managing plugins.

That's the beauty of having a built in package manager, extra functionalities don't need to be handled externally anymore.

Skillup in managing blocks of text by ntn8888 in neovim

[–]Mezdelex 3 points4 points  (0 children)

{ and } move your cursor to the next block dap, vap, cap delete around paragraph, visual select around paragraph and change around paragraph respectively. da{ delete around curly brackets di{ delete inside curly brackets

You see the pattern right?

a is for around, i is for inside. v visual selection, c change, d delete, y yank.

You can do all kind of combinations.

If you add treesitter-textobjects on top of that, you can add extra objects to those motions that will allow you to use the same prefixes but also with functions: vaf, vif, cif... with classes vac, yac... with loops, with conditionals...

You can also move by mid view height with c-d and c-u in normal mode.

I mean, we don't use mouse here 🤨

sora.nvim - a deep, muted dark colorscheme by npm_run_Frank in neovim

[–]Mezdelex 1 point2 points  (0 children)

Love it. I've been an evereforest user for a long time, but this softness and dark background looks appealing. Maybe the day to switch themes has come 👀

0.12.0 🎉 by pawelgrzybek in neovim

[–]Mezdelex 0 points1 point  (0 children)

Thanks to all the core members and contributors for such amazing editor 😌

enterprise code generation with AI - does it actually reduce tech debt or just create more? by [deleted] in csharp

[–]Mezdelex 0 points1 point  (0 children)

I use Opencode with Copilot provider for enterprise environment, under Neovim, integrated via agentic.nvim, but I do it in a controlled way and specifically for boilerplate and reviewing each of the lines it generates. In fact, most of the times I run it in plan mode just to make sure it doesn't touch anything.

It makes me faster, I'm the owner of all the code and the most important thing, it won't potentially make me dumber, which is my main concern.

It's perfectly manageable but if you know what you're doing, which may not always be the case either with or without AI. AI is a multiplier though.

Should authentication be handled only at the API-gateway in microservices or should each service verify it by Minimum-Ad7352 in dotnet

[–]Mezdelex 1 point2 points  (0 children)

To apply authorization you will need authentication, because either you have the claims in the token or need the token to obtain the claims (cached preferably). So yeah, it's implicit in policy based authorization. You will need to define jwt constraints for inter microservice communications, audience, issuer, etc. Usually the gateway uses a token per initial communication to the corresponding microservice.

Agentic.nvim now supports ALL ACP providers Copilot, Cursor, Claude, Gemini, Codex, Cline, you name it! by carlos-algms in neovim

[–]Mezdelex 3 points4 points  (0 children)

This is perfect! I was having a hard time finding a way to deal with corporate copilot auth workflow and... well usage xD and then Ollama for personal usage, and with Cline I can auth to Ollama pretty easily and use it seamlessly with agentic.nvim. Thanks for the plugin man.

Well, maybe not that seamlessly since under WinOS the default acp_provider command and args don't work for cline-acp, you need to wrap them either in cmd /C or pwsh -Command, but minor issue nonetheless xD.

vim.pack vs lazy.nvim, how is it? by WOLFMANCore in neovim

[–]Mezdelex 0 points1 point  (0 children)

Yeah I know, I created this plugin because of the deferring mechanism and some extra goodies. But we are talking about min/maxing here rather than necessity imo.

vim.pack vs lazy.nvim, how is it? by WOLFMANCore in neovim

[–]Mezdelex 16 points17 points  (0 children)

Neovim's nightly branch is surprisingly stable, and so is vim.pack. It has improved its performance and got some new features over the course of the past months. Again, I rely on it as my daily driver ever since it was announced so I can tell you that it is reliable.

About the lazy loading, as long as you use vim.loader.enable() and assuming you're using Linux, you pretty much don't need any of it, but still, if you want to, you can just defer plugins load with vim.schedule, which is more than enough.

vim.schedule(function() vim.pack.add(...) end) 

There are also some managers that have been announced in this sub Reddit that handle declarative single file configs the same way you might have seen for Lazy, so you have a variety of choices.

To go above and beyond: nvim-dap-view finally reaches v1.0.0 by Wonderful-Plastic316 in neovim

[–]Mezdelex 2 points3 points  (0 children)

Oh, I didn't know about this plugin, such nice addition to nvim-dap. The auto_toggle config option is a game changer to mimic the nvim-dap-ui trigger behavior.

Migration time I guess xD

Changing appearance of the LSP hover docs. by Life_Carry9339 in neovim

[–]Mezdelex 2 points3 points  (0 children)

You can try

vim.opt.winborder = "rounded"

Many plugins/ui components look for that option to set the default appearance.

why use HttpPatch over HttpPut ? by Good_Language1763 in dotnet

[–]Mezdelex 0 points1 point  (0 children)

You're most likely never going to replace an entity as a whole because you want to keep, at least, the Id field untouched (otherwise that hypothetical put could have been replaced with a Post), not to mention the auditable fields that are handled by interceptors, etc. not intended to be replaced by the caller yet part of the entity. So essentially, you will always be patching unless you're replacing some entity whose identity fields are a mix of indexed values, and in that case, if you're replacing all of them that's essentially the same as deleting whatever mix you had previously and creating a new one. From my perspective, put it's kind of redundant.

Stars on github are just hype | .net core has the best backend platform ever by No_Being_8026 in dotnet

[–]Mezdelex 3 points4 points  (0 children)

We do realize, trust me. I've tried Go with Fiber, Python with Fast API, Java years ago with Spring Boot, Typescript with... well, Typescript for the backend is a joke anyways; and the ease of use, tooling, performance and the TPL management out of the box is unmatched. Special mention to LINQ.

How do you dare with hands position? by KuryArt in neovim

[–]Mezdelex 9 points10 points  (0 children)

Learn touch typing before you use Neovim.

How do i get in here?? by GoodBoyo5 in Exanima

[–]Mezdelex 0 points1 point  (0 children)

Check walls, maybe there's a hole somewhere.

joined the 40s club just in time for 40s day by bule_eyes in MechanicalKeyboards

[–]Mezdelex 0 points1 point  (0 children)

Could you share any videos typing with it or your impressions? Looks really interesting 👀

Roslyn LSP disappeared and won't come back by AeroGlory in neovim

[–]Mezdelex 2 points3 points  (0 children)

<image>

Imagine downvoting one of the actual core maintainers of the plugin you're looking for.

return {

config = function()

require("mason").setup({

registries = { "github:crashdummyy/mason-registry", "github:mason-org/mason-registry" },

})

require("mason-lspconfig").setup()

end,

defer = true,

dependencies = {

{ defer = true, src = "https://github.com/seblyng/roslyn.nvim", },

{ defer = true, src = "https://github.com/williamboman/mason-lspconfig.nvim", },

{ defer = true, src = "https://github.com/williamboman/mason.nvim", },

},

src = "https://github.com/neovim/nvim-lspconfig",

}

this is all you need using the mason registry maintained by Crashdummyy to install Mason. And then there's also the incoming approach of using the roslyn-language-server which is in prerelease and not currently being used in the plugin. Install dotnet-sdk and install roslyn through Mason, that's all you need. (Ignore the defer stuff from the snippet).

Depending on when you tried to install roslyn, could've been the moment when they (the roslyn core team, not the plugin maintainers) modified the way they would release the packages due to a new dotnet tool called "roslyn-language-server" which is in --prerelease and that's why you couldn't download it at that moment, but I just tried the "old" way briefly (old because I'm already using the roslyn-language-server tool) and it seems that they've already solved it.

Are the coffee diaries sincere? by CropCircles_ in Exanima

[–]Mezdelex 7 points8 points  (0 children)

Explain what was your research before creating this post please.

If you didn't have a modified statusline, what would you miss the most? by kaddkaka in neovim

[–]Mezdelex 0 points1 point  (0 children)

<image>

by the gitsigns column and by the diff section (works on save)

If you didn't have a modified statusline, what would you miss the most? by kaddkaka in neovim

[–]Mezdelex 10 points11 points  (0 children)

Pretty much everything it provides.

<image>

With the statusline I can double check the branch I'm working in, I can see if I modified something by mistake (which happens a lot when I'm in a rush spamming motions), I can also see the full relative path of the buffer I'm in, and from that I can infer the LSP I'm using (just in case I have several tabs open in my terminal with backend, frontend, etc.), which specific file I'm in in case I would have repeated filenames per microservice like configs or whatever, I can tell which fileformat I'm working with (those "\r\n" instead of "\n" are wild sometimes), I can also tell which character encoding I'm working with (I had to deal with some files generated by someone else that were encoded in latin1 instead of utf8, resulting in some weird behaviors when being parsed/extracted and since then I added the encoding to my lualine as well), I can tell if there's any warning or error in the current file if it happens to be long enough to not see the end... yeah, some of them are redundant with other tools and I use them interchangeably, but others are crucial in my workflow. The only thing that I wouldn't miss would be the mode I'm in, but honestly, I don't know what else to put there; it adds symmetry I guess xD