dotfiles/files/config/nvim/lua/plugins/ui.lua

141 lines
3.7 KiB
Lua
Raw Normal View History

2024-05-14 19:57:55 +02:00
local logo = [[
]]
2023-09-18 13:53:33 +02:00
return {
2024-05-14 19:57:55 +02:00
{
"nvimdev/dashboard-nvim",
opts = {
theme = "hyper",
config = {
header = vim.split(string.rep("\n", 8) .. logo, "\n"),
week_header = { enable = false },
packages = { enable = false },
project = { enable = false },
footer = {},
shortcut = {},
},
},
},
2024-06-07 16:54:47 +02:00
{
"dgagn/diagflow.nvim",
-- event = 'LspAttach', This is what I use personnally and it works great
opts = {
scope = "line",
gap_size = 0,
max_width = 50,
max_height = 20,
show_borders = true,
2024-06-11 22:48:15 +02:00
toggle_event = { "InsertEnter", "InsertLeave" },
2024-06-07 16:54:47 +02:00
},
},
{
"akinsho/bufferline.nvim",
enabled = false,
},
2024-05-14 19:57:55 +02:00
2024-03-09 18:34:31 +01:00
{
"echasnovski/mini.indentscope",
2024-03-09 18:34:31 +01:00
enabled = false,
},
2023-09-18 13:53:33 +02:00
{
"lukas-reineke/indent-blankline.nvim",
enabled = false,
2023-09-18 13:53:33 +02:00
},
2024-03-03 22:20:57 +01:00
2024-09-08 14:02:29 +02:00
{ "nvimdev/indentmini.nvim", opts = { char = "" } },
{
"mvllow/modes.nvim",
opts = {
colors = {
copy = "#f5c359",
delete = "#c75c6a",
insert = "#ffcc00",
visual = "#c343fc",
},
set_cursor = true,
set_cursorline = true,
set_number = true,
},
},
{
"folke/noice.nvim",
event = "VeryLazy",
keys = {
{ "<leader>sna", "<cmd>NoiceTelescope<cr>", desc = "Show all messages in Telescope" },
},
opts = function()
local enable_conceal = true -- Hide command text if true
return {
presets = { bottom_search = true }, -- The kind of popup used for /
cmdline = {
view = "cmdline", -- The kind of popup used for :
format = {
cmdline = { conceal = enable_conceal },
search_down = { conceal = enable_conceal },
search_up = { conceal = enable_conceal },
filter = { conceal = enable_conceal },
lua = { conceal = enable_conceal },
help = { conceal = enable_conceal },
input = { conceal = enable_conceal },
},
},
2024-08-02 11:12:36 +02:00
messages = { enabled = true, view = "mini" },
lsp = {
hover = { enabled = false },
signature = { enabled = false },
progress = { enabled = true, view = "cmdline" },
message = { enabled = false },
smart_move = { enabled = false },
},
}
end,
},
2024-03-03 22:20:57 +01:00
{
"rcarriga/nvim-notify",
opts = {
timeout = 1000,
2024-05-09 11:16:52 +02:00
render = "wrapped-compact",
top_down = false,
2024-08-02 11:12:36 +02:00
max_width = function()
return math.floor(vim.o.columns * 0.5)
end,
on_open = function(win)
vim.api.nvim_win_set_config(win, {
focusable = false,
zindex = 100,
})
end,
2024-03-03 22:20:57 +01:00
},
},
{
"nvim-lualine/lualine.nvim",
enabled = false,
2024-03-03 22:20:57 +01:00
},
2024-05-23 22:10:11 +02:00
{
2024-06-11 22:48:15 +02:00
"ahmedkhalf/project.nvim",
opts = {
2024-08-02 11:12:36 +02:00
exclude_dirs = {
"~/.cargo/*",
"~/.config/*",
"/tmp/*",
},
2024-06-11 22:48:15 +02:00
manual_mode = false,
2024-08-02 11:12:36 +02:00
patterns = { ".git", ".jj" },
2024-06-11 22:48:15 +02:00
},
2024-05-23 22:10:11 +02:00
},
2023-09-18 13:53:33 +02:00
}