dotfiles/dot_config/nvim/lua/wekuz/executable_server.lua
2026-03-29 22:48:41 +03:00

14 lines
305 B
Lua

function start_server(args)
local address = "0.0.0.0:5656"
if args.args ~= "" then
address = args.args
end
vim.fn.serverstart(address)
print("NVim server started on " .. address)
end
vim.api.nvim_create_user_command(
"StartServer",
start_server,
{ nargs = "?" }
)