Commit Graph

25 Commits

Author SHA1 Message Date
kiyan
4fc9cb1da3 chore: move code around
- deprecate config.lua file
- move icon config code into renderer/icons
- move file opening config in open-file.lua
2022-02-09 22:26:02 +01:00
kiyan
2b2bf0721d refacto: move keypress to actions/init 2022-01-21 12:07:54 +01:00
Carlos Coves Prieto
fa8bb09de4 custom node keymaps (#855) 2022-01-21 11:03:49 +01:00
Kiyan
6662b60a2b feat/chore: rewrite git with job and some other fixes (#743)
* feat/chore: rewrite git with job and some other fixes

* fix: fs clear window, rename echo_warning -> warn

also fix renaming and add an event blocker to avoid running many events
at the same time
2021-11-27 16:02:54 +01:00
kiyan
53856f5d3a fix: remove lsp icons for loading in config 2021-10-10 15:48:23 +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
gzygmanski
385f8c89e0 feat: show default file icon when nvim-devicon is not installed (#696) 2021-10-08 21:53:31 +02:00
Kiyan
6f8dc1d41c Revert "add icons for default and symlink (#649)" (#706)
This reverts commit 34af2d22ad.
2021-10-08 19:33:55 +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
Vikas Raj
34af2d22ad add icons for default and symlink (#649) 2021-09-30 12:09:08 +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
gegoune
d7f73b5ae9 feat(config): add notify to nvim_tree_window_picker_exclude (#613) 2021-09-12 14:31:31 +02:00
Kiyan
a80ea23b4c fix ci (#477) 2021-06-29 23:13:28 +02:00
Kiyan
d51ed722ed add small arrows before folders (#427) 2021-06-02 18:45:25 +02:00
Sindre T. Strøm
9aed1acb47 fix: Gitignore rules not being applied on new nodes. (#415) 2021-05-31 09:12:59 +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
624bec7ecd refactor: open_file (#345) 2021-05-17 22:13:30 +02:00
Sindre T. Strøm
da09da3318 feat(diagnostics): More responsive and configurable diagnostics signs. (#303) 2021-04-16 17:57:16 +02:00
Kiyan
ff814676d5 chore: rewrite buffer/window handling into view file (#287) 2021-04-13 23:54:01 +02:00
Sindre T. Strøm
50d31fb7f3 feat: Highlight gitignored files (and fix g:nvim_tree_gitignore) (#268) 2021-04-08 22:52:56 +02:00
Carlos Afonso
de93da78a9 Feat/add advanced navigation (#257) 2021-04-03 00:38:28 +02:00
yamatsum
1e946c5855 feat: add option for changing symlink opened folder. (#242) 2021-03-22 17:34:30 +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
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