diff --git a/user/modules/nvim/lazy-lock.json b/user/modules/nvim/lazy-lock.json index 92b61d1..ecd5db5 100644 --- a/user/modules/nvim/lazy-lock.json +++ b/user/modules/nvim/lazy-lock.json @@ -8,11 +8,13 @@ "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, "conform.nvim": { "branch": "master", "commit": "12b3995537f52ba2810a9857e8ca256881febbda" }, + "crates.nvim": { "branch": "main", "commit": "f00e11e8282b94f2a2e938d32712c99f0e0bdeb4" }, "dashboard-nvim": { "branch": "master", "commit": "6d06924b562de6f0bb136edf1bf549afbf6b7d00" }, "dressing.nvim": { "branch": "master", "commit": "5162edb1442a729a885c45455a07e9a89058be2f" }, "flash.nvim": { "branch": "main", "commit": "48817af25f51c0590653bbc290866e4890fe1cbe" }, "friendly-snippets": { "branch": "main", "commit": "ea068f1becd91bcd4591fceb6420d4335e2e14d3" }, "gitsigns.nvim": { "branch": "main", "commit": "035da036e68e509ed158414416c827d022d914bd" }, + "gruvbox.nvim": { "branch": "main", "commit": "6e4027ae957cddf7b193adfaec4a8f9e03b4555f" }, "indent-blankline.nvim": { "branch": "master", "commit": "3d08501caef2329aba5121b753e903904088f7e6" }, "lazy.nvim": { "branch": "main", "commit": "bef521ac89c8d423f9d092e37b58e8af0c099309" }, "lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" }, @@ -24,10 +26,10 @@ "mini.indentscope": { "branch": "main", "commit": "a8274b6ea2d868198d27bd91a31ed5ea3a6a5744" }, "mini.pairs": { "branch": "main", "commit": "04f58f2545ed80ac3b52dd4826e93f33e15b2af6" }, "mini.surround": { "branch": "main", "commit": "a00d69be09e3fe27dfa9e5b0298410d0e148e3e2" }, - "monokai-pro.nvim": { "branch": "master", "commit": "aafde73a622435891d36b411d8623e705ead6293" }, "neo-tree.nvim": { "branch": "v3.x", "commit": "7aad1bf3f6b849cbf108e02c55ad4d701cb4d33a" }, "neoconf.nvim": { "branch": "main", "commit": "ba3503e246ea687732e51f7f9878e653e2e2039b" }, "neodev.nvim": { "branch": "main", "commit": "ce9a2e8eaba5649b553529c5498acb43a6c317cd" }, + "no-neck-pain.nvim": { "branch": "main", "commit": "34625be12649666b7ccb08761087cc97bb788552" }, "noice.nvim": { "branch": "main", "commit": "0cbe3f88d038320bdbda3c4c5c95f43a13c3aa12" }, "nui.nvim": { "branch": "main", "commit": "cbd2668414331c10039278f558630ed19b93e69b" }, "nvim-cmp": { "branch": "main", "commit": "8f3c541407e691af6163e2447f3af1bd6e17f9a3" }, @@ -43,6 +45,7 @@ "nvim-web-devicons": { "branch": "master", "commit": "27eac98fd6675d29d0e19d4d0622fd7a3968483a" }, "persistence.nvim": { "branch": "main", "commit": "4982499c1636eac254b72923ab826ee7827b3084" }, "plenary.nvim": { "branch": "master", "commit": "08e301982b9a057110ede7a735dd1b5285eb341f" }, + "rustaceanvim": { "branch": "master", "commit": "cd35b0f7fb0c9fe6879b084096230a74fefa4da8" }, "telescope-fzf-native.nvim": { "branch": "main", "commit": "9ef21b2e6bb6ebeaf349a0781745549bbb870d27" }, "telescope.nvim": { "branch": "master", "commit": "35f94f0ef32d70e3664a703cefbe71bd1456d899" }, "todo-comments.nvim": { "branch": "main", "commit": "a7e39ae9e74f2c8c6dc4eea6d40c3971ae84752d" }, diff --git a/user/modules/nvim/lazyvim.json b/user/modules/nvim/lazyvim.json index f03853f..971da55 100644 --- a/user/modules/nvim/lazyvim.json +++ b/user/modules/nvim/lazyvim.json @@ -1,6 +1,6 @@ { "extras": [ - + "lazyvim.plugins.extras.lang.rust" ], "news": { "NEWS.md": "3314" diff --git a/user/modules/nvim/lua/config/lazy.lua b/user/modules/nvim/lua/config/lazy.lua index 62ae637..6f29dbd 100644 --- a/user/modules/nvim/lua/config/lazy.lua +++ b/user/modules/nvim/lua/config/lazy.lua @@ -9,7 +9,7 @@ vim.opt.rtp:prepend(vim.env.LAZY or lazypath) require("lazy").setup({ spec = { -- add LazyVim and import its plugins - { "LazyVim/LazyVim", import = "lazyvim.plugins" }, + { "LazyVim/LazyVim", import = "lazyvim.plugins", opts = { colorscheme = "gruvbox" } }, -- import any extras modules here -- { import = "lazyvim.plugins.extras.lang.typescript" }, -- { import = "lazyvim.plugins.extras.lang.json" }, @@ -27,7 +27,7 @@ require("lazy").setup({ -- version = "*", -- try installing the latest stable version for plugins that support semver }, install = { colorscheme = { "tokyonight", "habamax" } }, - checker = { enabled = true }, -- automatically check for plugin updates + checker = { enabled = true, notify = false }, -- automatically check for plugin updates performance = { rtp = { -- disable some rtp plugins diff --git a/user/modules/nvim/lua/plugins/colors.lua b/user/modules/nvim/lua/plugins/colors.lua index c0bd750..271d721 100644 --- a/user/modules/nvim/lua/plugins/colors.lua +++ b/user/modules/nvim/lua/plugins/colors.lua @@ -1,11 +1,13 @@ return { { - "loctvl842/monokai-pro.nvim", + "ellisonleao/gruvbox.nvim", - config = function() - require("monokai-pro").setup() + priority = 1000, - vim.cmd([[colorscheme monokai-pro]]) - end, + config = true, + + opts = { + contrast = "", + }, }, } diff --git a/user/modules/nvim/lua/plugins/dashboard.lua b/user/modules/nvim/lua/plugins/dashboard.lua new file mode 100644 index 0000000..3b10615 --- /dev/null +++ b/user/modules/nvim/lua/plugins/dashboard.lua @@ -0,0 +1,20 @@ +return { + { + "nvimdev/dashboard-nvim", + event = "VimEnter", + opts = function(_, opts) + local logo = [[ +███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ +████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ +██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ +██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ +██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ +╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ + ]] + + logo = string.rep("\n", 8) .. logo .. "\n\n" + + opts.config.header = vim.split(logo, "\n") + end, + }, +} diff --git a/user/modules/nvim/lua/plugins/general.lua b/user/modules/nvim/lua/plugins/general.lua new file mode 100644 index 0000000..4dc125e --- /dev/null +++ b/user/modules/nvim/lua/plugins/general.lua @@ -0,0 +1,3 @@ +return { + { "shortcuts/no-neck-pain.nvim", version = "*" }, +} diff --git a/user/modules/nvim/lua/plugins/lualine.lua b/user/modules/nvim/lua/plugins/lualine.lua new file mode 100644 index 0000000..c8d1a5a --- /dev/null +++ b/user/modules/nvim/lua/plugins/lualine.lua @@ -0,0 +1,10 @@ +return { + { + "nvim-lualine/lualine.nvim", + event = "VeryLazy", + opts = function(_, opts) + opts.options.section_separators = "" + opts.options.component_separators = "" + end, + }, +}