Update c.lua
This commit is contained in:
1 parent
77aeb47236
commit
10b90dbbaf
1 file changed
+1
@@ -304,6 +304,7 @@ function M.run()
|
||||
|
||||
-- Extract the project name from the .txt file's name (without the .txt extension)
|
||||
local project_name = vim.fn.fnamemodify(files[1], ":r") -- :r removes the file extension
|
||||
print("Project_name: " .. project_name)
|
||||
|
||||
-- Define the command to run the project (adjusted for the C project)
|
||||
|
||||
|
||||
Reference in new issue
Block a user