Commit Graph

98 Commits

Author SHA1 Message Date
Jean-Luc Bastarache
cf3e242106
docs: move modeline to the end of the documentation (#729) 2021-10-23 15:36:56 +02:00
Jean-Luc Bastarache
a49b3ad4f5
docs: include NvimTreeWindowPicker in hl-groups (#730) 2021-10-23 15:36:33 +02:00
figsoda
514619897f
feat: add NvimTreeFindFileToggle (#735) 2021-10-23 15:35:28 +02:00
kiyan
94b8604e86 chore: complete the diagnostic setup migration
Colors groups and icons are now in diagnostics.lua. They are defined on
setup which allows an easier configuration and better documentation.
`lsp_diagnostics` boolean value has been moved into a table `diagnostics`
with `enable` and `icons` as properties.
2021-10-10 11:42:22 +02:00
kiyan
fb32f35d7f chore: allow configuring height
also fixes window management for top and bottom tree side
2021-10-03 14:13:10 +02:00
kiyan
137628acb6 chore: update_to_buf_dir allow auto_open configuration
also improve the documentation with doc references
2021-10-02 13:53:51 +02:00
kiyan
9282944078 fix: add option update_to_buf_dir in setup
avoid hijacking the tree for use case of users using vim-dirvish
2021-09-30 12:43:20 +02:00
Evgeni Chasnovski
2361c1ac3a
Remove duplicate 'nvim-tree-options' tag. (#642) 2021-09-26 17:42:54 +02:00
kiyan
3633e728e0 chore: refacto view setup and simplify the code 2021-09-26 14:55:49 +02:00
booperlv
2a5d529219
feat: option to set path destination to parent folder when cursor is on a closed folder while creating files (#628) 2021-09-26 12:10:19 +02:00
kiyan
1edebb7894 chore: lsp diagnostics setup 2021-09-26 11:56:44 +02:00
Kiyan
a864b80baf
chore: refacto setup part 1 (#603)
* chore: refacto setup part 1

refacto setup for code entrypoint
following options switched boolean values as options to the setup function:
- `nvim_tree_disable_netrw` -> `disable_netrw`
- `nvim_tree_hijack_netrw` -> `hijack_netrw`
- `nvim_tree_auto_open` -> `open_on_setup`
- `nvim_tree_auto_close` -> `auto_close`
- `nvim_tree_tab_open` -> `tab_open`
- `nvim-tree-update-cwd` -> `update_cwd`
- `nvim_tree_hijack_cursor` -> `hijack_cursor`
- `nvim_tree_system_open_command` -> `system_open.cmd`
- `nvim_tree_system_open_command_args` -> `system_open.args`
- `nvim_tree_follow` -> `update_focused_file.enable`
- `nvim_tree_follow_update_path` -> `update_focused_file.update_cwd`
Also added new option `update_focused_file.ignore_list` which will
ignore filepath or filetypes that matches one entry of the list when
updating the path if update_cwd is true.

* add deprecation warning

* update readme

* schedule on enter to avoid running before vim first buffer has loaded

* update docs

* correct typo

* rename tab open -> open on tab
2021-09-25 16:43:39 +02:00
kiyan
d41ca62320 fix: hide the base dir update on bufenter behind an option 2021-08-30 19:03:43 +02:00
xeluxee
d74af818c0
system_open: use asynchronous vim.loop to spawn process + let user customize the command to be used to open a file/folder with default system application (#551) 2021-08-14 15:13:56 +02:00
颜贵彬
7014b6aff4
Feat: add focus on tree functionality (#563) 2021-08-14 11:06:56 +02:00
Yusuke Uchida
143505b281
Added new option, respect_buf_cwd (#533) 2021-08-07 09:59:42 +02:00
xeluxee
7bed04718e
Feature: open file/folder with default system application (#539) 2021-08-02 21:08:24 +02:00
Christoph Schiessl
e741680edb
add new config option g:nvim_tree_symlink_arrow (fixes #283) (#512) 2021-08-02 20:55:41 +02:00
Stéphane P
9da4a0562d
fix(doc) neovim required version (#508) 2021-07-20 00:06:03 +02:00
Kassio Borges
07dd10663a
Add NvimTreeResize to resize the NvimTree window (#497) 2021-07-10 10:52:20 +02:00
kiyan
f42f6095d7 fix(bindings): typos 2021-07-02 10:09:05 +02:00
booperlv
d311c22d46
add option to make width a percentage of "&columns" (#473) 2021-06-30 21:55:41 +02:00
kiyan
10e845e01c BREAKING CHANGE: make keybindings more configurable and add option to disable default 2021-06-30 21:54:17 +02:00
kiyan
86188a4b9d fix(resize): reimplement auto resize 2021-06-30 21:21:06 +02:00
kiyan
a59a4120a4 chore(help ui): switch ? to g? because ? is for backward search 2021-06-28 20:05:48 +02:00
kiyan
28c7a34d30 chore(doc): add help UI in documentation 2021-06-28 19:41:56 +02:00
kiyan
43a7b529c0 disable update cwd by default 2021-06-11 08:37:15 +02:00
kiyan
3196205131 chore: switch cd to lcd and update root on dirchanged 2021-06-07 20:09:48 +02:00
kiyan
f1f14885f7 add icon padding 2021-06-07 17:34:02 +02:00
Kiyan
6dca42d09d
feat: hijack cursor (#428) 2021-06-02 19:28:27 +02:00
Kiyan
d51ed722ed
add small arrows before folders (#427) 2021-06-02 18:45:25 +02:00
John Novak
4abf53327b
fix documentation typos (#408) 2021-05-31 09:07:42 +02:00
John Novak
b16dbaee8f
g:nvim_tree_show_icons doco fix (#407) 2021-05-31 09:07:18 +02:00
Sindre T. Strøm
23935ff003
feat: Option for excluding buffers from the window picker. (#401) 2021-05-27 09:19:10 +02:00
Sindre T. Strøm
5e7e5f2949
feat(lib): Improved tabnew behavior. (#395) 2021-05-25 19:53:43 +02:00
Carlos Afonso
18fffc09bf
Improve highlight options (#331) 2021-05-20 21:44:36 +02:00
Sindre T. Strøm
10c686f7df
feat: Implement window picker. (#340) 2021-05-19 23:30:15 +02:00
kiyan
48b06ed0ce add special_files option 2021-04-16 21:59:13 +02:00
Sindre T. Strøm
da09da3318
feat(diagnostics): More responsive and configurable diagnostics signs. (#303) 2021-04-16 17:57:16 +02:00
Sindre T. Strøm
090697e71f
Add a ready event. (#302) 2021-04-16 09:32:46 +02:00
kiyan
b5ef2fb7f8 add better lsp diagnostic integration 2021-04-16 00:03:56 +02:00
Carlos Afonso
c2f2c665d8
Feat/icon highlighting for opened files and directories (#258) 2021-04-13 20:12:21 +02:00
Kiyan
82b20f5b5e
feat: nvim lsp integration (#260) 2021-04-08 23:30:35 +02:00
William Boman
bbb8d6070f
add event API (#265) 2021-04-06 21:13:21 +02:00
Carlos Afonso
de93da78a9
Feat/add advanced navigation (#257) 2021-04-03 00:38:28 +02:00
peach lasagna
1f1b25de4b
fix gitignore feature (#264) 2021-03-31 21:37:29 +02:00
Vikas Raj
bc598fbca6
updated doc (#263) 2021-03-31 21:28:34 +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
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