Our great sponsors
-
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.
-
mason.nvim
Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.
-
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.
Then I found this plugin, which is great, but lacked some CMake features I needed. Fortunately, the plugin was so greatly designed that it was easy to add custom task modules, and so I did it and I want to share it with you - maybe it will benefit you.
Besides C++, I also work a lot with Python and Typescript. For those, I really liked the configurability of the Vimspector where full debug parameters would be stored in .vimspector.json file. However, as I wanted to use lua-based nvim-dap-ui, which is a lot faster than Vimspector, I needed a way to use my existing .vimspector.json files with python/c++/nodejs configurations with new tools.
This is the reason I created the vimspector-dap plugin - it was also a good opportunity to learn Lua. It's really a simple language (on Monday I only knew it existed, and today I'm already publishing lua-based nvim plugins 😛 - compare that to vimscript where I still struggle to correctly write an if clause).
The plugin is here and adds features like kits, customizable build types, support for running ctest, automatic updates/restarts of clangd LSP server and also provides some functions that allow cool plugin customization. Basically, you get features that are mostly equivalent with features from the plugin I used in vim, but implemented in Lua. Feel free to test it out. Note that I only tested it on my machine (M1Pro mac) and in one Linux container, so expect bugs, crashes and various errors. Feel free to post issues and PRs with fixes.
The plugin is here and adds features like kits, customizable build types, support for running ctest, automatic updates/restarts of clangd LSP server and also provides some functions that allow cool plugin customization. Basically, you get features that are mostly equivalent with features from the plugin I used in vim, but implemented in Lua. Feel free to test it out. Note that I only tested it on my machine (M1Pro mac) and in one Linux container, so expect bugs, crashes and various errors. Feel free to post issues and PRs with fixes.
Besides C++, I also work a lot with Python and Typescript. For those, I really liked the configurability of the Vimspector where full debug parameters would be stored in .vimspector.json file. However, as I wanted to use lua-based nvim-dap-ui, which is a lot faster than Vimspector, I needed a way to use my existing .vimspector.json files with python/c++/nodejs configurations with new tools.
Are you using williamboman/mason.nvim already? This plugin can achieve exactly what you just said, and the author is so kind to any issues there.
I just started to use mfussenegger/nvim-dap with rcarriga/nvim-dap-ui recently. This sounds like a very good feature. Do you know whether nvim-dap can achieve this? When I saw your first para I thought you wanted to change to nvim-dap, and suddenly I realized that you are a tool maker in the last para. :)
Yes, I am. Actually, I'm using lsp-zero which was suggested in ThePrimeagen's video and makes configuration so much easier...
As far as I see, the plugin mentioned in the linked thread is a fork of this plugin which got superseded by the plugin I based my cmake extension on.
As far as I see, the plugin mentioned in the linked thread is a fork of this plugin which got superseded by the plugin I based my cmake extension on.
I thought everyone was using hrsh7th/nvim-cmp 😂
Related posts
- What are some plugins that you can't live without?
- What IDEA or Vscode feature/function you want to have in neovim eco-system?
- Editing init.lua with lua_ls on gives "Undefined global : vim" ?
- Set it and forget it plugins?
- mini.files - navigate and manipulate file system (with column view and editing text)