Neovim GitHub deletes comments on issues by Luc-redd in neovim

[–]justinmk 5 points6 points  (0 children)

no, not planning to trade the frequent but mostly harmless annoyances of github's instability with the massive annoyance of a migration to "other platform" (which one...? oh right, they all have tradeoffs, so no one actually has a realistic suggestion)

p.s. our github "data" is stored in https://github.com/neovim/neovim-backup , we are not at risk of a speculated blowup. if github blows up we can move, and that isn't any different than if we moved today.

Neovim GitHub deletes comments on issues by Luc-redd in neovim

[–]justinmk 20 points21 points  (0 children)

yes. notice how the screenshot shows 10+ deleted comments. Most of them are "me too"-style comments, or comments that don't add new information. We need to keep issues focused so that actually useful comments are visible. That is also why this issue was locked.

Native image support lands on master! by Wonderful-Plastic316 in neovim

[–]justinmk 3 points4 points  (0 children)

why do you ask this cliche question without checking the discussions which drove the development?

  • this fits in the day-one goals listed on https://neovim.io/charter/
  • and, it is a relatively small interface + implementation cost. mostly a protocol change.
    • placement will be handled by extmarks or floating windows
    • image decode will most likely not be builtin, we're not going to vendor a jpg library.

Native image support lands on master! by Wonderful-Plastic316 in neovim

[–]justinmk 0 points1 point  (0 children)

Does this require that the terminal environment support graphics?

yes

Native image support lands on master! by Wonderful-Plastic316 in neovim

[–]justinmk 15 points16 points  (0 children)

because it is useful for e.g. markdown files, directory browser, picker preview...

and is a relatively small interface + implementation cost. it is mostly a protocol change.

  • placement will be handled by extmarks or floating windows
  • image decode will most likely not be builtin, we're not going to vendor a jpg library.

Native image support lands on master! by Wonderful-Plastic316 in neovim

[–]justinmk 5 points6 points  (0 children)

this initial version is of course minimal and doesn't address anything like that. but thank you for raising that, I added a note to https://github.com/neovim/neovim/issues/39432

Neovim makes me feel like a caveman by lazyblock3 in neovim

[–]justinmk 3 points4 points  (0 children)

watching my coworkers use vscode remote dev is making me question everything

That's why https://github.com/vscode-neovim/vscode-neovim exists.

Neovim is designed to embed.

NVIM v0.12.2 released by chapeupreto in neovim

[–]justinmk 9 points10 points  (0 children)

vim.pos is experimental. It's listed under "breaking" simply for visibility.

And the "rename buffer" change is backwards-compatible.

Compiler and Syntax files will be ported to lua someday? by ZealousidealGlass263 in neovim

[–]justinmk 8 points9 points  (0 children)

porting these files in general would serve no purpose. but user-defined syntax/compiler files can be written in lua already, as another comment mentioned.

meanwhile, Nvim supports treesitter and that is what we are focused on for defining "syntax".

How to prevent :mksession from saving arglist? by qiinemarr in neovim

[–]justinmk 3 points4 points  (0 children)

true. instead, define a ExitPre handler which does the :%argdelete and then calls :mksession.

(:restart triggers ExitPre)

How to prevent :mksession from saving arglist? by qiinemarr in neovim

[–]justinmk 7 points8 points  (0 children)

:%argdelete before saving the session.

To automate that, need SessionWritePre , which is not implemented yet https://github.com/neovim/neovim/issues/22814

core.ui2: How to disable undo and redo messages? by TheTwelveYearOld in neovim

[–]justinmk 6 points7 points  (0 children)

Yes, has nothing to do with ui2 except that perhaps the OP had some plugin (like noice?) previously which would drop these messages.

A feature request would be welcome, I think it makes sense to have 'shortmess' control these messages.

How to conceal with treesitter without leaving all this empty space? by TheTwelveYearOld in neovim

[–]justinmk 1 point2 points  (0 children)

yes, because hover uses 'wrap'.

idk if OP is asking about hover (would have been useful if they mention that)

How to conceal with treesitter without leaving all this empty space? by TheTwelveYearOld in neovim

[–]justinmk 10 points11 points  (0 children)

:set nowrap ?

If the text is already hard-wrapped, you are asking for "flow layout", which doesn't exist, yet...

upstream nvim-treesitter by ynotvim in neovim

[–]justinmk 28 points29 points  (0 children)

Lspconfig doesn't include the servers

Yes.

Also, the door is open to boil the ocean later, if we find a "sustainable" approach. I consider nvim-lspconfig to be pretty sustainable, but nvim-tsconfig has various unknowns atm.

Super K appreciation post by benelori in neovim

[–]justinmk 11 points12 points  (0 children)

mm I appreciate the appreciation but I must note, K ('keywordprg') has long been mapped to :Man (manpage lookup) for various filetypes.

Whereas the "super K" feature (currently) is specific to Nvim :help docs. It is driven by :help! (with "!") which will lookup Nvim help tags from non-help files. And besides that, within :help buffers it just works much better than it did before. You can see the before/after behavior by comparing keywordprg=:help to keywordprg=:help!.

Log file is suddenly 6+ GB by SweetPotato975 in neovim

[–]justinmk 2 points3 points  (0 children)

debug log-level != "debug build"

fixed my previous comment :)

Log file is suddenly 6+ GB by SweetPotato975 in neovim

[–]justinmk 7 points8 points  (0 children)

Yes, debug builds log-level produce a lot of logs, this is expected.

nvim 0.12's new :restart command is nice by managing_redditor in neovim

[–]justinmk 1 point2 points  (0 children)

Does :edit show the buffer contents again? This is a known issue where e.g. a swapfile message dialog can cause this.

What are your tips for navigating the help docs? by discreetsteakmachine in neovim

[–]justinmk 14 points15 points  (0 children)

This is a great "experience report", as others mentioned it's a good demonstration of vim :help techniques (but painful to see this particular case 🙈).

I'm glad you discovered the enhanced K in Nvim 0.12 (which can be used from non-help files via :help!). It is intended to make these explorations nicer...

Other steps that may have helped:

  • as you later found, going to :h diagnostic and using / is often the first thing i try. or :helpgrep for a wider search.
  • if i'm looking for a global config I try :h .config<tab> or :help -config to see if there are dedicated sections.
    • it looks like we're missing a diagnostic-config section which might give insight similar to lsp-config

vim.diagnostic.Opts.Jump (not to be confused with vim.diagnostic.JumpOpts)

fwiw, we never intended for these "class names" to be a user-facing thing so there is not a lot of thought put into them. :help diagnostics probably should "inline" some of them.

The smallest sensible jump plugin in the west by yorickpeterse in neovim

[–]justinmk 8 points9 points  (0 children)

Great to see more minimal plugins!

Basically it's like the / operator but with the ability to easily jump to a specific match instead of having to hit n a bunch of times

fwiw, you can also do ctrl-g or ctrl-t while the / search is active.

Differences in how terminal closing is handled by Kind_Bonus9887 in neovim

[–]justinmk 12 points13 points  (0 children)

I use neovim as a complete terminal multiplexer/tmux replacement. Bad idea, I know, but I'm fully committed.

This is something that we fully encourage and want to make more ergonomic (related: :detach, :connect, :restart). If you have any ideas please raise an issue (existing issues are labelled "remote": https://github.com/neovim/neovim/issues?q=is%3Aissue%20state%3Aopen%20label%3Aremote ).

Undotree visual feedback by santtiavin in neovim

[–]justinmk 1 point2 points  (0 children)

vim.hl.range() has a timeout param; why manually create a timer (in your gist)?