commit 25c02b342d75826490dcdf479bb47d8eadcdd299
parent 93143c9a21c2434f4cd06d41d286a9d170832f84
Author: Thomas Vigouroux <thomas.vigouroux@protonmail.com>
Date: Fri, 26 Aug 2022 10:44:38 +0200
feat: uniformize configurations
Diffstat:
2 files changed, 24 insertions(+), 8 deletions(-)
diff --git a/lua/lsp_config.lua b/lua/lsp_config.lua
@@ -5,13 +5,8 @@ vim.diagnostic.config {
virtual_lines = false
}
-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{
- component_name_recall = true,
- notify_clear_time = 5000
-}
+vim.lsp.handlers['textDocument/hover'] = vim.lsp.with(vim.lsp.handlers.hover, { border = 'solid' })
+vim.lsp.handlers['textDocument/signatureHelp'] = vim.lsp.with(vim.lsp.handlers.hover, { border = 'solid' })
local function on_attach(client, bufnr)
local function set_keymap(lhs, func, ...)
diff --git a/lua/plugins.lua b/lua/plugins.lua
@@ -46,7 +46,28 @@ return packer.startup(function(use)
require 'tele_config'
end,
}
- localuse "vigoux/notifier.nvim"
+ localuse {
+ "vigoux/notifier.nvim",
+ config = function()
+ require "notifier".setup {
+ component_name_recall = true,
+ notify_clear_time = 5000
+ }
+ end
+ }
+ use {
+ "doums/suit.nvim",
+ config = function()
+ require('suit').setup({
+ input = {
+ border = 'solid',
+ },
+ select = {
+ border = 'solid',
+ },
+ })
+ end
+ }
-- use { 'neovim/nvimdev.nvim', requires = {'neomake/neomake'}}