diff --git a/lua/community.lua b/lua/community.lua index dd2dc74..4cc72a8 100644 --- a/lua/community.lua +++ b/lua/community.lua @@ -1,7 +1,7 @@ return { "AstroNvim/astrocommunity", - { import = "astrocommunity.colorscheme.catppuccin" }, + -- { import = "astrocommunity.colorscheme.catppuccin" }, -- { -- "catppuccin", -- opts = { diff --git a/lua/plugins/astrolsp.lua b/lua/plugins/astrolsp.lua index 930e525..e502ae0 100644 --- a/lua/plugins/astrolsp.lua +++ b/lua/plugins/astrolsp.lua @@ -64,7 +64,9 @@ return { } }, root_dir = function(path) - local normal = require("lspconfig.util").root_pattern(".git")(vim.fn.getcwd()) + -- local normal = require("lspconfig.util").root_pattern(".git")(vim.fn.getcwd()) + -- local normal = require("lspconfig.util").root_pattern(".git")(vim.fn.getcwd()) + local normal = vim.fs.root(vim.fn.getcwd(), { '.git' }) if normal then return normal else diff --git a/lua/plugins/colorscheme.lua b/lua/plugins/colorscheme.lua new file mode 100644 index 0000000..935b2a5 --- /dev/null +++ b/lua/plugins/colorscheme.lua @@ -0,0 +1,102 @@ +return { + { "savq/melange-nvim", lazy = true }, + { "AlexvZyl/nordic.nvim", lazy = true }, + { "xero/miasma.nvim", lazy = true }, + { "tiagovla/tokyodark.nvim", lazy = true, opts = { transparent_background = true } }, + { "rebelot/kanagawa.nvim", lazy = true, opts = { transparent = false, theme = "wave" } }, + { "ellisonleao/gruvbox.nvim", lazy = true, opts = { transparent_mode = true } }, + { "catppuccin/nvim", name = "catppuccin", lazy = true, opts = { transparent_background = false, flavour = "mocha" } }, + { "folke/tokyonight.nvim", lazy = true, opts = { style = "night", transparent = true } }, + { + "rose-pine/neovim", + name = "rose-pine", + lazy = true, + opts = { styles = { transparency = false } }, + }, + -- superior gruvbox variant + { + "sainnhe/gruvbox-material", + lazy = true, + config = function() + vim.g.gruvbox_material_enable_italic = true + vim.g.gruvbox_material_background = "hard" + vim.g.gruvbox_material_transparent_background = 1 + end, + }, + -- custom theme + { + "bjarneo/aether.nvim", + name = "aether", + lazy = true, + opts = { + disable_italics = false, + transparent = true, + colors = { + -- aamis + -- base00 = "#0f0f0f", + -- base01 = "#5e5959", + -- base02 = "#0f0f0f", + -- base03 = "#5e5959", + -- base04 = "#e6caab", + -- base05 = "#eadccc", + -- base06 = "#eadccc", + -- base07 = "#e6caab", + -- base08 = "#e25d6c", + -- base09 = "#e9838f", + -- base0A = "#f4bb54", + -- base0B = "#cea37f", + -- base0C = "#e8ab3b", + -- base0D = "#e2be8a", + -- base0E = "#f66151", + -- base0F = "#edb95a", + + -- sakura + base00 = "#0d0509", + base01 = "#4a3c45", + base02 = "#0d0509", + base03 = "#8a6a7a", + base04 = "#E3C5AB", + base05 = "#f0eaed", + base06 = "#ffffff", + base07 = "#E3C5AB", + base08 = "#E85F6F", + base09 = "#FF7A8A", + base0A = "#D4A882", + base0B = "#F29B9A", + base0C = "#E8C099", + base0D = "#D9A56C", + base0E = "#D1B399", + base0F = "#FBD2AB", + + -- forest + -- base00 = "#020802", + -- base01 = "#518a51", + -- base02 = "#020802", + -- base03 = "#518a51", + -- base04 = "#bff2ab", + -- base05 = "#fdfffd", + -- base06 = "#fdfffd", + -- base07 = "#bff2ab", + -- base08 = "#bf5a7c", + -- base09 = "#dcb0be", + -- base0A = "#DFEC63", + -- base0B = "#70cf6c", + -- base0C = "#9ed8dd", + -- base0D = "#62e2a4", + -- base0E = "#e0eb7a", + -- base0F = "#f6fdb7", + }, + }, + }, + -- fav theme (only this will be loaded on startup) + { + "vague2k/vague.nvim", + priority = 1000, + lazy = false, + opts = { transparent = true }, + config = function(_, opts) + require("vague").setup(opts) + vim.cmd.colorscheme "vague" + end, + }, +} diff --git a/lua/plugins/noice.lua b/lua/plugins/noice.lua index 95f618c..04edd41 100644 --- a/lua/plugins/noice.lua +++ b/lua/plugins/noice.lua @@ -1,5 +1,12 @@ return { - { "rcarriga/nvim-notify", init = false, config = true }, + { + "rcarriga/nvim-notify", + init = false, + config = true, + opts = { + background_colour = "#000000" + } + }, { "nvim-treesitter/nvim-treesitter", opts = function(_, opts)