From b4915bd9f6868ca1d3188c6dc337248adcecadc2 Mon Sep 17 00:00:00 2001 From: Delvin Yamoah Date: Sat, 14 Mar 2026 04:25:34 +0000 Subject: [PATCH] update --- init.lua | 42 +++++++++++++++++++-------------- lazy-lock.json | 1 + lua/custom/plugins/rosepine.lua | 13 ++++++++++ 3 files changed, 38 insertions(+), 18 deletions(-) create mode 100644 lua/custom/plugins/rosepine.lua diff --git a/init.lua b/init.lua index 46ddc244..34fe0de5 100644 --- a/init.lua +++ b/init.lua @@ -15,6 +15,9 @@ vim.g.have_nerd_font = true -- NOTE: You can change these options as you wish! -- For more options, you can see `:help option-list` +-- add the damn sign columns +vim.opt.signcolumn = 'yes' + -- Make line numbers default vim.o.number = true vim.o.relativenumber = true @@ -59,6 +62,9 @@ vim.o.undofile = true vim.opt.swapfile = false vim.opt.undodir = os.getenv 'HOME' .. '/.vim/undodir' +-- close the damn folds +vim.opt.foldenable = false + -- Case-insensitive searching UNLESS \C or one or more capital letters in the search term vim.o.ignorecase = true vim.o.smartcase = true @@ -75,7 +81,7 @@ vim.keymap.set('n', 'qq', vim.cmd.q) vim.o.updatetime = 250 -- Decrease mapped sequence wait time -vim.o.timeoutlen = 300 +vim.o.timeoutlen = 1000 -- Configure how new splits should be opened vim.o.splitright = true @@ -311,7 +317,7 @@ require('lazy').setup({ { 'nvim-telescope/telescope-ui-select.nvim' }, -- Useful for getting pretty icons, but requires a Nerd Font. - { 'nvim-tree/nvim-web-devicons', disabled = vim.g.have_nerd_font }, + { 'nvim-tree/nvim-web-devicons', enabled = false }, }, config = function() -- Telescope is a fuzzy finder that comes with a lot of different things that @@ -754,22 +760,22 @@ require('lazy').setup({ -- change the command in the config to whatever the name of that colorscheme is. -- -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`. - 'folke/tokyonight.nvim', - priority = 1000, -- Make sure to load this before all the other start plugins. - config = function() - ---@diagnostic disable-next-line: missing-fields - require('tokyonight').setup { - styles = { - comments = { italic = false }, -- Disable italics in comments - }, - transparent = true, - } - - -- Load the colorscheme here. - -- Like many other themes, this one has different styles, and you could load - -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'. - vim.cmd.colorscheme 'tokyonight-night' - end, + -- 'folke/tokyonight.nvim', + -- priority = 1000, -- Make sure to load this before all the other start plugins. + -- config = function() + -- ---@diagnostic disable-next-line: missing-fields + -- require('tokyonight').setup { + -- styles = { + -- comments = { italic = false }, -- Disable italics in comments + -- }, + -- transparent = true, + -- } + -- + -- -- Load the colorscheme here. + -- -- Like many other themes, this one has different styles, and you could load + -- -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'. + -- vim.cmd.colorscheme 'tokyonight-night' + -- end, }, -- Highlight todo, notes, etc in comments diff --git a/lazy-lock.json b/lazy-lock.json index 2cbc48e5..57a1dcd6 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -17,6 +17,7 @@ "nvim-treesitter": { "branch": "main", "commit": "493890b87a81dfe6a7e577dbc364ae33fa482da9" }, "nvim-web-devicons": { "branch": "master", "commit": "d7462543c9e366c0d196c7f67a945eaaf5d99414" }, "plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" }, + "rose-pine": { "branch": "main", "commit": "cf2a288696b03d0934da713d66c6d71557b5c997" }, "telescope-fzf-native.nvim": { "branch": "main", "commit": "6fea601bd2b694c6f2ae08a6c6fab14930c60e2c" }, "telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" }, "telescope.nvim": { "branch": "master", "commit": "5255aa27c422de944791318024167ad5d40aad20" }, diff --git a/lua/custom/plugins/rosepine.lua b/lua/custom/plugins/rosepine.lua new file mode 100644 index 00000000..24e7344d --- /dev/null +++ b/lua/custom/plugins/rosepine.lua @@ -0,0 +1,13 @@ +-- lua/plugins/rose-pine.lua +return { + 'rose-pine/neovim', + name = 'rose-pine', + config = function() + require('rose-pine').setup { + styles = { + transparency = true, + }, + } + vim.cmd 'colorscheme rose-pine-moon' + end, +}