Archived
0
0
Fork 0
This repository has been archived on 2024-02-06. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/.config/nvim/lua/user/lsp/signature.lua

12 lines
372 B
Lua
Raw Normal View History

local status_ok, signature = pcall(require, "lsp_signature")
if not status_ok then
return
end
local cfg = {
floating_window = false, -- show hint in a floating window, set to false for virtual text only mode
}
signature.setup(cfg) -- no need to specify bufnr if you don't use toggle_key
signature.on_attach(cfg) -- no need to specify bufnr if you don't use toggle_key