add custom plugins

This commit is contained in:
vladstojna 2023-04-18 01:59:50 +01:00 committed by vladstojna
parent c80a77488b
commit 693e7c3053
10 changed files with 175 additions and 1 deletions

View File

@ -0,0 +1,23 @@
return {
{
'akinsho/bufferline.nvim',
version = "v3.*",
dependencies = {
'nvim-tree/nvim-web-devicons'
},
opts = {},
config = function()
require('bufferline').setup {
options = {
numbers = 'none',
close_command = 'Bdelete! %d',
right_mouse_command = 'Bdelete! %d',
indicator = {
style = 'icon',
},
-- separator_style = 'slant',
}
}
end,
},
}

View File

@ -0,0 +1,26 @@
return {
"laytan/cloak.nvim",
version = "*",
config = function()
require("cloak").setup {
enabled = true,
cloak_character = '*',
-- The applied highlight group (colors) on the cloaking, see `:h highlight`.
highlight_group = 'Comment',
-- Applies the length of the replacement characters for all matched
-- patterns, defaults to the length of the matched pattern.
cloak_length = nil, -- Provide a number if you want to hide the true length of the value.
patterns = {
{
-- Match any file starting with '.env'.
-- This can be a table to match multiple file patterns.
file_pattern = '.env*',
-- Match an equals sign and any character after it.
-- This can also be a table of patterns to cloak,
-- example: cloak_pattern = { ':.+', '-.+' } for yaml files.
cloak_pattern = '=.+'
},
},
}
end,
}

View File

@ -0,0 +1,13 @@
return {
'folke/tokyonight.nvim',
lazy = false,
priority = 999,
config = function()
require('tokyonight').setup {
style = 'storm',
transparent = true,
}
vim.cmd.colorscheme 'tokyonight'
end,
}

View File

@ -0,0 +1,27 @@
return {
"nvim-neo-tree/neo-tree.nvim",
version = "*",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
"MunifTanjim/nui.nvim",
},
config = function()
-- Unless you are still migrating, remove the deprecated commands from v1.x
vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
require('neo-tree').setup {
window = {
position = "float",
},
filesystem = {
filtered_items = {
visible = true,
hide_dotfiles = false,
hide_gitignored = false,
},
hijack_netrw_behavior = "open_current",
},
}
end,
}

View File

@ -0,0 +1,10 @@
return {
"goolord/alpha-nvim",
version = "*",
dependencies = {
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
},
config = function()
require('alpha').setup(require('alpha.themes.dashboard').config)
end,
}

View File

@ -0,0 +1,8 @@
return {
'lukas-reineke/indent-blankline.nvim',
opts = {
char = '',
show_trailing_blankline_indent = false,
show_current_context = true,
},
}

View File

@ -2,4 +2,20 @@
-- I promise not to create any merge conflicts in this directory :)
--
-- See the kickstart.nvim README for more information
return {}
return {
"nvim-treesitter/playground",
"nvim-treesitter/nvim-treesitter-context",
"theprimeagen/harpoon",
"mbbill/undotree",
"windwp/nvim-autopairs",
"RRethy/vim-illuminate",
"ahmedkhalf/project.nvim",
"famiu/bufdelete.nvim",
{
"folke/trouble.nvim",
dependencies = {
"nvim-tree/nvim-web-devicons",
},
}
}

View File

@ -0,0 +1,20 @@
return {
"jose-elias-alvarez/null-ls.nvim",
version = "*",
dependencies = {
"nvim-lua/plenary.nvim",
},
config = function()
local null_ls = require("null-ls")
null_ls.setup {
sources = {
null_ls.builtins.formatting.prettier,
null_ls.builtins.formatting.black,
null_ls.builtins.formatting.latexindent,
null_ls.builtins.formatting.shfmt,
null_ls.builtins.code_actions.shellcheck,
null_ls.builtins.diagnostics.shellcheck,
},
}
end,
}

View File

@ -0,0 +1,16 @@
return {
{
'akinsho/toggleterm.nvim',
version = "*",
opts = {},
config = function()
require('toggleterm').setup {
open_mapping = [[<c-\>]],
persist_mode = true,
direction = 'float',
shell = 'zsh',
close_on_exit = true,
}
end,
},
}

View File

@ -0,0 +1,15 @@
return {
"folke/zen-mode.nvim",
version = "*",
config = function()
require("zen-mode").setup {
window = {
backdrop = 0.8,
width = 100,
},
plugins = {
gitsigns = { enabled = false },
},
}
end,
}