News for hackers. Stuff that matters.
Re:Neovim v0.4.0 by posedge on Monday September 16, 2019 @02:48AM (#20981640)
What are the most notable improvements over vim that the authors of neovim speak of? https://neovim.io
Re:Neovim v0.4.0 by the_duke on Monday September 16, 2019 @04:19AM (#20982055)
The most notable for all Vim users is probably forcing upstream vim to merge async support for plugins after refusing it initially; albeit with a different API. (there is quite some bitterness on both sides of this issue, I think)

The other big win is providing a embedding API so other editors can be built on top of the core editing engine. Which resulted in multiple interesting GUI projects which you can find in other comments.

Others are Lua plugin support, good terminal integration, way better default settings, ...

Re:Neovim v0.4.0 by phil_s_stein on Monday September 16, 2019 @01:08PM (#20986195)
What does "async support for plugins" mean when hands are on the keyboard? Linters/etc that run without a need for :w?
Re:Neovim v0.4.0 by shriek on Tuesday September 17, 2019 @09:40PM (#21001755)
> Linters/etc that run without a need for :w?

That's more to do with how you setup to trigger the commands.

Async here really means that it doesn't block with your typing, jumping around in the text editor if plugin starts doing some heavy work in the background due to some action that got triggered by whatever event you had setup for plugin to do. One of the plugin that I particularly remember was syntastic (I haven't kept up with it to know if they've fixed this or not) that would just create janks every now and then if the workload was heavy.

Re:Neovim v0.4.0 by climb_stealth on Monday September 16, 2019 @03:09AM (#20981723)
I have been running it for quite a few months and there are two improvements that I can think of:

1) In visual mode you have a block cursor and in insert mode it is a |.

2) With ':set inccommand=nosplit' you get live previews for substitution calls. For example :%s/foo/bar/ will update your foos on screen whilst you type the command.

Otherwise it is pretty much a drop-in replacement without issues.

Re:Neovim v0.4.0 by mths on Monday September 16, 2019 @04:06AM (#20982001)
> Otherwise it is pretty much a drop-in replacement without issues.

Except for the crashes. The crashes are an issue.

Don't get me wrong though, I like nvim. I use it occasionally.

But the crashes are an issue.

Re:Neovim v0.4.0 by seanhunter on Monday September 16, 2019 @05:38AM (#20982404)
No crashes here and I use it all day pretty much every day.

They only real negative in my view is the startup time which is noticeably worse than vim for me. Advantages I see are

- unix clipboard and middle mouse pasteboard both work out of the box without having to recompile (ie "*p and "+p and the corresponding yanks just work) whereas on vim for whatever reason I always have to rebuild my distro vim and faff about with terminals for ages

- the substitution preview thing above is really great

- the "terminal" window type which I don't use much but a lot of people do

- the fact you have native support for python3 and python2 plugins simultaneously. Don't even want to think about how many goats had to be sacrificed to build that feature but it's cool

- the ":checkhealth" diagnostic screen that gives you useful info to allow you to easily fix any problems you're having with terminal and plugin setup

Re:Neovim v0.4.0 by blueyed on Tuesday September 17, 2019 @10:56PM (#21002060)
> They only real negative in my view is the startup time which is noticeably worse than vim for me.

Check that this is not e.g. due to Python host detection/setup - you might have plugins that trigger both py2/py3 hosts to load for example. (hosts can be configured explicitly to skip it) Also check `nvim --startuptime /tmp/nvimlog`.

Re:Neovim v0.4.0 by tadzik_ on Monday September 16, 2019 @04:13AM (#20982028)
Interesting. Are you using some sophisticated plugins, some unusual platform?

I've aliased vim to neovim a few years ago and it has not crashed once for me.

Re:Neovim v0.4.0 by mths on Monday September 16, 2019 @04:23AM (#20982072)
OSX. Plugins: ale, bufexplorer, nerdtree, rust.vim, vim-airline, vim-airline-themes, vim-colors-solarized

I generally start vim in my src folder on Monday and exit it on Friday. Occasionally, just on a whim, I run nvim instead. Mostly its fine. But the times I've experienced crashes or other hickups like rendering bugs forcing me to :qa!, it's been on nvim.

Edit: Oh and I run it in the terminal, iTerm2 to be precise.

Re:Neovim v0.4.0 by afarrell on Monday September 16, 2019 @07:37AM (#20983051)
I wonder if any 2-4 of the folks who’ve never had it crash would find it fun to join in a mob-debugging session where you screenshare, we all open an discord* channel, and we try and figure out the cause and solution.

——

(* IM could be discord, gitter, slack, or whatever.

I’d argue strongly against IRC because I think the lack of support for code blocks and especially newlines makes it harder to talk about code/stacktraces.)

Re:Neovim v0.4.0 by blueyed on Tuesday September 17, 2019 @10:58PM (#21002068)
You can just try with reporting them as an issue on GitHub.. :)
Re:Neovim v0.4.0 by CameronNemo on Monday September 16, 2019 @11:36AM (#20985102)
I use macOS and iTerm2, never experienced a crash. Perhaps one of your plugins is causing the issue?
Re:Neovim v0.4.0 by the_duke on Monday September 16, 2019 @04:16AM (#20982045)
After using nvim for several years, I've never seen it crash once.
Re:Neovim v0.4.0 by wyclif on Monday September 16, 2019 @08:24PM (#20989920)
Same here. I use it constantly with a handful of plugins, never had an issue.
Re:Neovim v0.4.0 by AdamGibbins on Monday September 16, 2019 @04:31AM (#20982112)
I've been using neovim for years now, I've never once had a crash.
Re:Neovim v0.4.0 by jafarlihi on Monday September 16, 2019 @03:20AM (#20981762)
The only reason Neovim project exists in the first place is to act as a safeguard against the bus factor issues that might arise in the Vim proper.
Re:Neovim v0.4.0 by maccam94 on Monday September 16, 2019 @03:43AM (#20981886)
It also exists because the vim BDFL refused to merge some patches, notably async (vim did get async after it was proven a success in neovim). Since the fork neovim has modernized and cleaned up the codebase, and has an ambitious feature roadmap which includes adding Lua as a plugin language and adding APIs for external GUIs.

https://neovim.io/roadmap/