From fce7629d3cc1fa91fa871c076dabd84371f6a632 Mon Sep 17 00:00:00 2001 From: asep komarudin Date: Sat, 9 Mar 2024 16:16:10 +0700 Subject: [PATCH] add: custom config material --- lazy-lock.json | 2 +- lua/custom/default.lua | 2 +- lua/plugins/colorscheme.lua | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+), 2 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 8a70f6c..11c22cc 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -21,6 +21,7 @@ "mason-lspconfig.nvim": { "branch": "main", "commit": "56e435e09f8729af2d41973e81a0db440f8fe9c9" }, "mason-null-ls.nvim": { "branch": "main", "commit": "e270134d83ba59425edc53356c6fd337b61bb8dd" }, "mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" }, + "material.nvim": { "branch": "main", "commit": "1804e517ceb0fce958a9fabaa94c9a6e09d54b8f" }, "mini.animate": { "branch": "main", "commit": "82519630b2760ffc516ebc387bef632f9c07b9f5" }, "mini.indentscope": { "branch": "main", "commit": "cf07f19e718ebb0bcc5b00999083ce11c37b8d40" }, "neoscroll.nvim": { "branch": "master", "commit": "6e3546751076890304428150e53bd59198a4505d" }, @@ -47,7 +48,6 @@ "smart-splits.nvim": { "branch": "master", "commit": "f6fcb79527872e9330c554915af2ca511c388390" }, "telescope.nvim": { "branch": "master", "commit": "7472420f8734c710bd7009081cef9b97f08a3821" }, "toggleterm.nvim": { "branch": "main", "commit": "193786e0371e3286d3bc9aa0079da1cd41beaa62" }, - "tokyonight.nvim": { "branch": "main", "commit": "67c6050e1ca41260c919236a098ba278472c7520" }, "vim-illuminate": { "branch": "master", "commit": "305bf07b919ac526deb5193280379e2f8b599926" }, "vim-startuptime": { "branch": "master", "commit": "97a88e688482a09c3c4b777d07b509b328a5ec29" }, "vim-visual-multi": { "branch": "master", "commit": "1c9207b28c8898ab01b54e6d6b61b0b820a814bc" }, diff --git a/lua/custom/default.lua b/lua/custom/default.lua index fc70499..9a5fb7d 100644 --- a/lua/custom/default.lua +++ b/lua/custom/default.lua @@ -12,7 +12,7 @@ -- catppuccin, catppuccin-latte, catppuccin-frappe, catppuccin-macchiato, catppuccin-mocha -- dracula -- nightfox, dayfox, dawnfox, duskfox, nordfox, terafox, carbonfox -vim.g.pcode_colorscheme = "tokyonight" +vim.g.pcode_colorscheme = "material_palenight" -- custom transparent mode -- only support diff --git a/lua/plugins/colorscheme.lua b/lua/plugins/colorscheme.lua index 0513fc6..7e82ea3 100644 --- a/lua/plugins/colorscheme.lua +++ b/lua/plugins/colorscheme.lua @@ -286,12 +286,48 @@ return { "marko-cerovac/material.nvim", enabled = material, config = function() + local colors = require("material.colors") vim.g.material_style = material_style require("material").setup({ lualine_style = "stealth", disable = { background = transparent, }, + plugins = { -- Uncomment the plugins that you use to highlight them + -- Available plugins: + "dap", + -- "dashboard", + -- "eyeliner", + "fidget", + -- "flash", + -- "gitsigns", + -- "harpoon", + -- "hop", + "illuminate", + "indent-blankline", + -- "lspsaga", + "mini", + -- "neogit", + -- "neotest", + -- "neo-tree", + -- "neorg", + "noice", + "nvim-cmp", + "nvim-navic", + "nvim-tree", + "nvim-web-devicons", + -- "rainbow-delimiters", + -- "sneak", + "telescope", + -- "trouble", + "which-key", + "nvim-notify", + }, + custom_highlights = { + BufferLineFill = { bg = colors.bg }, + StatusLine = { fg = "#f8f8f2", bg = colors.bg }, + StatusLineTerm = { fg = "#f8f8f2", bg = colors.bg }, + }, }) end, },