mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-24 19:57:03 +00:00
chore(nvim): tweak plugins
Signed-off-by: Ismo Vuorinen <ismo@ivuorinen.net>
This commit is contained in:
@@ -9,7 +9,10 @@ return {
|
|||||||
dependencies = {
|
dependencies = {
|
||||||
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
|
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
|
||||||
'MunifTanjim/nui.nvim',
|
'MunifTanjim/nui.nvim',
|
||||||
'rcarriga/nvim-notify',
|
{
|
||||||
|
'rcarriga/nvim-notify',
|
||||||
|
opts = { background_colour = '#000000' },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
opts = {
|
opts = {
|
||||||
lsp = {
|
lsp = {
|
||||||
@@ -29,6 +32,10 @@ return {
|
|||||||
lsp_doc_border = false, -- add a border to hover docs and signature help
|
lsp_doc_border = false, -- add a border to hover docs and signature help
|
||||||
},
|
},
|
||||||
routes = {
|
routes = {
|
||||||
|
{
|
||||||
|
view = 'notify',
|
||||||
|
filter = { event = 'msg_showmode' },
|
||||||
|
},
|
||||||
{
|
{
|
||||||
filter = {
|
filter = {
|
||||||
event = 'msg_show',
|
event = 'msg_show',
|
||||||
@@ -66,13 +73,31 @@ return {
|
|||||||
},
|
},
|
||||||
views = {
|
views = {
|
||||||
cmdline_popup = {
|
cmdline_popup = {
|
||||||
border = {
|
position = {
|
||||||
style = 'none',
|
row = 5,
|
||||||
padding = { 1, 2 },
|
col = '50%',
|
||||||
|
},
|
||||||
|
size = {
|
||||||
|
width = 60,
|
||||||
|
height = 'auto',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
popupmenu = {
|
||||||
|
relative = 'editor',
|
||||||
|
position = {
|
||||||
|
row = 8,
|
||||||
|
col = '50%',
|
||||||
|
},
|
||||||
|
size = {
|
||||||
|
width = 60,
|
||||||
|
height = 10,
|
||||||
|
},
|
||||||
|
border = {
|
||||||
|
style = 'rounded',
|
||||||
|
padding = { 0, 1 },
|
||||||
},
|
},
|
||||||
filter_options = {},
|
|
||||||
win_options = {
|
win_options = {
|
||||||
winhighlight = 'NormalFloat:NormalFloat,FloatBorder:FloatBorder',
|
winhighlight = { Normal = 'Normal', FloatBorder = 'DiagnosticInfo' },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -17,6 +17,8 @@ return {
|
|||||||
|
|
||||||
-- Allows extra capabilities provided by blink.cmp
|
-- Allows extra capabilities provided by blink.cmp
|
||||||
'saghen/blink.cmp',
|
'saghen/blink.cmp',
|
||||||
|
|
||||||
|
{ 'j-hui/fidget.nvim', opts = {} },
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
local lazydev = require 'lazydev'
|
local lazydev = require 'lazydev'
|
||||||
|
|||||||
@@ -60,7 +60,16 @@ return {
|
|||||||
extra_groups = {
|
extra_groups = {
|
||||||
'NormalNC',
|
'NormalNC',
|
||||||
'NormalFloat',
|
'NormalFloat',
|
||||||
|
'FloatTitle',
|
||||||
'FloatBorder',
|
'FloatBorder',
|
||||||
|
'NotifyDEBUGBorder',
|
||||||
|
'NotifyERRORBorder',
|
||||||
|
'NotifyINFOBorder',
|
||||||
|
'NotifyINFOBorder73',
|
||||||
|
'NotifyINFOBorder75',
|
||||||
|
'NotifyINFOBorder101',
|
||||||
|
'NotifyTRACEBorder',
|
||||||
|
'NotifyWARNBorder',
|
||||||
'TelescopeBorder',
|
'TelescopeBorder',
|
||||||
'TelescopePromptBorder',
|
'TelescopePromptBorder',
|
||||||
'TelescopeResultsBorder',
|
'TelescopeResultsBorder',
|
||||||
|
|||||||
Reference in New Issue
Block a user