William Boman
bbb8d6070f
add event API ( #265 )
2021-04-06 21:13:21 +02:00
Kiyan
b48274ced0
fix(file creation): avoid file overwrite and enable creating file on root node ( #272 )
2021-04-06 19:34:10 +02:00
Per Larsson
3350e4e97e
Use platform path separator when setting tree index. ( #269 )
2021-04-05 22:01:02 +02:00
Carlos Afonso
de93da78a9
Feat/add advanced navigation ( #257 )
2021-04-03 00:38:28 +02:00
Santos Gallegos
1daf99cf26
Gitignore: fix ignoring directories ( #266 )
2021-04-03 00:34:30 +02:00
Sindre T. Strøm
ed23e1df1c
feat: preserve the file tree buffer ( #249 )
2021-03-31 21:44:55 +02:00
peach lasagna
1f1b25de4b
fix gitignore feature ( #264 )
2021-03-31 21:37:29 +02:00
Sindre T. Strøm
f0338fc55b
feat: Add command to focus tree window regardless of window state ( #250 )
2021-03-31 21:29:56 +02:00
peach lasagna
eadead6072
add Gitignore ( #251 )
2021-03-30 20:11:25 +02:00
Sindre T. Strøm
709d6b968b
feat: Option for grouping empty directories ( #247 )
2021-03-26 19:24:03 +01:00
kiyan
e0b9882a8a
fix: set back winhl on the tree window
2021-03-23 21:04:33 +01:00
yamatsum
1e946c5855
feat: add option for changing symlink opened folder. ( #242 )
2021-03-22 17:34:30 +01:00
kiyan
f7ad4ce5f4
feat: add trailing slash on folder names
...
enable the feature through `vim.g.nvim_tree_add_trailing`
2021-03-16 21:26:03 +01:00
Levi Rizki Saputra
4c46d2b192
fix vim.g.nvim_tree_git_hl is not work ( #232 )
...
- it doest not disable git status reloading
2021-03-14 19:29:01 +01:00
Kassio Borges
784bba77c5
NvimTreeFindFile open a window in current tab ( #228 )
...
Fixes #225
2021-03-10 22:24:22 +01:00
Federico Scodelaro
31ef294d05
Patch windows ( #222 )
2021-03-09 20:12:10 +01:00
kiyan42
411e3412d1
hotfix: check that foreground is not empty string to avoid errors
2021-03-09 09:16:18 +01:00
kiyan
7e3534c2bc
fix: load Vim's highlight groups foreground as hex
2021-03-08 00:16:41 +01:00
kiyan42
58e44d29d7
chore: update documentation for tree mappings
2021-03-06 12:49:30 +01:00
kiyan
905afba209
chore: refacto binding initialization (inverse mapping table)
2021-02-23 00:31:47 +01:00
kiyan
491fd68d62
fix: regression on create (do not open node)
2021-02-22 21:47:51 +01:00
kiyan
0136801444
chore: rename lib folder to nvim-tree
...
Allows external access to the lua api and follow neovim plugins better
practices
2021-02-22 21:02:23 +01:00
kiyan
07da8a7242
feat/fix: add rename cmd, fix rename error
...
- add <C-r> binding to omit the filename on rename (option is
full_rename).
- call `silent! write!` on rename to avoid the `overwrite existing file`
error when saving the buffer.
2021-02-22 20:54:53 +01:00
kiyan
ce2420b9da
remove custom gx command in favor of netrw functionnalities and add documentation for netrw hijack
2021-02-21 12:27:31 +01:00
Cooper b. Anderson
894acce5ef
Fix error when reading restricted directory
2021-02-21 00:05:03 +01:00
RedBug312
3bd96e3caa
Fix dependency problem
...
require 'nvim-web-devicons' fails if colors.setup done in plugin/. This
may be related to loading order.
2021-02-19 18:09:59 +01:00
RedBug312
c9ed6c804b
Move NvimTreePopup highlight link
2021-02-19 18:09:59 +01:00
RedBug312
25208ed91d
Avoid colors.setup() being deferred
2021-02-19 18:09:59 +01:00
Cooper b. Anderson
48cd6a1ad3
Add NvimTreeEmptyFolderName to docs
2021-02-19 09:40:19 +01:00
Cooper b. Anderson
9650c0ed9d
Add empty directory highlight group
2021-02-19 09:40:19 +01:00
Cooper b. Anderson
6647f96739
Fix empty dir icons updating incorrectly
2021-02-19 09:40:19 +01:00
Cooper b. Anderson
4579c6d2b9
Make empty dir icons auto update
2021-02-19 09:40:19 +01:00
Cooper b. Anderson
25b414051f
Add empty directory icons
2021-02-19 09:40:19 +01:00
Sebastian Lyng Johansen
7531c7023d
fix bug for pattern recogniti
...
on of filename
2021-02-18 23:57:06 +01:00
Sebastian Lyng Johansen
bc8fa41d80
change behaviour of rename
2021-02-18 23:57:06 +01:00
kiyan
58a5e4ab48
fix: set deleted staged git status
2021-02-16 20:30:34 +01:00
kiyan42
bb7054fe79
remove log call
2021-02-16 09:40:15 +01:00
kiyan42
42a875aa00
fix: do not run refresh if vim.v.exiting is set
2021-02-15 09:57:43 +01:00
kiyan42
19418e898e
fix: is_bufnr_valid by checking if buffer is loaded
2021-02-15 09:35:12 +01:00
dorgnarg
aab0a136ac
Give users the option to enable netrw
2021-02-15 09:28:28 +01:00
kiyan
5b428c014a
fix: check for loaded buffers before deleting
2021-02-14 17:18:59 +01:00
Sergey Bulavintsev
c59831a5d1
Add opt to don't open tree on specific filetypes
2021-02-11 21:17:15 +01:00
elianiva
b285257876
fix: escape filename before opening it
2021-01-22 09:35:29 +01:00
Joel D. Elkins
bfc9606aa0
Variable should be local
2021-01-20 18:44:58 +01:00
Joel D. Elkins
92da0c78a3
Remove unused variable
2021-01-20 18:44:58 +01:00
Joel D. Elkins
75e7bb8a16
table.remove takes only 2 arguments
2021-01-20 18:44:58 +01:00
Joel D. Elkins
cbcd61b053
Only do git status -u if status.showUntrackedFiles = true
...
Some git use cases, specifically where $HOME is a git worktree with
a bare git repo somewhere else, really get bogged down if you do
`git status -u`. This overcomes that issue.
2021-01-20 18:43:41 +01:00
Joel D. Elkins
32640f7689
Remove unused check_and_open_split()
2021-01-20 18:38:39 +01:00
Joel D. Elkins
35e640fb25
Honor 'hidden' setting when deciding whether to split window
2021-01-20 18:38:39 +01:00
David
bf59dd4a86
make function local to avoid conflicts :)
2021-01-17 23:28:17 +01:00