From b4d704e88d57f2c7889aa01093038a7a5a4f3c5d Mon Sep 17 00:00:00 2001 From: kiyan Date: Sat, 8 Oct 2022 11:31:57 +0200 Subject: [PATCH] chore: replace urls from kyazdani42 -> nvim-tree --- README.md | 16 ++++++++-------- doc/nvim-tree-lua.txt | 2 +- lua/nvim-tree/renderer/components/git.lua | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 5863a9cb..4174ea93 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # A File Explorer For Neovim Written In Lua -[![CI](https://github.com/kyazdani42/nvim-tree.lua/actions/workflows/ci.yml/badge.svg)](https://github.com/kyazdani42/nvim-tree.lua/actions/workflows/ci.yml) +[![CI](https://github.com/nvim-tree/nvim-tree.lua/actions/workflows/ci.yml/badge.svg)](https://github.com/nvim-tree/nvim-tree.lua/actions/workflows/ci.yml) @@ -28,24 +28,24 @@ [neovim >=0.7.0](https://github.com/neovim/neovim/wiki/Installing-Neovim) -[nvim-web-devicons](https://github.com/kyazdani42/nvim-web-devicons) is optional and used to display file icons. It requires a [patched font](https://www.nerdfonts.com/). +[nvim-web-devicons](https://github.com/nvim-tree/nvim-web-devicons) is optional and used to display file icons. It requires a [patched font](https://www.nerdfonts.com/). ## Install Install with [vim-plug](https://github.com/junegunn/vim-plug): ```vim -Plug 'kyazdani42/nvim-web-devicons' " optional, for file icons -Plug 'kyazdani42/nvim-tree.lua' +Plug 'nvim-tree/nvim-web-devicons' " optional, for file icons +Plug 'nvim-tree/nvim-tree.lua' ``` or with [packer](https://github.com/wbthomason/packer.nvim): ```lua use { - 'kyazdani42/nvim-tree.lua', + 'nvim-tree/nvim-tree.lua', requires = { - 'kyazdani42/nvim-web-devicons', -- optional, for file icons + 'nvim-tree/nvim-web-devicons', -- optional, for file icons }, tag = 'nightly' -- optional, updated every week. (see issue #1193) } @@ -120,7 +120,7 @@ nvim-tree comes with number of mappings; for default mappings please see [:help * `toggle` has a second parameter which allows to toggle without focusing the explorer (`require"nvim-tree".toggle(false, true)`). * You can allow nvim-tree to behave like vinegar, see [:help nvim-tree-vinegar](doc/nvim-tree-lua.txt) * If you `:set nosplitright`, the files will open on the left side of the tree, placing the tree window in the right side of the file you opened. -* You can automatically close the tab/vim when nvim-tree is the last window in the tab: . WARNING: this can catastrophically fail: . This will not be added to nvim-tree and the team will not provide support / assistance with this, due to complexities in vim event timings and side-effects. +* You can automatically close the tab/vim when nvim-tree is the last window in the tab: . WARNING: this can catastrophically fail: . This will not be added to nvim-tree and the team will not provide support / assistance with this, due to complexities in vim event timings and side-effects. * Hide the `.git` folder: `filters = { custom = { "^.git$" } }`. See [:help nvim-tree.filters.custom](doc/nvim-tree-lua.txt). * To disable the display of icons see [:help nvim-tree.renderer.icons.show](doc/nvim-tree-lua.txt). @@ -153,7 +153,7 @@ Please attach `$XDG_CACHE_HOME/nvim/nvim-tree.log` if you raise an issue. *Performance Tips:* -* If you are using fish as an editor shell (which might be fixed in the future), try set `shell=/bin/bash` in your vim config. Alternatively, you can [prevent fish from loading interactive configuration in a non-interactive shell](https://github.com/kyazdani42/nvim-tree.lua/issues/549#issuecomment-1127394585). +* If you are using fish as an editor shell (which might be fixed in the future), try set `shell=/bin/bash` in your vim config. Alternatively, you can [prevent fish from loading interactive configuration in a non-interactive shell](https://github.com/nvim-tree/nvim-tree.lua/issues/549#issuecomment-1127394585). * Try manually running the git command (see the logs) in your shell e.g. `git --no-optional-locks status --porcelain=v1 --ignored=matching -u`. diff --git a/doc/nvim-tree-lua.txt b/doc/nvim-tree-lua.txt index 07ee650d..53fa6e62 100644 --- a/doc/nvim-tree-lua.txt +++ b/doc/nvim-tree-lua.txt @@ -31,7 +31,7 @@ Features File Icons - https://github.com/kyazdani42/nvim-web-devicons is optional and used to display file icons. It requires a patched font: https://www.nerdfonts.com + https://github.com/nvim-tree/nvim-web-devicons is optional and used to display file icons. It requires a patched font: https://www.nerdfonts.com  should look like an open folder. diff --git a/lua/nvim-tree/renderer/components/git.lua b/lua/nvim-tree/renderer/components/git.lua index f0b3c354..1b98a1b2 100644 --- a/lua/nvim-tree/renderer/components/git.lua +++ b/lua/nvim-tree/renderer/components/git.lua @@ -71,7 +71,7 @@ local function warn_status(git_status) utils.notify.warn( 'Unrecognized git state "' .. git_status - .. '". Please open up an issue on https://github.com/kyazdani42/nvim-tree.lua/issues with this message.' + .. '". Please open up an issue on https://github.com/nvim-tree/nvim-tree.lua/issues with this message.' ) end