From bb796641d544fff8d8451a29564ae5644f72d8d9 Mon Sep 17 00:00:00 2001 From: Ray Jameson <67468725+RayJameson@users.noreply.github.com> Date: Sat, 12 Oct 2024 07:46:39 +0500 Subject: [PATCH] fix(oil): use other branch until semantic tokens are fixed stevearc/oil.nvim#467 stevearc/oil.nvim#435 --- lazy-lock.json | 2 +- lua/plugins/oil.lua | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 5d454f6..0fdf011 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -87,7 +87,7 @@ "nvim-ts-context-commentstring": { "branch": "main", "commit": "9c74db656c3d0b1c4392fc89a016b1910539e7c0" }, "nvim-ufo": { "branch": "main", "commit": "203c9f434feec57909ab4b1e028abeb3349b7847" }, "nvim-web-devicons": { "branch": "master", "commit": "19d257cf889f79f4022163c3fbb5e08639077bd8" }, - "oil.nvim": { "branch": "master", "commit": "ccab9d5e09e2d0042fbbe5b6bd05e82426247067" }, + "oil.nvim": { "branch": "feat/scratch-preview", "commit": "60fe23050f5b93550262f5c96ab00b5c51b60830" }, "overseer.nvim": { "branch": "master", "commit": "965f8159408cee5970421ad36c4523333b798502" }, "plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" }, "promise-async": { "branch": "main", "commit": "119e8961014c9bfaf1487bf3c2a393d254f337e2" }, diff --git a/lua/plugins/oil.lua b/lua/plugins/oil.lua index 3c59a25..ba5cf18 100644 --- a/lua/plugins/oil.lua +++ b/lua/plugins/oil.lua @@ -1,6 +1,13 @@ ---@type LazySpec return { - "stevearc/oil.nvim", + --[[ + HACK: + until stevearc/oil.nvim#435 is fixed + I will use this branch, have to rebase on origin/master manually + Either stevearc/oil.nvim#467 should be merged or upstream will fix semantic tokens + --]] + "jelmansouri/oil.nvim", + branch = "feat/scratch-preview", specs = { "nvim-tree/nvim-web-devicons", {