Skip to content

bydlw98/blink-cmp-sshconfig

Repository files navigation

blink-cmp-sshconfig

blink.cmp source for sshconfig files.

Keywords and their meanings are taken from OpenBSD ssh_config(5).


Requirements

  • neovim >= 0.11.0
  • python
  • uv
  • GNU make

Installation

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",
            }
          }
        }
      }
    },
  },
})
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:

make

About

Ssh_config(5) files source for blink.cmp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •