From f391554e0bb40a8e831bb63f24659f166df89c93 Mon Sep 17 00:00:00 2001 From: "Wu, Zhenyu" Date: Sun, 22 Sep 2024 05:15:07 +0800 Subject: [PATCH] :bug: Fix nargs --- ftplugin/cpp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftplugin/cpp.lua b/ftplugin/cpp.lua index 1b9b58c..a808511 100644 --- a/ftplugin/cpp.lua +++ b/ftplugin/cpp.lua @@ -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 = "*" })