1. Run is now handled by the global run function instead of language specific runs 2. Fixed some notifications, making them more unified and informational 3. Cleaned up c/c++ code that was broken from create_file changes 4. Create_file has new architecture. It still takes in a function but can be disabled to be skipped (this will most likely change later as its unoptimized) 5. Added rust support 6. Keybinds are now only setup for language specific 7. Project creation has error and nil checking allowing for skipping and more customizable templates and setups for future languages
19 lines
377 B
Lua
19 lines
377 B
Lua
local M = {}
|
|
|
|
local utils = require("vern-nvim.utils")
|
|
|
|
---@param opts VernLuaConfig Takes a table for the runtime
|
|
function M.run(opts)
|
|
opts = opts or {}
|
|
local full_path =
|
|
vim.fs.joinpath(utils.proj_root(), "lua", utils.proj_name())
|
|
|
|
utils.term(
|
|
{ "lua " .. full_path .. "/init.lua" },
|
|
opts.terminal or {},
|
|
false
|
|
)
|
|
end
|
|
|
|
return M
|