Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
(https://github.com/winter-again/annotate.nvim)
I'd like to share my first real attempt at a Neovim plugin and hopefully get feedback and help on how whether this is something others would be interested in and how to improve it. annotate.nvim is a plugin that allows you set/edit brief notes that are tied to lines in your code. It uses Neovim's extended marks for tracking the location of your notes and kkharji's sqlite.lua plugin to allow you to restore the annotations when you restart Neovim. I'd been experimenting with using scratch buffers to hold notes while working to avoid my habit of cluttering code with comments, but this felt limited. When I saw this plugin I wanted to see if I could combine the ideas to get something more on-demand.
I'd like to share my first real attempt at a Neovim plugin and hopefully get feedback and help on how whether this is something others would be interested in and how to improve it. annotate.nvim is a plugin that allows you set/edit brief notes that are tied to lines in your code. It uses Neovim's extended marks for tracking the location of your notes and kkharji's sqlite.lua plugin to allow you to restore the annotations when you restart Neovim. I'd been experimenting with using scratch buffers to hold notes while working to avoid my habit of cluttering code with comments, but this felt limited. When I saw this plugin I wanted to see if I could combine the ideas to get something more on-demand.
I've also discussed this idea in an issue in the bookmarks.nvim repo: https://github.com/crusj/bookmarks.nvim/issues/13
Not sure if it’s helpful, but Harpoon allows per-branch marks, so that code might be relevant if you go down that path. https://github.com/ThePrimeagen/harpoon