https://github.com/bydlw98/blink-cmp-sshconfig
Ssh_config(5) files source for blink.cmp
https://github.com/bydlw98/blink-cmp-sshconfig
Last synced: 5 days ago
JSON representation
Ssh_config(5) files source for blink.cmp
- Host: GitHub
- URL: https://github.com/bydlw98/blink-cmp-sshconfig
- Owner: bydlw98
- License: mit
- Created: 2025-05-25T12:51:28.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-09-07T09:56:09.000Z (about 2 months ago)
- Last Synced: 2025-09-07T10:16:10.645Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 42 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-neovim - bydlw98/blink-cmp-sshconfig - `blink.cmp` source for `sshconfig` files. (Completion / (requires Neovim 0.5))
- awesome-neovim-sorted - bydlw98/blink-cmp-sshconfig
README
# blink-cmp-sshconfig
[blink.cmp](https://github.com/Saghen/blink.cmp) source for sshconfig files.
Keywords and their meanings are taken from [OpenBSD ssh_config(5)](https://man.openbsd.org/ssh_config).
---
## Requirements
- neovim >= 0.11.0
- `python`
- `uv`
- `GNU make`
---
## Installation
### [`lazy.nvim`](https://github.com/folke/lazy.nvim)
```lua
require("lazy").setup({
spec = {
{
"saghen/blink.cmp",
dependencies = {
{
"bydlw98/blink-cmp-sshconfig",
build = 'make',
},
},
opts = {
sources = {
default = { "lsp", "path", "snippets", "buffer", "sshconfig" },
providers = {
sshconfig = {
name = "SshConfig",
module = "blink-cmp-sshconfig",
}
}
}
}
},
},
})
```
### [`vim-plug`](https://github.com/junegunn/vim-plug)
```vim
call plug#begin()
Plug 'Saghen/blink.cmp'
Plug 'bydlw98/blink-cmp-sshconfig', { 'do': 'make' }
lua << EOF
require("blink.cmp").setup({
sources = {
default = { "lsp", "path", "snippets", "buffer", "sshconfig" },
providers = {
sshconfig = {
name = "SshConfig",
module = "blink-cmp-sshconfig",
}
}
}
})
EOF
call plug#end()
```
---
## Generating completion_items.lua
You can generate the keywords and their meanings in `lua/blink-cmp-sshconfig/completion_items.lua` with the following command:
```sh
make
```