We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7ff54a commit 685e75bCopy full SHA for 685e75b
autoload/db_ui/connections.vim
@@ -47,6 +47,8 @@ function! s:connections.add_full_url() abort
47
try
48
let url = db_ui#resolve(db_ui#utils#input('Enter connection url: ', url))
49
call db#url#parse(url)
50
+ " Attempt to resolve to check if it's valid url
51
+ call db#resolve(url)
52
catch /.*/
53
return db_ui#notifications#error(v:exception)
54
endtry
@@ -80,6 +82,8 @@ function! s:connections.rename(db) abort
80
82
81
83
let url = db_ui#resolve(db_ui#utils#input('Edit connection url for "'.entry.name.'": ', url))
84
85
86
87
88
89
0 commit comments