Skip to content

Commit

Permalink
🐛 Fix nargs
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Sep 21, 2024
1 parent a1ed85d commit f391554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftplugin/cpp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
---@diagnostic disable: undefined-global
vim.api.nvim_buf_create_user_command(0, "Insights", function(input)
require "cppinsights.nvim":run(input.fargs, input.bang)
end, { bang = true })
end, { bang = true, nargs = "*" })

0 comments on commit f391554

Please sign in to comment.