nvim/lua/customcmd.lua
2024-01-02 16:19:15 +08:00

6 lines
122 B
Lua

-- G.api.nvim_buf_create_user_command( "*.py", "R" , "!python3 %", { complete = true })
G.cmd[[command! R !python3 %]]