mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-12-23 22:04:52 +01:00
fix: dont suggest user+pwd anymore
This commit is contained in:
parent
24c5e2cbc1
commit
0da26b0639
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ end
|
|||
local base_actions = {
|
||||
connect = function(host)
|
||||
if host == nil then host = 'http://codemp.alemi.dev:50053' end
|
||||
local user = vim.g.codemp_username or vim.fn.input("username > ", "user-" .. vim.fn.rand() % 1024)
|
||||
local password = vim.g.codemp_password or vim.fn.input("password > ", "lmaodefaultpassword")
|
||||
local user = vim.g.codemp_username or vim.fn.input("username > ", "")
|
||||
local password = vim.g.codemp_password or vim.fn.input("password > ", "")
|
||||
state.client = native.connect(host, user, password):await()
|
||||
print(" ++ connected to " .. host .. " as " .. user)
|
||||
end,
|
||||
|
|
Loading…
Reference in a new issue