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