News for hackers. Stuff that matters.
Re:Neovim v0.5 by systems on Friday July 02, 2021 @03:45PM (#27715947)
I am not sure how this is possible

Editors like Vim, Emacs or VSCode are all about the plugins

I use emacs for org mode And VSCode for everything else, because simply most proramming languages have their main plugins on VSCode

The only way you can move from VSCode to neovim is, if you dont care about the plugins

Why would you VSCode if not for the plugins

Re:Neovim v0.5 by davidkunz on Friday July 02, 2021 @04:04PM (#27716176)
Regarding programming languages, the answer is the language server protocol (LSP), an editor-agnostic way to use IDE-like features, originally developed for VSCode. Works for both Neovim and VSCode (and many others). Somewhat ironic that one of VSCode's best inventions is the one which made me switch away from it.
Re:Neovim v0.5 by qudat on Friday July 02, 2021 @04:29PM (#27716481)
I just switched from 0.4 to 0.5 specifically for LSP and treesitter support. There is zero difference between it and vscode for me now. Neovim 0.5 is a game changer and closes the gap between it and vscode.
Re:Neovim v0.5 by malloryerik on Friday July 02, 2021 @09:35PM (#27718645)
I saw it as Microsoft's signalling that they care more about being in the good graces of the wider developer community than about dominating the programming editor/IDE market. After all VSCode is free. I'd argue that giving away VSCode, LSP, Monaco (the base editor) and so on has been a successful means of redeeming their brand in the eyes of developers and really anyone who ever touches code. That could backfire if they took on an aggressively competitive stance. Letting LSP play nicely with other editors seems therefore good business for them. It also appears that as a profitable business, money Microsoft spends on VSCode might otherwise be spent as taxes?
Re:Neovim v0.5 by draebek on Saturday July 03, 2021 @01:44AM (#27719648)
Embrace, extend, extinguish

They've done it before and they'll do it again.

LSP for MS and VS Code is "come, make our proprietary editor more valuable by supporting languages we can't be arsed to worry about!"

https://github.com/microsoft/pylance-release/issues/4

(I am an enthusiastic advocate for LSP otherwise.)

Re:Neovim v0.5 by malloryerik on Saturday July 03, 2021 @02:57AM (#27719879)
> Embrace, extend, extinguish. They've done it before and they'll do it again.

Truly a valid concern.

Re:Neovim v0.5 by reader_mode on Saturday July 03, 2021 @03:14AM (#27719921)
If I am up to date TypeScript doesn't actually provide LSP and the 3rd party implementation is a wrapper around TS language server custom protocol and is worse in comparison. (They have/had plans to change this but it's been years since I saw the issue raised and not much progress from what I saw, haven't checked in last couple of months since I'm no longer in TS space)

IMO TypeScript is VSCode strongest use case - I would use VS code over VisualStudio for example on C# projects when I had to edit fronted parts - it was so much better. IntelliJ TS stuff is the only thing that comes close/is on par maybe and I'm a happy camper in that ecosystem for the last few years.

None of the LSP plugins I've tried with neovim worked nearly as well as they do in VSCode (the few times I tried to spin it up for old times sake).

Re:Neovim v0.5 by robryan on Friday July 02, 2021 @08:41PM (#27718424)
Yeah LSP also makes Sublime viable going forward where it otherwise probably would have fallen behind.
Re:Neovim v0.5 by shiryel on Friday July 02, 2021 @04:04PM (#27716186)
Well, mostly of the language specific plugins are language server protocols (LSP), you only need a client to make they work on any editor, I used to use CoC on vim to have that power, but now with the new version of NeoVim the client is build-in, so...
Re:Neovim v0.5 by CameronNemo on Friday July 02, 2021 @04:38PM (#27716567)
now with the new version of NeoVim the client is built-in

Can you link me to how to configure that? I have been using LanguageClient-neovim, which is a Rust plugin.

Re:Neovim v0.5 by davidkunz on Friday July 02, 2021 @04:46PM (#27716653)
I talked about the configuration in my videos (linked above).

The best place to start is here: https://github.com/neovim/nvim-lspconfig

I use it in combination with nvim-compe: https://github.com/hrsh7th/nvim-compe

Re:Neovim v0.5 by junon on Friday July 02, 2021 @04:24PM (#27716431)
Neovim has plugins...
Re:Neovim v0.5 by systems on Friday July 02, 2021 @05:06PM (#27716866)
I am not sure I fully grasp this yet

but comments above are suggesting that because of LSP (Language server protocols) plugins can be portable now, from one editor to another

i thought each editor needed its own plugin, and VS Code always seem to have the main plugin, didnt really come across plugins that run across multiple editor, but then i was not really checking this, next time i will check it

Re:Neovim v0.5 by muststopmyths on Friday July 02, 2021 @07:54PM (#27718230)
It's not that plugins are portable. LSP allows any editor that supports the protocol to provide language support (using a backend "language server" that is editor-agnostic), so it is not that hard for most editors these days to provide good intellisense/syntax-highlighting etc. that used to be limited to commercial-grade IDEs.
Re:Neovim v0.5 by junon on Friday July 02, 2021 @09:11PM (#27718547)
Most Vim plugins work unmodified on Neovim.
Re:Neovim v0.5 by flatiron on Friday July 02, 2021 @05:21PM (#27717039)
I don’t use any plugins with vs code. Am I the baddie? At least for JavaScript node crap it works perfect out of the box.