nvim-config

Log | Files | Refs | Submodules | README

commit b49d5ad2bfd38f6378b3215721523fd1fd838d26
parent 25ed5b843d027c0e3071157a235dbc56f86d35e8
Author: Thomas Vigouroux <thomas.vigouroux@protonmail.com>
Date:   Fri, 26 Aug 2022 10:37:57 +0200

feat(lsp): add notifier configuration

Diffstat:
Mlua/lsp_config.lua | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lua/lsp_config.lua b/lua/lsp_config.lua @@ -8,7 +8,10 @@ vim.diagnostic.config { vim.lsp.handlers['textDocument/hover'] = vim.lsp.with(vim.lsp.handlers.hover, { border = 'rounded' }) vim.lsp.handlers['textDocument/signatureHelp'] = vim.lsp.with(vim.lsp.handlers.hover, { border = 'rounded' }) -require"notifier".setup{} +require"notifier".setup{ + component_name_recall = true, + notify_clear_time = 5000 +} local function on_attach(client, bufnr) local function set_keymap(lhs, func, ...)