Friday, February 17, 2023 » Neovim
Recently a change got merged in Neovim that decoupled its TUI from the main process. A side effect of the change is that debugging it became a bit more troublesome. It now forks itself and you end up with two processes. Depending on what you want to debug you need to attach to that second process.
I thought this might be an interesting use-case for more advanced features of nvim-dap. This post explores using it to automate attaching to the second process.
Even if you’ll never debug Neovim you may find this interesting as it could give you some ideas on what you can do with a hackable debugger.
This post uses nvim-dap features of the upcoming 0.5 release. If you’re on 0.4 you’ll have to switch to the development branch. (If you are from the future, use 0.5+)
Saturday, January 21, 2023 » Neovim
This is a short article covering how you can use Neovim as Lua interpreter
for Luarocks and busted.
Sunday, November 6, 2022 » Neovim
This is an introduction to the various ways you can structure a Neovim plugin and their trade-offs.
Wednesday, October 26, 2022 » Neovim
This is a short introduction in how you can test a Neovim plugin which extends the LSP functionality.
This approach requires Neovim 0.8 or later.
Saturday, October 1, 2022 » Neovim
Neovim 0.8 got released the other day, time to write about some of the LSP changes.
Saturday, September 24, 2022
As part of my work on CrateDB I occasionally have to debug its PostgreSQL wire protocol implementation. One tool that has been incredibly helpful for that is tshark, which is part of Wireshark.
Friday, September 2, 2022 » Neovim
This is a short introduction to the tree-sitter integration in
Neovim based on a use-case I had: To find content in a
close to the cursor position and then launch an application using this
A recent conversation got me curious about how people feel about writing command line applications in Java.
I knew that Java for many isn’t the first choice when thinking of building a CLI, but I was curious if people consider it an option at all. I started a poll on Twitter. Only 19 people participated, but the outcome was quite clear:
Java is a good choice to write command line applications
|No way, are you crazy
If you asked me several years ago I’d have had a similar reaction, but in 2022 I’m not so sure anymore.
Thursday, January 27, 2022
A while ago I damaged my old tablet and got a Remarkable 2 as replacement. One of the use-cases for my old tablet was reading science papers. The remarkable can read PDFs and EPUB files and with a 10.3” screen it’s one of the larger eink devices on the market.
Computer science papers often use a 2-column layout, small font and large margins. It’s possible to read, but despite the screen size it wasn’t the most pleasant experience. It would be more convenient if we could re-arrange and re-flow the text.
Turns out we can.
There a dozen of statusline plugins for neovim: express_line, galaxyline, lualine, statusline, windline and possibly more. Each with different goals and feature sets. This article isn’t about any of them, instead we look at the built-in
statusline option and how you can use it to create a boring but functional status line.