dotfiles/.config/nvim/lua/overseer/template/user/python_run.lua

23 lines
399 B
Lua

return {
name = "Python Run",
builder = function()
local file = vim.fn.expand("%:p")
return {
cmd = {
"python"
},
args = {
file
},
components = {
"default"
}
}
end,
condition = {
filetype = {
"python"
}
}
}