This commit is contained in:
newbie 2024-01-02 16:19:15 +08:00
parent 76424f27d6
commit 351d431138
2 changed files with 6 additions and 0 deletions

View File

@ -24,6 +24,7 @@ end
G.opt.rtp:prepend(lazypath) G.opt.rtp:prepend(lazypath)
require("keymap") require("keymap")
require("customcmd")
if G.g.vscode then if G.g.vscode then
require('vscode') require('vscode')

5
lua/customcmd.lua Normal file
View File

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