g0v.social 為許多獨立的 Mastodon 伺服器之一,您能透過該伺服器參與聯邦宇宙。
去中心化社群架設的去中心化社群網站。宇宙小酒館。請遵守社群守則 https://g0v.social/about/more Our mantra: https://devpoga.org/blog/2023-01-22_mantra_g0v_social/

管理者:

伺服器統計:

823
活躍使用者

#neovim

10 則嘟文9 名參與者本日有 0 則嘟文

In the past couple of days I’ve finally had some time to work again on nvim-http.

It’s a #Neovim #Python plugin compatible with comparable HTTP client plugins in VsCode and IntelliJ - or a little #Postman that runs in your favourite editor.

While I was away I didn’t notice that the repo in the meantime has ammassed almost 100 stars and it had a dozen of outstanding issues - sorry!

The latest release includes many improvements and features:

  • Fully migrated to the Neovim remote plugins API, now that Neovim has introduced breaking changes that make it incompatible with the old vim.async_run API.

  • Better handling of HTTP requests that don’t end with newlines or comment headers.

  • Added support for environent variables specified in .env files, either in the same directory as the .http file or in the current working directory of the editor. The plugin now also supports environment variables specified both in *.env.json files (VsCode compatibility) and .env files.

  • Added support for inline shell commands, either in the environment variable or in the HTTP request, delimited by $(...).

  • Added -h and -t options to the :Http command to display the output in a horizontal split or in a new tab (the default is a vertical split).

  • Added --no-redirects option to :Http to avoid following redirects.

  • Added -T/--timeout option.

https://github.com/blacklight/nvim-http

After a recent update neovim doesn't seem to correctly active my colorscheme anymore. It applies it seemingly as :colorscheme shows me the correct colorscheme but only a second :colorscheme <name> does actually make it take affect. This is royally annoying. Has anyone experienced similar issues?

Some time ago I wrote about using Helix editor on FreeBSD. I liked the „batteries included“ approach and I was curious to see whether Helix could be an actual replacement for Neovim.

I really tried and I forced myself to like Helix. And yes, Helix’s approach might be perfect for newbies who have never worked before with vim. But at some point I found myself on a customer’s server, desperately pressing ‚d‘ and wondering why it didn’t delete the character under my cursor. At this point I decided to dump Helix. The fact that some commands are slightly different, but not completely, made it hard for me to switch between systems and made me look like a complete idiot when editing a config while sharing the screen with a client.

BTW is there meanwhile an option to run lua-language-server on FreeBSD? I am using kickstart with nvim and it’s complaining that it can’t install the lsp because it’s not supported on this platform.

#helix#nvim#neovim