added new plugins

This commit is contained in:
Sven Vogel 2024-05-12 19:38:26 +02:00
parent 5060fc3cb0
commit cf3594a8a9
17 changed files with 134 additions and 20 deletions

5
.luarc.json Normal file
View File

@ -0,0 +1,5 @@
{
"diagnostics.globals": [
"vim"
]
}

7
lua/plugins/adwaita.lua Normal file
View File

@ -0,0 +1,7 @@
return {
{
"Mofiqul/adwaita.nvim",
priority = 1000,
lazy = false,
},
}

View File

@ -20,14 +20,14 @@ return {
cmp.setup({ cmp.setup({
window = { window = {
completion = { completion = {
border = "single", border = "none",
scrollbar = false, scrollbar = false,
winhighlight = "Normal:CmpPmenu,FloatBorder:FloatBorder,Search:None", winhighlight = "Normal:Pmenu,FloatBorder:FloatBorder,Search:None",
}, },
documentation = { documentation = {
border = "single", border = "none",
scrollbar = false, scrollbar = false,
winhighlight = "Normal:CmpPmenu,FloatBorder:FloatBorder,Search:None", winhighlight = "Normal:Pmenu,FloatBorder:FloatBorder,Search:None",
}, },
}, },
snippet = { snippet = {
@ -36,17 +36,16 @@ return {
end, end,
}, },
completion = { completion = {
preselect = "none", completeopt = "longest,menuone,noinsert,noselect",
completeopt = "menu,menuone,noinser",
}, },
sources = cmp.config.sources({ sources = cmp.config.sources({
{ name = "nvim_lsp" }, { name = "nvim_lsp" },
{ name = "nvim_lsp_signature_help" }, { name = "nvim_lsp_signature_help" },
{ name = "vsnip" }, { name = "luasnip" },
{ name = "buffer" }, { name = "buffer" },
{ name = "path" }, { name = "path" },
{ name = "calc" },
}, { }, {
{ name = "calc" },
{ name = "emoji" }, { name = "emoji" },
{ name = "cmdline" }, { name = "cmdline" },
{ name = "latex_symbols" }, { name = "latex_symbols" },

View File

@ -13,6 +13,7 @@ return {
formatters_by_ft = { formatters_by_ft = {
lua = { "stylua" }, lua = { "stylua" },
sh = { "shfmt" }, sh = { "shfmt" },
c = { "clangd-format" },
}, },
}, },
}, },

6
lua/plugins/diffview.lua Normal file
View File

@ -0,0 +1,6 @@
return {
{
"sindrets/diffview.nvim",
opts = {},
},
}

5
lua/plugins/dressing.lua Normal file
View File

@ -0,0 +1,5 @@
return {
{
"stevearc/dressing.nvim",
},
}

10
lua/plugins/eagle.lua Normal file
View File

@ -0,0 +1,10 @@
return {
{
"soulis-1256/eagle.nvim",
config = function()
require("eagle").setup({
border = "none",
})
end,
},
}

16
lua/plugins/lens.lua Normal file
View File

@ -0,0 +1,16 @@
return {
{
"VidocqH/lsp-lens.nvim",
config = function()
require("lsp-lens").setup({
enable = true,
sections = {
definition = false,
references = true,
implements = true,
git_authors = true,
},
})
end,
},
}

24
lua/plugins/lightbulb.lua Normal file
View File

@ -0,0 +1,24 @@
return {
{
"kosayoda/nvim-lightbulb",
opts = {
autocmd = { enabled = true },
sign = {
enabled = false,
},
float = {
enabled = true,
-- Text to show in the floating window.
text = "💡",
-- Highlight group to highlight the floating window.
hl = "LightBulbFloatWin",
-- Window options.
-- See |vim.lsp.util.open_floating_preview| and |nvim_open_win|.
-- Note that some options may be overridden by |open_floating_preview|.
win_opts = {
focusable = false,
},
},
},
},
}

View File

@ -5,7 +5,7 @@ return {
local options = require("options") local options = require("options")
return { return {
options = { options = {
theme = "vscode", theme = "auto",
component_separators = { left = "", right = "" }, component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" }, section_separators = { left = "", right = "" },
globalstatus = true, globalstatus = true,

View File

@ -0,0 +1,14 @@
return {
{
"gmr458/vscode_modern_theme.nvim",
lazy = false,
priority = 1000,
config = function()
require("vscode_modern").setup({
cursorline = true,
transparent_background = false,
nvim_tree_darker = true,
})
end,
},
}

View File

@ -0,0 +1,6 @@
return {
{
"lewis6991/satellite.nvim",
opts = {},
},
}

View File

@ -9,6 +9,7 @@ return {
"toggleterm", "toggleterm",
"dashboard", "dashboard",
"aerial", "aerial",
"zsh",
"NvimTree", "NvimTree",
}, },
segments = { segments = {

7
lua/plugins/todo.lua Normal file
View File

@ -0,0 +1,7 @@
return {
{
"folke/todo-comments.nvim",
dependencies = { "nvim-lua/plenary.nvim" },
opts = {},
},
}

View File

@ -0,0 +1,8 @@
return {
{
"folke/tokyonight.nvim",
lazy = false,
priority = 1000,
opts = {},
},
}

View File

@ -1,11 +0,0 @@
return {
{
"Mofiqul/vscode.nvim",
priority = 1,
opts = {
style = "dark",
transparent = true,
italic_comments = false,
},
},
}

16
lua/plugins/vscode.lua Normal file
View File

@ -0,0 +1,16 @@
return {
{
"Mofiqul/vscode.nvim",
lazy = false,
priority = 1000,
opts = {
color_overrides = {},
group_overrides = {
DiffDelete = {
fg = "#5A5A5A",
bg = "#1f1f1f",
},
},
},
},
}