nvim/lua/lsp/bash.lua
2024-01-08 14:23:13 +08:00

12 lines
235 B
Lua

return{
on_attach = function()
G.api.nvim_create_user_command('R', function()
G.cmd [[set splitbelow]]
G.cmd [[sp]]
G.cmd [[term sh %]]
G.cmd [[resize 10]]
G.cmd [[startinsert]]
end, {})
end
}