Skip to content

Commit

Permalink
nvim cleanup
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
juliamertz committed Dec 18, 2024
1 parent 94e9a6d commit 8064752
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion nvim/lua/julia/binds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ keymap('n', '<C-l>', '<C-w>l')
-- misc
keymap('n', '<leader>cb', utils.buf_kill)

local step_size = 10
-- override pane resize step size
local step_size = 10
keymap('n', '<C-w>>', '<cmd>vertical resize -' .. step_size .. '<cr>')
keymap('n', '<C-w><', '<cmd>vertical resize +' .. step_size .. '<cr>')

Expand Down
2 changes: 1 addition & 1 deletion nvim/lua/julia/lazy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion nvim/lua/julia/plugins/filetree.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
return {
'nvim-tree/nvim-tree.lua',
dependencies = { 'nvim-tree/nvim-web-devicons' },
event = 'VeryLazy',
dependencies = { 'echasnovski/mini.icons' },

keys = {
{ '<C-b>', ':NvimTreeToggle<CR>', mode = 'n', desc = 'Toggle file tree' },
Expand Down
10 changes: 5 additions & 5 deletions nvim/lua/julia/plugins/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ return {
'rose-pine/neovim',
name = 'rose-pine',
opts = {
variant = 'moon',
styles = {
bold = false,
italic = false,
transparency = true,
},
},
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,
},
}

0 comments on commit 8064752

Please sign in to comment.