From c526e3957fffc5a57d3505b27bd008778fbcc865 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Thu, 29 Jul 2021 15:40:36 +0300 Subject: [PATCH] Move docs to proper namespace matching autoload --- README.md | 12 ++++++------ doc/{NERD_commenter.txt => nerdcommenter.txt} | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) rename doc/{NERD_commenter.txt => nerdcommenter.txt} (99%) diff --git a/README.md b/README.md index 16811cc..728de74 100644 --- a/README.md +++ b/README.md @@ -69,9 +69,9 @@ git clone https://github.com/preservim/nerdcommenter.git ```sh curl -fLo ~/.vim/plugin/NERD_Commenter.vim --create-dirs \ - https://raw.githubusercontent.com/preservim/nerdcommenter/master/plugin/NERD_commenter.vim + https://raw.githubusercontent.com/preservim/nerdcommenter/master/plugin/nerdcommenter.vim curl -fLo ~/.vim/doc/NERD_Commenter.txt --create-dirs \ - https://raw.githubusercontent.com/preservim/nerdcommenter/master/doc/NERD_commenter.txt + https://raw.githubusercontent.com/preservim/nerdcommenter/master/doc/nerdcommenter.txt ``` @@ -82,10 +82,10 @@ curl -fLo ~/.vim/doc/NERD_Commenter.txt --create-dirs \ ```powershell md ~\vimfiles\plugin md ~\vimfiles\doc -$pluguri = 'https://raw.githubusercontent.com/preservim/nerdcommenter/master/plugin/NERD_commenter.vim' -$docsuri = 'https://raw.githubusercontent.com/preservim/nerdcommenter/master/doc/NERD_commenter.txt' -(New-Object Net.WebClient).DownloadFile($pluguri, $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath("~\vimfiles\plugin\NERD_commenter.vim")) -(New-Object Net.WebClient).DownloadFile($docsuri, $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath("~\vimfiles\doc\NERD_commenter.txt")) +$pluguri = 'https://raw.githubusercontent.com/preservim/nerdcommenter/master/plugin/nerdcommenter.vim' +$docsuri = 'https://raw.githubusercontent.com/preservim/nerdcommenter/master/doc/nerdcommenter.txt' +(New-Object Net.WebClient).DownloadFile($pluguri, $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath("~\vimfiles\plugin\nerdcommenter.vim")) +(New-Object Net.WebClient).DownloadFile($docsuri, $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath("~\vimfiles\doc\nerdcommenter.txt")) ``` diff --git a/doc/NERD_commenter.txt b/doc/nerdcommenter.txt similarity index 99% rename from doc/NERD_commenter.txt rename to doc/nerdcommenter.txt index baef1b9..fc417c6 100644 --- a/doc/NERD_commenter.txt +++ b/doc/nerdcommenter.txt @@ -1,4 +1,4 @@ -*NERD_commenter.txt* Plugin for commenting code +*nerdcommenter.txt* Plugin for commenting code NERD COMMENTER REFERENCE MANUAL~ @@ -78,8 +78,8 @@ The NERD Commenter requires Vim 7 or higher. Extract the plugin files in your ~/.vim (*nix) or ~/vimfiles (Windows). You should have 2 files: > - plugin/NERD_commenter.vim - doc/NERD_commenter.txt + plugin/nerdcommenter.vim + doc/nerdcommenter.txt < Next, to finish installing the help file run: > :helptags ~/.vim/doc