Problem: the existing blink-cmp-sshconfig plugin uses a synchronous, build-time Python scraping approach that requires uv and make to generate a static Lua file. Solution: implement a runtime, async blink.cmp source that parses ssh_config keywords from man ssh_config and enum values from ssh -Q queries, matching the architecture of blink-cmp-tmux and blink-cmp-ghostty.
30 lines
466 B
Lua
30 lines
466 B
Lua
rockspec_format = '3.0'
|
|
package = 'blink-cmp-ssh'
|
|
version = 'scm-1'
|
|
|
|
source = {
|
|
url = 'git+https://github.com/barrettruth/blink-cmp-ssh.git',
|
|
}
|
|
|
|
description = {
|
|
summary = 'SSH configuration completion source for blink.cmp',
|
|
homepage = 'https://github.com/barrettruth/blink-cmp-ssh',
|
|
license = 'MIT',
|
|
}
|
|
|
|
dependencies = {
|
|
'lua >= 5.1',
|
|
}
|
|
|
|
test_dependencies = {
|
|
'nlua',
|
|
'busted >= 2.1.1',
|
|
}
|
|
|
|
test = {
|
|
type = 'busted',
|
|
}
|
|
|
|
build = {
|
|
type = 'builtin',
|
|
}
|