LazyVimにoil.nvimを追加する設定 $env:LOCALAPPDATA\nvim\lua\plugins の下に oil.lua を新規作成 以下は公式の例に隠しファイルを表示する設定のみ追加 ------------------------------ return { "stevearc/oil.nvim", ---@module 'oil' ---@type oil.SetupOpts opts = { view_options = { show_hidden = true, }, }, -- Optional dependencies dependencies = { { "nvim-mini/mini.icons", opts = {} } }, -- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons -- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations. lazy = false, } ------------------------------