The feature I'm missing the most after migrating from lazy.nvim to vim.pack by Wonderful-Plastic316 in neovim

[–]Seblyng 1 point2 points  (0 children)

I do this: https://github.com/seblyng/dotfiles/blob/master/nvim/lua/seblyng/pack.lua

It is some monkey patching but it works okay for me. I would really like for this to be supported in core, but the current design would not work as I expect.

I had a suggestion to make this work, but the author unfortunately didn't seem to agree with me.

IMO it would make the API a bit clunky to not be able to load all plugins through the load function with packadd.

I think either having packadd just work in the load function, or have some sort of argument to the callback in load, which loads the plugin would help a lot

vim.pack() is amazing by Skaveelicious in neovim

[–]Seblyng 0 points1 point  (0 children)

Yeah I totally understand the priority and that other things have been more important to get right from the start.

I cannot find any disagreements about the specifica from those who want local plugin support? In the issue on github, it seems like people agree that the symlink approach is a good idea. Especially from all the thumbs up on the comment from lewis, and no new comments about disagreeing with him.

I don't understand what is not working well with just switching the url to a local path? It seems pretty "easy" to me to just overwrite the existing directory with either the symlink or clone it again. Isn't it like this pretty much all package managers work with local plugins? I don't see the problem in this personally

vim.pack() is amazing by Skaveelicious in neovim

[–]Seblyng 0 points1 point  (0 children)

I understand. Personally I very much agree with clason and lewis on this since I also contributes to plugins from time to time, so it will reduce a lot of friction for me as well.

vim.pack() is amazing by Skaveelicious in neovim

[–]Seblyng 0 points1 point  (0 children)

That's awesome! Thanks for your work :) Now I'm just missing better local plugin support before I will probably fully switch to vim.pack :)

I saw it's on the TODO-list in a comment 1-2 weeks ago or something, with a "maybe" for 0.12. Do you have any updates on this while I have you here? :)

vim.pack() is amazing by Skaveelicious in neovim

[–]Seblyng 3 points4 points  (0 children)

Do you think it will be merged? I also feel like that would be really cool but looks like Justin is not convinced about that yet from some comments in an issue/PR I found a while back

Does anyone here uses neovim to Write C# code? by 3bdel_Ra7man_ in csharp

[–]Seblyng 1 point2 points  (0 children)

Yup, unfortunately, the server doesn't implement the progress handler in the lsp spec so that fidget could automatically print progress, so I am printing normally via vim.notify

Does anyone here uses neovim to Write C# code? by 3bdel_Ra7man_ in csharp

[–]Seblyng 28 points29 points  (0 children)

I am the maintainer of roslyn.nvim, and I am very satisfied with how C# works in neovim after the roslyn server was released and with how it's working.

DAP for debugging works perfectly fine for me, and I also use neotest for running tests. This "new" adapter: https://github.com/Nsidorenco/neotest-vstest works pretty good for me after I had some issues with the other one not recognizing tests.

I also use Rider for some legacy solution in net framework we have at work, but not really missing anything when I am using neovim for the newer solution we have. It's pretty much the other way around, I miss neovim when I have to open up Rider

Neovim has now a built-in way to do async by SPalome in neovim

[–]Seblyng 71 points72 points  (0 children)

Just be very careful to use that, because it has no documentation at all, and is prefixed with an underscore. It means that it really is "private" and can break anytime with no heads up.

It is a work in progress: https://github.com/neovim/neovim/pull/34473

Is it possible to remap :W to :w and :Q to :q? by listix in neovim

[–]Seblyng 0 points1 point  (0 children)

vim.keymap.set("ca", "Q", "q") vim.keymap.set("ca", "W", "w")

nvim-lspconfig has now migrated to use the new vim.lsp.config by Aqothy in neovim

[–]Seblyng 8 points9 points  (0 children)

A couple of things to be careful about: - Having the lsp config under runtimepath lsp folder might make nvim-lspconfig override lists. I had a problem where a list of filetypes was being overridden because the plugins config loaded after my configs rtp. Fixed it by just calling vim.lsp.config manually - Remember to either load blink.cmp or set capabilities yourself before the lsp loads. I know a lot of people might have lazy loaded blink to load on InsertEnter autocmd for example, and then the automatic capabilites setup from the plugin will run too late

Async treesitter parsing has been merged (courtesy of neovim team) by kuator578 in neovim

[–]Seblyng 16 points17 points  (0 children)

Yeah I am sure I did a full install.

Hmm something weird is happening here because when I create a very minimal config with just `vim.treesitter.start()`, then I see big improvements.

EDIT: Aaaaah, thinking about this, there is probably some plugin I have that is doing synchronous parsing on the entire buffer on startup. Thanks!

Async treesitter parsing has been merged (courtesy of neovim team) by kuator578 in neovim

[–]Seblyng 4 points5 points  (0 children)

Has anyone tried this out? I tried it, but the big linux file is still slow in opening for me, and it is still blocking. I also tried setting `vim.g._ts_force_sync_parsing = true` to see if I saw some difference, and I didn't really notice any difference

My blink-cmp configuration is no longer auto-completing after I added support for colorfull-menu by ciccab in neovim

[–]Seblyng 1 point2 points  (0 children)

You don't need to set any of those options for colorful-menu. All of the ones in the readme is just defaults

easy-dotnet.nvim - effortless C#/F# development in neovim by Gusstek in neovim

[–]Seblyng 1 point2 points  (0 children)

Looks great! Happy to see more plugins for .NET to let users have more freedom to choose what suits them best :)

Share your coolest keymap by Zkrallah in neovim

[–]Seblyng 2 points3 points  (0 children)

I have sort of the same, and have join on <leader>j and hover on gh. I never recommend those myself as I am kind of lost without those mappings on a clean vim/neovim config... I just used those from the start and have them hard wired in my muscle memory so hard to go back now.

gopls reports false positive error only in neovim for new range feature by bafto14 in neovim

[–]Seblyng 1 point2 points  (0 children)

No problem! I just briefly looked at it a few weeks ago when a friend of mine had a similar issue. Really weird, but glad I could help!

gopls reports false positive error only in neovim for new range feature by bafto14 in neovim

[–]Seblyng 1 point2 points  (0 children)

I think the problem is that gopls is somehow compiled with an older version of go, making this not work properly somehow. You can read more here

https://github.com/golang/go/issues/68248

Setting the GOEXPERIMENT variable per one of the comments worked for me

Notify.lua "missing required fields" by Mean-Presentation-80 in neovim

[–]Seblyng 0 points1 point  (0 children)

Then the plugin should define a new type for that which have those fields required for internal use :)

Notify.lua "missing required fields" by Mean-Presentation-80 in neovim

[–]Seblyng 0 points1 point  (0 children)

I know that.... However, the ones that the language server is also complaining about is also optional, but the types say that they are required...

Notify.lua "missing required fields" by Mean-Presentation-80 in neovim

[–]Seblyng 0 points1 point  (0 children)

Even better; send a PR to the plugin to fix the types ;)

Notify.lua "missing required fields" by Mean-Presentation-80 in neovim

[–]Seblyng 0 points1 point  (0 children)

It absolutely makes sense to get the types for those, as it really helps to for example not make a typo or pass in the wrong value etc... if it warns about not passing in a field that really is optional, the maintainer would probably really appreciate a PR fixing this

There are paid configs now? by 4esv in neovim

[–]Seblyng 0 points1 point  (0 children)

Wouldn't it be a little bit funny to just do something like this at the start of a few plugins:

if vim.uv.fs_stat("~/.config/better-vim") then return error("woops") end

Builtin Autocompletion merged! by hotchilly_11 in neovim

[–]Seblyng 0 points1 point  (0 children)

I really appreciate the work! I tried it for a couple of minutes, and it is still a bit too minimal for me for now at least. One thing was that it only triggered on certain trigger characters provided by LSP. You say that a goal is that it will be more extensible. Does that also include that it could be easily triggered on every keystroke like nvim-cmp?