summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/extra/lsp_signature.lua
blob: 7e67a4db7551443d1a9e5c1a5d6241f6dcc1e747 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
local M = {}
local Log = require "core.log"

M.config = function()
  local status_ok, lsp_signature = pcall(require, "lsp_signature")
  if not status_ok then
    Log:get_default().error "Failed to load lsp_signature"
    return
  end

  lsp_signature.on_attach()
end

return M