Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
glepnir committed Aug 1, 2024
1 parent 56205a9 commit 1d23bb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lua/core/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ hi DiagnosticUnderlineOk guisp=#b3f6c0 cterm=underline gui=underline
hi IndentLine guifg=#2c2e33
hi IndentLineCurrent guifg=#9b9ea4
hi netrwTreeBar guifg=#2c2e33
hi DashboardHeader guifg=#b3f6c0
hi GitSignsAdd guifg=#005523
hi GitSignsChange guifg=#007373
Expand Down
4 changes: 2 additions & 2 deletions lua/keymap/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ map.n('<leader>n', function()
if not loaded_netrw then
vim.g.loaded_netrwPlugin = nil
vim.g.netrw_keepdir = 0
vim.g.netrw_winsize = 30
vim.g.netrw_winsize = math.floor((30 / vim.o.columns) * 100)
vim.g.netrw_banner = 0
vim.g.netrw_list_hide = [[\(^\|\s\s\)\zs\.\S\+]]
vim.g.netrw_liststyle = 3
Expand All @@ -73,5 +73,5 @@ map.n('<leader>n', function()
loaded_netrw = true
return
end
vim.cmd('Lexplore')
vim.cmd('Lexplore %:p:h')
end)

0 comments on commit 1d23bb2

Please sign in to comment.