Skip to content

Commit

Permalink
chore: move netrw_liststyle to core/options.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesChiuGit committed Aug 20, 2024
1 parent eef1cd4 commit ca28040
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lua/core/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ local createdir = function()
end
end

local load_distribution_plugins = function()
-- Newtrw liststyle: https://medium.com/usevim/the-netrw-style-options-3ebe91d42456
vim.g.netrw_liststyle = 3
end

local leader_map = function()
vim.g.mapleader = " "
-- NOTE:
Expand Down Expand Up @@ -101,7 +96,6 @@ end

local load_core = function()
createdir()
load_distribution_plugins()
leader_map()

gui_config()
Expand Down
3 changes: 3 additions & 0 deletions lua/core/options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,7 @@ local function load_options()
end
end

-- Newtrw liststyle: https://medium.com/usevim/the-netrw-style-options-3ebe91d42456
vim.g.netrw_liststyle = 3

load_options()

0 comments on commit ca28040

Please sign in to comment.