eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

196
active users

#neovim

7 posts7 participants2 posts today

The following is only executing the callback once. Any idea why? #neovim

vim.api.nvim_create_autocmd(
"BufWritePost", {
callback = callback,
group = vim.api.nvim_create_augroup(
"group",
{clear = true}
),
pattern = {"some-filename", "another-filename"}
}
)

I've been having issues with py3-lsp-server using massive amounts of CPU (spikes of 800%, baseline of 100%), and tens of seconds delay to respond. I mostly used it for go-to-definition and show-hover. I just switched to jedi-language-server. It does the same (and using the same underlying implementation) with unnoticeable resource usages.

I used (and continue to use) ruff-lsp for diagnostics and formatting anyway, so not missing anything after the switch.

#python#neovim#lsp

Lately I was dealing with big #neovim performance issues on a large #Rust codebase. It was impossible to use: slow and crashing.

The codebase had more than 900 clippy warnings, 600+ of just one type alone.

4 PRs later: 0 warnings. It's fast again! ⚡

Started tinkering with the nuclear option for my vim setup over here. github.com/kaievns/nuclear-opt

The actual engine of it works, you can plug it and play, but i still need to simmer on the keybindings a lot. not everything actually fits neatly

A full reset neovim keybindings. Contribute to kaievns/nuclear-option.nvim development by creating an account on GitHub.
GitHubGitHub - kaievns/nuclear-option.nvim: A full reset neovim keybindingsA full reset neovim keybindings. Contribute to kaievns/nuclear-option.nvim development by creating an account on GitHub.

Starting my keyboard-(almost-)only, tilingWM journey some years ago with Herbstluftwm over i3/sway, it has now been tweaked near to perfection with NIRI. Everything's extremely fast and responsive, check out this screencast!

As with Sway, I can handle KeepassXC-CLI shortcut integration with no plugins needed.
Pass has been a solid choice, too.
Qutebrowser is not the only one in town to handle vim-like keybinding (but a good one 😉).
And yeah, dystopian Fallout retro is the stylish way to go the KISS way 😍

#linux#arch#niri

You can judge me but I am trying to move stuff from my emacs-config for orgmode (lisp-functions, capture templates) to work with neovim-orgmode. And AI-slopping it works pretty well. I am not sure yet though, how well neovim-orgmode will work out in my daily use of it. #orgmode #emacs #neovim

“I wrote a #Neovim plugin in #Lua that serves HTTP requests from open buffers. It has no external dependencies, it has first-class support for serving content in Djot, and it is faster than Nginx so it won’t be a performance bottleneck behind a reverse proxy. What’s not to like?” vim.gabornyeki.com/

vim.gabornyeki.comThis Website is Served from Nine Neovim Buffers on My Old ThinkPadThis Website is Served from Nine Neovim Buffers on My Old ThinkPad, a blog post by Gábor Nyéki

I switched to using #vim as my main #RStats editor in 2018 and never really looked back. I used Nvim-R for my R integration and had been piecing my way with various plugins to a janky but workable editor.

Last year, switched over to #neovim and migrated my vim config to a fever dream of Lua config files so I could try out R.nvim (the successor to Nvim-R)

Last week I declared that setup to be a superfund site and downloaded #LazyVim and holy hell is it game-changing. Being able to fly to a function definition with `gd` is a power I did not know I needed. Hell, even #LazyGit is good.

Old and busted: github.com/zkamvar/config-file
New hotness: github.com/zkamvar/config-file

GitHubconfig-files/nvim at main · zkamvar/config-filesA repository of my configuration files. Contribute to zkamvar/config-files development by creating an account on GitHub.