diff --git a/nvim/lua/julia/binds.lua b/nvim/lua/julia/binds.lua index 3ce42b1..7778791 100644 --- a/nvim/lua/julia/binds.lua +++ b/nvim/lua/julia/binds.lua @@ -10,8 +10,8 @@ keymap('n', '', 'l') -- misc keymap('n', 'cb', utils.buf_kill) -local step_size = 10 -- override pane resize step size +local step_size = 10 keymap('n', '>', 'vertical resize -' .. step_size .. '') keymap('n', '<', 'vertical resize +' .. step_size .. '') diff --git a/nvim/lua/julia/lazy.lua b/nvim/lua/julia/lazy.lua index 1c34c4f..51b4128 100644 --- a/nvim/lua/julia/lazy.lua +++ b/nvim/lua/julia/lazy.lua @@ -2,6 +2,7 @@ local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim' local branch = 'stable' +---@diagnostic disable: undefined-field if not vim.loop.fs_stat(lazypath) then vim.fn.system { 'git', @@ -13,7 +14,6 @@ if not vim.loop.fs_stat(lazypath) then } end ----@diagnostic disable: undefined-field vim.opt.rtp:prepend(lazypath) require('lazy').setup { diff --git a/nvim/lua/julia/plugins/filetree.lua b/nvim/lua/julia/plugins/filetree.lua index 2bf25ee..ade519c 100644 --- a/nvim/lua/julia/plugins/filetree.lua +++ b/nvim/lua/julia/plugins/filetree.lua @@ -1,7 +1,7 @@ return { 'nvim-tree/nvim-tree.lua', - dependencies = { 'nvim-tree/nvim-web-devicons' }, event = 'VeryLazy', + dependencies = { 'echasnovski/mini.icons' }, keys = { { '', ':NvimTreeToggle', mode = 'n', desc = 'Toggle file tree' }, diff --git a/nvim/lua/julia/plugins/theme.lua b/nvim/lua/julia/plugins/theme.lua index da4a524..d73e510 100644 --- a/nvim/lua/julia/plugins/theme.lua +++ b/nvim/lua/julia/plugins/theme.lua @@ -3,7 +3,6 @@ return { 'rose-pine/neovim', name = 'rose-pine', opts = { - variant = 'moon', styles = { bold = false, italic = false, @@ -11,10 +10,11 @@ return { }, }, init = function() - vim.api.nvim_set_hl(0, 'Normal', { bg = 'none' }) - vim.api.nvim_set_hl(0, 'NormalFloat', { bg = 'none' }) - vim.cmd 'hi Normal guibg=none ctermbg=none' - vim.cmd 'colorscheme rose-pine' + vim.cmd [[ + highlight Normal guibg=NONE ctermbg=none + highlight NormalFloat guibg=NONE + colorscheme rose-pine-moon + ]] end, }, }