Plugin: add hardhacker

This commit is contained in:
Arkaprabha Chakraborty
2024-08-20 23:24:19 +05:30
parent 69cf9f1df9
commit 6447c458ff

View File

@@ -1,113 +1,126 @@
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable",
lazypath,
})
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable",
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
local plugins = {
{ "folke/zen-mode.nvim" },
{
"nvim-neo-tree/neo-tree.nvim",
branch = "v3.x",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons",
"MunifTanjim/nui.nvim",
"3rd/image.nvim",
},
config = { hijack_netrw_behavior = "open_default" }
},
{ "stevearc/dressing.nvim", event = "VeryLazy" },
{ "ellisonleao/gruvbox.nvim", priority = 1000, config = true },
{
"navarasu/onedark.nvim",
config = {
style = 'warmer',
transparent = true,
term_colors = true,
ending_tildes = false,
cmp_itemkind_reverse = false,
toggle_style_key = nil,
toggle_style_list = { 'dark', 'darker', 'cool', 'deep', 'warm', 'warmer', 'light' },
code_style = {
comments = 'italic',
keywords = 'none',
functions = 'none',
strings = 'none',
variables = 'none'
},
lualine = {
transparent = false,
},
colors = {},
highlights = {},
diagnostics = {
darker = true,
undercurl = true,
background = true,
},
}
},
{ "EdenEast/nightfox.nvim" },
{ "rebelot/kanagawa.nvim" },
{ "savq/melange-nvim" },
{
"akinsho/bufferline.nvim",
version = "*",
dependencies = "nvim-tree/nvim-web-devicons",
config = true,
},
{ "lewis6991/gitsigns.nvim" },
{ "williamboman/mason.nvim" },
{ "williamboman/mason-lspconfig.nvim" },
{ "neovim/nvim-lspconfig" },
{ "jose-elias-alvarez/null-ls.nvim" },
{ "L3MON4D3/LuaSnip" },
{ "rafamadriz/friendly-snippets" },
{ "hrsh7th/nvim-cmp" },
{ "hrsh7th/cmp-buffer" },
{ "hrsh7th/cmp-path" },
{ "saadparwaiz1/cmp_luasnip" },
{ "onsails/lspkind.nvim" },
{ "hrsh7th/cmp-nvim-lsp" },
{ "nvim-treesitter/nvim-treesitter" },
{ "simrat39/rust-tools.nvim" },
{ "nvim-lualine/lualine.nvim" },
{ "norcalli/nvim-colorizer.lua" },
{
"nvim-telescope/telescope.nvim",
branch = "0.1.x",
dependencies = { "nvim-lua/plenary.nvim", { "nvim-telescope/telescope-fzf-native.nvim", build = "make" } },
},
{
"akinsho/toggleterm.nvim",
version = "*",
opts = {
size = function(term)
if term.direction == "horizontal" then
return 24
elseif term.direction == "vertical" then
return vim.o.columns * 0.4
end
end,
open_mapping = [[<C-\>]],
hide_numbers = true,
start_in_insert = true,
direction = "float",
close_on_exit = true,
shell = vim.o.shell,
float_opts = {
border = "curved",
},
},
},
{ "folke/zen-mode.nvim" },
{
"hardhackerlabs/theme-vim",
name = "hardhacker",
lazy = false,
priority = 1000,
config = function()
vim.g.hardhacker_hide_tilde = 1
vim.g.hardhacker_keyword_italic = 1
-- custom highlights
vim.g.hardhacker_custom_highlights = {}
vim.cmd("colorscheme hardhacker")
end,
},
{
"nvim-neo-tree/neo-tree.nvim",
branch = "v3.x",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons",
"MunifTanjim/nui.nvim",
"3rd/image.nvim",
},
config = { hijack_netrw_behavior = "open_default" },
},
{ "stevearc/dressing.nvim", event = "VeryLazy" },
{ "ellisonleao/gruvbox.nvim", priority = 1000, config = true },
{
"navarasu/onedark.nvim",
config = {
style = "warmer",
transparent = true,
term_colors = true,
ending_tildes = false,
cmp_itemkind_reverse = false,
toggle_style_key = nil,
toggle_style_list = { "dark", "darker", "cool", "deep", "warm", "warmer", "light" },
code_style = {
comments = "italic",
keywords = "none",
functions = "none",
strings = "none",
variables = "none",
},
lualine = {
transparent = false,
},
colors = {},
highlights = {},
diagnostics = {
darker = true,
undercurl = true,
background = true,
},
},
},
{ "EdenEast/nightfox.nvim" },
{ "rebelot/kanagawa.nvim" },
{ "savq/melange-nvim" },
{
"akinsho/bufferline.nvim",
version = "*",
dependencies = "nvim-tree/nvim-web-devicons",
config = true,
},
{ "lewis6991/gitsigns.nvim" },
{ "williamboman/mason.nvim" },
{ "williamboman/mason-lspconfig.nvim" },
{ "neovim/nvim-lspconfig" },
{ "jose-elias-alvarez/null-ls.nvim" },
{ "L3MON4D3/LuaSnip" },
{ "rafamadriz/friendly-snippets" },
{ "hrsh7th/nvim-cmp" },
{ "hrsh7th/cmp-buffer" },
{ "hrsh7th/cmp-path" },
{ "saadparwaiz1/cmp_luasnip" },
{ "onsails/lspkind.nvim" },
{ "hrsh7th/cmp-nvim-lsp" },
{ "nvim-treesitter/nvim-treesitter" },
{ "simrat39/rust-tools.nvim" },
{ "nvim-lualine/lualine.nvim" },
{ "norcalli/nvim-colorizer.lua" },
{
"nvim-telescope/telescope.nvim",
branch = "0.1.x",
dependencies = { "nvim-lua/plenary.nvim", { "nvim-telescope/telescope-fzf-native.nvim", build = "make" } },
},
{
"akinsho/toggleterm.nvim",
version = "*",
opts = {
size = function(term)
if term.direction == "horizontal" then
return 24
elseif term.direction == "vertical" then
return vim.o.columns * 0.4
end
end,
open_mapping = [[<C-\>]],
hide_numbers = true,
start_in_insert = true,
direction = "tab",
close_on_exit = true,
shell = vim.o.shell,
float_opts = {
border = "curved",
},
},
},
}
local opts = {}