From 939a4b0f69b5302839f89feb0cbff2acbd934207 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20NICOLAS=20=28ccjmne=29?= Date: Sat, 28 Sep 2024 23:23:12 +0200 Subject: [PATCH] doc: Update links to FreeDesktop's Trash spec Keeping it pinned to 1.0 Fixes #489 --- doc/oil.txt | 2 +- lua/oil/adapters/trash/freedesktop.lua | 2 +- scripts/generate.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/oil.txt b/doc/oil.txt index d0284805..4364ebb8 100644 --- a/doc/oil.txt +++ b/doc/oil.txt @@ -640,7 +640,7 @@ trash they will be permanently deleted (purged). Linux: Oil supports the FreeDesktop trash specification. - https://specifications.freedesktop.org/trash-spec/trashspec-1.0.html + https://specifications.freedesktop.org/trash-spec/1.0/ All features should work. Mac: diff --git a/lua/oil/adapters/trash/freedesktop.lua b/lua/oil/adapters/trash/freedesktop.lua index 4a658853..ac454929 100644 --- a/lua/oil/adapters/trash/freedesktop.lua +++ b/lua/oil/adapters/trash/freedesktop.lua @@ -1,5 +1,5 @@ -- Based on the FreeDesktop.org trash specification --- https://specifications.freedesktop.org/trash-spec/trashspec-1.0.html +-- https://specifications.freedesktop.org/trash-spec/1.0/ local cache = require("oil.cache") local config = require("oil.config") local constants = require("oil.constants") diff --git a/scripts/generate.py b/scripts/generate.py index 8875e9f9..5cc5fe35 100755 --- a/scripts/generate.py +++ b/scripts/generate.py @@ -357,7 +357,7 @@ def get_trash_vimdoc() -> "VimdocSection": Linux: Oil supports the FreeDesktop trash specification. - https://specifications.freedesktop.org/trash-spec/trashspec-1.0.html + https://specifications.freedesktop.org/trash-spec/1.0/ All features should work. Mac: