Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

mjlbach/lsp_signature.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

This plugin automatically triggers signature help for you: image

Installation

With packer:

local install_path = vim.fn.stdpath 'data' .. '/site/pack/packer/start/packer.nvim'

if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
  vim.fn.execute('!git clone https://github.com/wbthomason/packer.nvim ' .. install_path)
end

vim.cmd [[
  augroup Packer
    autocmd!
    autocmd BufWritePost init.lua PackerCompile
  augroup end
]]

local use = require('packer').use
require('packer').startup(function()
  use 'neovim/nvim-lspconfig'
  use 'mjlbach/lsp-signature.nvim'
end)

Usage

local on_attach = function(client, bufnr)
  require('lsp_signature').attach(client, bufnr)
end

require('lspconfig').pyright.setup {
  on_attach = on_attach
}

Credit

The design of this was heavily inspired by nvim-lsp-compl

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages