nvim/lua/customcmd.lua
2024-01-02 19:58:43 +08:00

7 lines
171 B
Lua

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