Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency between setlocal and vim.opt_local for signcolumn #14670

Closed
krady21 opened this issue May 29, 2021 · 20 comments
Closed

Inconsistency between setlocal and vim.opt_local for signcolumn #14670

krady21 opened this issue May 29, 2021 · 20 comments
Labels
api libnvim, Nvim RPC API bug issues reporting wrong behavior lua stdlib

Comments

@krady21
Copy link
Contributor

krady21 commented May 29, 2021

TLDR

vim.opt_local.signcolumn seems to behave as window local
setlocal signcolumn seems to behave as buffer local

  • nvim --version:
NVIM v0.5.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
  • Operating system/version: Ubuntu 18.04.5 LTS
  • Terminal name/version: GNOME Shell 3.28.4
  • $TERM: xterm-256color

Steps to reproduce using nvim -u mini_init.lua

mkdir ~/.config/nvim/pack/test/start
git clone https://github.com/neovim/nvim-lspconfig.git ~/.config/nvim/pack/test/start/nvim-lspconfig

mini_init.lua:

local on_attach = function(client, bufnr)
     vim.opt_local.signcolumn = 'yes'
end
require'lspconfig'.rust_analyzer.setup{ on_attach = on_attach } -- or any lsp server for that matter
:e file.rs
:e Makefile

Actual behaviour

Neovim sets signcolumn to 'yes' in all the buffers that are opened afterwards in the window where the lsp attach function was first called, even if those buffers are not associated to any lsp server.

Expected behaviour

Set signcolumn to 'yes' only in buffers where lsp is used. Using vim.cmd('setlocal signcolumn=yes')in the on_attach function produces the desired behavior and makes the signcolumn setting buffer local (only applied to lsp attached buffers). This inconsistency probably comes from the fact the signcolumn is exposed as a window local option in lua, but I was hoping that adding opt_local in #13479 would fix it.

@krady21 krady21 added the bug issues reporting wrong behavior label May 29, 2021
@krady21 krady21 changed the title Inconsistency between setlocal and vim.opt_local Inconsistency between setlocal and vim.opt_local May 29, 2021
@krady21 krady21 changed the title Inconsistency between setlocal and vim.opt_local Inconsistency between setlocal and vim.opt_local for signcolumn May 31, 2021
@mnarrell
Copy link

mnarrell commented Jun 1, 2021

This behavior seems to apply to spell as well. I've done vim.opt_local.spell = true for the markdown filetype. After opening a markdown file, each subsequent buffer has spell checking enabled.

@tjdevries
Copy link
Contributor

Hmmm, this is how window local options usually work. They are inherited from the window that you were in before, so when you split and do other things, I thought they should keep the same value.

For example, signcolumn is a window option, as mentioned in the help:

						*'signcolumn'* *'scl'*
'signcolumn' 'scl'	string	(default "auto")
			local to window
``

cc @bfredl am I crazy :)

@tjdevries
Copy link
Contributor

Oops, accidentally tagged @bfredl in the code block 😆

@ii14
Copy link
Member

ii14 commented Jun 11, 2021

@tjdevries If you do :setl scl=yes, then open a new buffer, scl on the new buffer is back to default value. It's basically as if it was local to buffer. See #14620

@tjdevries
Copy link
Contributor

How are you opening a new buffer? Via a split or via edit or what? Is the original buffer a listed, non-scratch buffer?

@ii14
Copy link
Member

ii14 commented Jun 11, 2021

Just :enew. Previous buffer has to be modified to open a new one of course.

@francisco285
Copy link

@tjdevries Try this:

  1. Use vim.wo.signcolumn = 'yes' in the on_attach function
  2. Open neovim
  3. :e init.lua (assuming this file will use lsp)
  4. It will set signcolumn to yes on the current window
  5. Using :new the new window also have signcolumn set to yes

Using vim.cmd([[setlocal signcolumn=yes]]) in 1 results in 5 having signcolumn set to no (the default)

@ii14
Copy link
Member

ii14 commented Jun 11, 2021

I don't really know what I'm talking about so this might make no sense, but could it be that vim docs are just misleading when they say that these options are local to window? Usually you don't want methods like signcolumn, foldmethod etc to be local to window. You want them to be local to buffer.

@tjdevries
Copy link
Contributor

OK, Yeah, this option is confusing me 😆 I'll have a chat w/ bfredl about it. Perhaps it's an issue with nvim_win_set_option (which is what vim.opt, and all the other ones are using under the hood).

It is a window option. That is how it's defined in the code. I don't know if there is special casing for this or if other things come into play. I'll have to look into that a bit more.

@bfredl
Copy link
Member

bfredl commented Jun 11, 2021

The API is simply just incomplete for window options. Extending it properly will be a goal for 0.6.

@Shatur
Copy link
Contributor

Shatur commented Jun 12, 2021

Also noticed the same issue when transferred my ftplugin settings that use setlocal to lua. vim.wo also doesn't behave like setlocal.

@zeertzjq
Copy link
Member

This issue also seems to exist for conceallevel.

ahmedelgabri added a commit to ahmedelgabri/dotfiles that referenced this issue Jul 13, 2021
ahmedelgabri added a commit to ahmedelgabri/dotfiles that referenced this issue Jul 18, 2021
dhruvmanila added a commit to dhruvmanila/dotfiles that referenced this issue Jul 25, 2021
sindrets added a commit to sindrets/diffview.nvim that referenced this issue Aug 30, 2021
'vim.api.nvim_win_set_option()' does not work like 'setlocal', like I
thought it did. Further 'vim.opt_local' does not currently work
correctly.

See the Neovim issue: neovim/neovim#14670

Thus I have resorted to use a lua wrapper around the Ex command
'setlocal'. This works quite well, and solves all the problems about
windows inheriting unwanted options.
sindrets added a commit to sindrets/diffview.nvim that referenced this issue Aug 31, 2021
* Implemented a file history view.

- Added a file history view
- Added file history panel
- New command: 'DiffviewFileHistory'

* Implemented relative timestamps. Handle files without history.

* Lots of progress on the file history view

File history:
- Support for directory history, as well as any number of path args.
- Folds for entries with multiple files.
- Better git-log parsing.

Renderer:
- Better utils and structure for traversing and querying render components.
- Components may be assigned a context object.

Refactor:
- Moved a number of the git related structures, classes and utils into
  their own namespace.

BREAKING:
- The config option 'file_panel.use_icons' has been moved out of the
  'file_panel' config, as it now applies to other contexts as well.

* Implemented the option panel for the file history view.

The option panel is an interface to adjust what flags are passed to
'git-log'.

* file-history-view: open selected entry in diffview.

* Documentation

* Update README.md

* Fix deprecation notice.

* chore: formatting

* Finally fix the broken local options.

'vim.api.nvim_win_set_option()' does not work like 'setlocal', like I
thought it did. Further 'vim.opt_local' does not currently work
correctly.

See the Neovim issue: neovim/neovim#14670

Thus I have resorted to use a lua wrapper around the Ex command
'setlocal'. This works quite well, and solves all the problems about
windows inheriting unwanted options.

* Implemented component based cursor constraints.
@andrewferrier
Copy link
Sponsor

This issue also seems to exist for number and relativenumber. Using vim.opt_local.number = false turns off number for all buffers opened in a window and is not buffer-local (which is not desirable, at least to me!). setlocal nonumber in a .vim file has the desired effect.

@andrewferrier
Copy link
Sponsor

Curiously, number is local to window according to the documentation. So maybe vim's original implementation of setlocal is wrong, as it definitely appears to be local to a buffer (which makes a lot more sense to me).

@TheBlob42
Copy link
Contributor

Since I just stumbled across this issue as well I did a bit of research and found :h local-options

[...]
It's possible to set a local window option specifically for a type of buffer.
When you edit another buffer in the same window, you don't want to keep
using these local window options.  Therefore Vim keeps a global value of the
local window options, which is used when editing another buffer.  Each window
has its own copy of these values.  Thus these are local to the window, but
global to all buffers in the window.  With this you can do: >
	:e one
	:set list
	:e two
Now the 'list' option will also be set in "two", since with the ":set list"
command you have also set the global value. >
	:set nolist
	:e one
	:setlocal list
	:e two
Now the 'list' option is not set, because ":set nolist" resets the global
value, ":setlocal list" only changes the local value and ":e two" gets the
global value.  Note that if you do this next: >
	:e one
You will get back the 'list' value as it was the last time you edited "one".
The options local to a window are remembered for each buffer.  This also
happens when the buffer is not loaded, but they are lost when the buffer is
wiped out |:bwipe|.

I guess this is the part which is not correctly reflected by vim.opt_local and would explain the difference regarding setlocal

@lewis6991

This comment was marked as outdated.

lewis6991 added a commit to lewis6991/neovim that referenced this issue May 11, 2022
lewis6991 added a commit to lewis6991/neovim that referenced this issue May 11, 2022
lewis6991 added a commit to lewis6991/neovim that referenced this issue May 11, 2022
@justinmk justinmk added api libnvim, Nvim RPC API lua stdlib labels May 11, 2022
@lewis6991
Copy link
Member

lewis6991 commented May 12, 2022

This issue also seems to exist for number and relativenumber. Using vim.opt_local.number = false turns off number for all buffers opened in a window and is not buffer-local (which is not desirable, at least to me!). setlocal nonumber in a .vim file has the desired effect.

This doesn't seem to be true (anymore). vim.opt_local.number = false only disables number for the current buffer. I believe #5996 fixed this.

In fact, I think that PR addresses this entire issue. Can someone confirm?

@lewis6991 lewis6991 added the needs:response waiting for reply from the author label May 12, 2022
@ii14
Copy link
Member

ii14 commented May 12, 2022

@lewis6991 Yes, I believe this was fixed with the introduction of nvim_set_option_value.

@lewis6991
Copy link
Member

lewis6991 commented May 12, 2022

Ok, will close.

Note, this issue still exists for vim.wo and nvim_win_set_option, but this is by design (#9110).

@lewis6991 lewis6991 removed the needs:response waiting for reply from the author label May 12, 2022
@andrewferrier
Copy link
Sponsor

Agreed with @lewis6991, not sure when this changed, but at least since 0.7, this seems to be working as expected and vim.opt_local.number = false (as an example) works as I expected - buffer-local, not window-local.

kyazdani42 added a commit to nvim-tree/nvim-tree.lua that referenced this issue May 21, 2022
mosheavni pushed a commit to mosheavni/nvim-tree.lua that referenced this issue May 22, 2022
…25012996ed32f0

parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

# This is a combination of 13 commits.
# This is the 1st commit message:

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)


# This is the commit message nvim-tree#2:

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)


# This is the commit message nvim-tree#3:

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

# This is the commit message nvim-tree#4:

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

# This is the commit message nvim-tree#5:

fix(renderer): empty space at end of line

fixes nvim-tree#1253

# This is the commit message nvim-tree#6:

add fish performance tip to README.md
# This is the commit message nvim-tree#7:

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)


# This is the commit message nvim-tree#8:

feat: reload explorer on buf enter (nvim-tree#1265)


# This is the commit message nvim-tree#9:

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

# This is the commit message nvim-tree#10:

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

# This is the commit message nvim-tree#11:

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

# This is the commit message nvim-tree#12:

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)


# This is the commit message nvim-tree#13:

Ignore case when removing default mappings

# This is the commit message nvim-tree#14:

issue#362: File Management popup menu UI. First Iteration.
mosheavni added a commit to mosheavni/nvim-tree.lua that referenced this issue May 22, 2022
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

Workin on menu refactoring
mosheavni added a commit to mosheavni/nvim-tree.lua that referenced this issue May 22, 2022
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

Workin on menu refactoring

Working MVP of NvimTree menu. Added Readme.md with explanation of the current state of feature and DEFAULT_OPTIONS to test.
mosheavni added a commit to mosheavni/nvim-tree.lua that referenced this issue May 22, 2022
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

Workin on menu refactoring

Working MVP of NvimTree menu. Added Readme.md with explanation of the current state of feature and DEFAULT_OPTIONS to test.

Update README.md
mosheavni added a commit to mosheavni/nvim-tree.lua that referenced this issue May 22, 2022
parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

# This is a combination of 13 commits.
# This is the 1st commit message:

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)


# This is the commit message nvim-tree#2:

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)


# This is the commit message nvim-tree#3:

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

# This is the commit message nvim-tree#4:

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

# This is the commit message nvim-tree#5:

fix(renderer): empty space at end of line

fixes nvim-tree#1253

# This is the commit message nvim-tree#6:

add fish performance tip to README.md
# This is the commit message nvim-tree#7:

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)


# This is the commit message nvim-tree#8:

feat: reload explorer on buf enter (nvim-tree#1265)


# This is the commit message nvim-tree#9:

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

# This is the commit message nvim-tree#10:

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

# This is the commit message nvim-tree#11:

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

# This is the commit message nvim-tree#12:

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)


# This is the commit message nvim-tree#13:

Ignore case when removing default mappings

# This is the commit message nvim-tree#14:

issue#362: File Management popup menu UI. First Iteration.

# This is the commit message nvim-tree#15:

Workin on menu refactoring

# This is the commit message nvim-tree#17:

Working MVP of NvimTree menu. Added Readme.md with explanation of the current state of feature and DEFAULT_OPTIONS to test.

# This is the commit message nvim-tree#18:

Update README.md

# This is the commit message nvim-tree#19:

updated popup-menu/init.lua

# This is the commit message nvim-tree#20:

Update init.lua
# This is the commit message nvim-tree#21:

Update README.md
mosheavni added a commit to mosheavni/nvim-tree.lua that referenced this issue May 22, 2022
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

Workin on menu refactoring

Working MVP of NvimTree menu. Added Readme.md with explanation of the current state of feature and DEFAULT_OPTIONS to test.

Update README.md

updated popup-menu/init.lua

Update init.lua

Update README.md

Done
parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

Workin on menu refactoring

Working MVP of NvimTree menu. Added Readme.md with explanation of the current state of feature and DEFAULT_OPTIONS to test.

Update README.md

updated popup-menu/init.lua

Update init.lua

Update README.md

Done
mosheavni pushed a commit to mosheavni/nvim-tree.lua that referenced this issue May 22, 2022
# This is the 1st commit message:

refactor: use lua api for user commands and autocommands (nvim-tree#1206)

BREAKING: plugin now requires nvim-0.7
# This is the commit message nvim-tree#2:

# This is a combination of 14 commits.tree a88ac1bf9454ffa72e8002a79b25012996ed32f0
parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

# This is a combination of 13 commits.
# This is the 1st commit message:

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)


# This is the commit message nvim-tree#2:

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)


# This is the commit message nvim-tree#3:

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

# This is the commit message nvim-tree#4:

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

# This is the commit message nvim-tree#5:

fix(renderer): empty space at end of line

fixes nvim-tree#1253

# This is the commit message nvim-tree#6:

add fish performance tip to README.md
# This is the commit message nvim-tree#7:

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)


# This is the commit message nvim-tree#8:

feat: reload explorer on buf enter (nvim-tree#1265)


# This is the commit message nvim-tree#9:

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

# This is the commit message nvim-tree#10:

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

# This is the commit message nvim-tree#11:

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

# This is the commit message nvim-tree#12:

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)


# This is the commit message nvim-tree#13:

Ignore case when removing default mappings

# This is the commit message nvim-tree#14:

issue#362: File Management popup menu UI. First Iteration.

# This is the commit message nvim-tree#3:

parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

Workin on menu refactoring

# This is the commit message nvim-tree#4:

parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

Workin on menu refactoring

Working MVP of NvimTree menu. Added Readme.md with explanation of the current state of feature and DEFAULT_OPTIONS to test.

# This is the commit message nvim-tree#5:

parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

Workin on menu refactoring

Working MVP of NvimTree menu. Added Readme.md with explanation of the current state of feature and DEFAULT_OPTIONS to test.

Update README.md

# This is the commit message nvim-tree#6:

# This is a combination of 21 commits.
parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

# This is a combination of 13 commits.
# This is the 1st commit message:

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)


# This is the commit message nvim-tree#2:

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)


# This is the commit message nvim-tree#3:

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

# This is the commit message nvim-tree#4:

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

# This is the commit message nvim-tree#5:

fix(renderer): empty space at end of line

fixes nvim-tree#1253

# This is the commit message nvim-tree#6:

add fish performance tip to README.md
# This is the commit message nvim-tree#7:

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)


# This is the commit message nvim-tree#8:

feat: reload explorer on buf enter (nvim-tree#1265)


# This is the commit message nvim-tree#9:

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

# This is the commit message nvim-tree#10:

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

# This is the commit message nvim-tree#11:

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

# This is the commit message nvim-tree#12:

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)


# This is the commit message nvim-tree#13:

Ignore case when removing default mappings

# This is the commit message nvim-tree#14:

issue#362: File Management popup menu UI. First Iteration.

# This is the commit message nvim-tree#15:

Workin on menu refactoring

# This is the commit message nvim-tree#17:

Working MVP of NvimTree menu. Added Readme.md with explanation of the current state of feature and DEFAULT_OPTIONS to test.

# This is the commit message nvim-tree#18:

Update README.md

# This is the commit message nvim-tree#19:

updated popup-menu/init.lua

# This is the commit message nvim-tree#20:

Update init.lua
# This is the commit message nvim-tree#21:

Update README.md
# This is the commit message nvim-tree#7:

parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

Workin on menu refactoring

Working MVP of NvimTree menu. Added Readme.md with explanation of the current state of feature and DEFAULT_OPTIONS to test.

Update README.md

updated popup-menu/init.lua

Update init.lua

Update README.md

Done
parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

Workin on menu refactoring

Working MVP of NvimTree menu. Added Readme.md with explanation of the current state of feature and DEFAULT_OPTIONS to test.

Update README.md

updated popup-menu/init.lua

Update init.lua

Update README.md

Done

# This is the commit message nvim-tree#8:

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)


# This is the commit message nvim-tree#9:

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)
mosheavni added a commit to mosheavni/nvim-tree.lua that referenced this issue May 22, 2022
# This is the 1st commit message:

refactor: use lua api for user commands and autocommands (nvim-tree#1206)

BREAKING: plugin now requires nvim-0.7
# This is the commit message nvim-tree#2:

# This is a combination of 14 commits.tree a88ac1bf9454ffa72e8002a79b25012996ed32f0
parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

# This is a combination of 13 commits.
# This is the 1st commit message:

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)


# This is the commit message nvim-tree#2:

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)


# This is the commit message nvim-tree#3:

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

# This is the commit message nvim-tree#4:

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

# This is the commit message nvim-tree#5:

fix(renderer): empty space at end of line

fixes nvim-tree#1253

# This is the commit message nvim-tree#6:

add fish performance tip to README.md
# This is the commit message nvim-tree#7:

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)


# This is the commit message nvim-tree#8:

feat: reload explorer on buf enter (nvim-tree#1265)


# This is the commit message nvim-tree#9:

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

# This is the commit message nvim-tree#10:

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

# This is the commit message nvim-tree#11:

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

# This is the commit message nvim-tree#12:

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)


# This is the commit message nvim-tree#13:

Ignore case when removing default mappings

# This is the commit message nvim-tree#14:

issue#362: File Management popup menu UI. First Iteration.

# This is the commit message nvim-tree#3:

parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

Workin on menu refactoring

# This is the commit message nvim-tree#4:

parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

Workin on menu refactoring

Working MVP of NvimTree menu. Added Readme.md with explanation of the current state of feature and DEFAULT_OPTIONS to test.

# This is the commit message nvim-tree#5:

parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

Workin on menu refactoring

Working MVP of NvimTree menu. Added Readme.md with explanation of the current state of feature and DEFAULT_OPTIONS to test.

Update README.md

# This is the commit message nvim-tree#6:

# This is a combination of 21 commits.
parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

# This is a combination of 13 commits.
# This is the 1st commit message:

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)


# This is the commit message nvim-tree#2:

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)


# This is the commit message nvim-tree#3:

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

# This is the commit message nvim-tree#4:

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

# This is the commit message nvim-tree#5:

fix(renderer): empty space at end of line

fixes nvim-tree#1253

# This is the commit message nvim-tree#6:

add fish performance tip to README.md
# This is the commit message nvim-tree#7:

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)


# This is the commit message nvim-tree#8:

feat: reload explorer on buf enter (nvim-tree#1265)


# This is the commit message nvim-tree#9:

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

# This is the commit message nvim-tree#10:

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

# This is the commit message nvim-tree#11:

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

# This is the commit message nvim-tree#12:

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)


# This is the commit message nvim-tree#13:

Ignore case when removing default mappings

# This is the commit message nvim-tree#14:

issue#362: File Management popup menu UI. First Iteration.

# This is the commit message nvim-tree#15:

Workin on menu refactoring

# This is the commit message nvim-tree#17:

Working MVP of NvimTree menu. Added Readme.md with explanation of the current state of feature and DEFAULT_OPTIONS to test.

# This is the commit message nvim-tree#18:

Update README.md

# This is the commit message nvim-tree#19:

updated popup-menu/init.lua

# This is the commit message nvim-tree#20:

Update init.lua
# This is the commit message nvim-tree#21:

Update README.md
# This is the commit message nvim-tree#7:

parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

Workin on menu refactoring

Working MVP of NvimTree menu. Added Readme.md with explanation of the current state of feature and DEFAULT_OPTIONS to test.

Update README.md

updated popup-menu/init.lua

Update init.lua

Update README.md

Done
parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

Workin on menu refactoring

Working MVP of NvimTree menu. Added Readme.md with explanation of the current state of feature and DEFAULT_OPTIONS to test.

Update README.md

updated popup-menu/init.lua

Update init.lua

Update README.md

Done

# This is the commit message nvim-tree#8:

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)


# This is the commit message nvim-tree#9:

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)


# This is the commit message nvim-tree#10:

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

# This is the commit message nvim-tree#11:

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253
mosheavni added a commit to mosheavni/nvim-tree.lua that referenced this issue May 22, 2022
)

BREAKING: plugin now requires nvim-0.7

parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

Workin on menu refactoring

parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

Workin on menu refactoring

Working MVP of NvimTree menu. Added Readme.md with explanation of the current state of feature and DEFAULT_OPTIONS to test.

parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

Workin on menu refactoring

Working MVP of NvimTree menu. Added Readme.md with explanation of the current state of feature and DEFAULT_OPTIONS to test.

Update README.md

parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

Workin on menu refactoring

Working MVP of NvimTree menu. Added Readme.md with explanation of the current state of feature and DEFAULT_OPTIONS to test.

Update README.md

updated popup-menu/init.lua

Update init.lua

Update README.md

parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

Workin on menu refactoring

Working MVP of NvimTree menu. Added Readme.md with explanation of the current state of feature and DEFAULT_OPTIONS to test.

Update README.md

updated popup-menu/init.lua

Update init.lua

Update README.md

Done
parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

Ignore case when removing default mappings

issue#362: File Management popup menu UI. First Iteration.

Workin on menu refactoring

Working MVP of NvimTree menu. Added Readme.md with explanation of the current state of feature and DEFAULT_OPTIONS to test.

Update README.md

updated popup-menu/init.lua

Update init.lua

Update README.md

Done

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

fix(renderer): empty space at end of line

fixes nvim-tree#1253

add fish performance tip to README.md

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)

feat: reload explorer on buf enter (nvim-tree#1265)

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)

remove
Almo7aya pushed a commit to Almo7aya/nvim-tree.lua that referenced this issue Oct 11, 2022
KashishMada added a commit to KashishMada/nvim-tree.lua that referenced this issue Jan 6, 2023
deathlyfrantic added a commit to deathlyfrantic/.config that referenced this issue Mar 8, 2023
For some options `vim.opt_local.foo` doesn't work the same as `setlocal
foo`, so use `vim.cmd("setlocal foo")` for now until
neovim/neovim#14670 is fixed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api libnvim, Nvim RPC API bug issues reporting wrong behavior lua stdlib
Projects
None yet
Development

No branches or pull requests