From ebc5fbbe5c1e3060ca670bf8d8a4fb86286de92f Mon Sep 17 00:00:00 2001 From: tdback Date: Wed, 13 Nov 2024 17:56:09 -0500 Subject: [PATCH] clean up discrepencies in config --- lua/custom/plugins/colorscheme.lua | 2 +- lua/custom/plugins/oil.lua | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lua/custom/plugins/colorscheme.lua b/lua/custom/plugins/colorscheme.lua index f8ed0db..1d1370e 100644 --- a/lua/custom/plugins/colorscheme.lua +++ b/lua/custom/plugins/colorscheme.lua @@ -10,6 +10,6 @@ return { }, }) - vim.cmd("colorscheme rose-pine") + vim.cmd.colorscheme("rose-pine") end, } diff --git a/lua/custom/plugins/oil.lua b/lua/custom/plugins/oil.lua index d5144bf..32950fa 100644 --- a/lua/custom/plugins/oil.lua +++ b/lua/custom/plugins/oil.lua @@ -1,13 +1,11 @@ return { - 'stevearc/oil.nvim', + "stevearc/oil.nvim", dependencies = { "nvim-tree/nvim-web-devicons" }, config = function() require("oil").setup({ default_file_explorer = true, skip_confirm_for_simple_edits = true, - view_options = { - show_hidden = true, - }, + view_options = { show_hidden = true }, }) vim.keymap.set("n", "-", "Oil", { desc = "Open parent directory" })