Commit Graph

813 Commits

Author SHA1 Message Date
kiyan
d4d02cd4d1 fix: formatting 2022-04-23 12:34:56 +02:00
kiyan
3ecf22ced1 refactor(renderer): icon_state under module table and code smells
- remove line / hl builder from module table and rename function
- icon_state -> M.icon_state
- extract should_show_arrows
2022-04-23 11:58:33 +02:00
kiyan
73fe08d241 refactor(renderer): simplify loop and builders
- do not recur inside folder builder
2022-04-23 11:52:57 +02:00
kiyan
d369ddccb3 refactor(renderer): extract opened file highlighting 2022-04-23 11:42:32 +02:00
kiyan
a419da1f2c refactor(renderer): reorganize file for further refacto 2022-04-23 11:35:04 +02:00
kiyan
df41b0c586 refactor(renderer): extract folder builder 2022-04-23 11:22:28 +02:00
kiyan
018ba086d4 refactor(renderer): extract file builder 2022-04-23 11:20:03 +02:00
kiyan
de49bf4da6 refactor: extract symlink function 2022-04-23 11:17:25 +02:00
kiyan
3084e483ae chore: refacto file placement of renderer components 2022-04-23 11:14:16 +02:00
Alexander Courtis
2c71ffcc0d
add actions.change_dir.restrict_above_cwd (#1171) 2022-04-23 10:45:23 +02:00
kiyan
ce463a53ae Revert "chore: use api to check if buf is loaded"
This reverts commit db91909f5b.
fixes #1182
2022-04-21 21:31:42 +02:00
kiyan
db91909f5b chore: use api to check if buf is loaded 2022-04-21 20:46:24 +02:00
kiyan
95a5c2d4bc fix: add parent ref to nodes
also refactor movement go to parent
fixes #1148
2022-04-21 20:39:14 +02:00
Alexander Courtis
7f2ed4e043
doc: tidy readme logging 2022-04-21 09:57:35 +10:00
kiyan
958bac90d2 chore: drop 0.5 support in diagnostics 2022-04-20 21:40:43 +02:00
Alexander Courtis
0f0f858348
#1157 update lsp diagnostics when the tree state is changed (#1174) 2022-04-18 15:46:42 +02:00
Alexander Courtis
cdbc210d92
#1172 add renderer.icons.webdev_colors default true (#1175) 2022-04-18 15:45:14 +02:00
Harry Prior
cff5a106b2
feat - add open and close tree events (#1151) 2022-04-18 15:41:21 +02:00
Alexander Courtis
ff6ef58b03
#1146 clarify filters.exclude and toggle actions (#1168) 2022-04-18 15:40:15 +02:00
Alexander Courtis
7629d4d106
#1091 diagnostics logging (#1170) 2022-04-18 15:39:51 +02:00
Andreas Bissinger
9066cbf3f7
feat: add file completion (#1163) 2022-04-18 15:36:55 +02:00
Alexander Courtis
84993e9e9f Remove unnecessary packer .config - it will clobber user options! See #1094 2022-04-16 11:27:29 +10:00
Tony Shen
477536cd7e
fix: fix mis-naming for system clipboard config (#1160) 2022-04-12 22:12:13 +02:00
Michael
9c272b97bc
fix: trash filenames with spaces (#1156) 2022-04-11 12:28:51 +02:00
Michael
fc925d814a
fix: add spaces to prompts and blankline to rename output (#1154) 2022-04-11 09:47:23 +02:00
kiyan
94ce41ce96 fix: lib.get_node_at_cursor offset when root folder is /
fixes #1153
2022-04-11 09:45:39 +02:00
Michael
6e0e70b1ca
feat: delete preview buffers #1145 (#1149) 2022-04-10 17:23:37 +02:00
Alexander Courtis
d5e4f0655b
add view.indent_markers (#1134) 2022-04-10 15:40:29 +02:00
Lò [By The Way]
83fe370d52
Added actions.opts.use_sys_clipboard, [issue: 789 ] (#1141) 2022-04-10 15:39:36 +02:00
kiyan
347218d2db doc: add simple contributing.md file 2022-04-09 16:19:58 +02:00
Alexander Courtis
1bdef08cfa
#1059 protect against duplicates (#1143) 2022-04-09 14:59:38 +02:00
Pedro Castro
deb1f253f4
fix(statusline): better window picker highlight (#1139) 2022-04-09 14:56:22 +02:00
kiyan
618ea25613 fix: clear prompt when creating file
fixes #1138
2022-04-06 13:37:17 +02:00
Matthew Steedman
924aa29092
feat: add hl_group for file icons (#1131) 2022-04-04 09:33:11 +02:00
Alexander Courtis
6368880968
add open_on_setup_file option (#1133) 2022-04-03 14:31:40 +02:00
Mauricio Poppe
8340753e26
Preserve cursor position across redraws (#1132) 2022-04-03 14:23:07 +02:00
Alexander Courtis
00fd8aefe0
feat: filters.custom can specify regex (#1112) 2022-04-02 13:03:57 +02:00
kiyan
4d8ab7d158 fix: close and reopen file as edit when tree is overriden
fixes #1126
2022-04-02 13:00:20 +02:00
Alexander Courtis
62906f095b
fix: collapse exit early if nvim-tree not loaded (#1128) 2022-04-02 12:40:59 +02:00
Alexander Courtis
51d1af4ee2 stylua indent 2022-04-02 12:59:06 +11:00
kiyan
5958fd5d06 refacto: use view.resize in view.reposition_window 2022-03-29 19:42:51 +02:00
rakanzaidm
5eef6185b1
fix missing " and "toggle without focus" example (#1116)
fixing the second " that was missing, and changing the second parameter for the toggle to true because that's how to enable the no focus toggle (as in no_focus = true)
2022-03-28 09:37:34 +02:00
Alexander Courtis
057f9f779e
add nvim-tree.lua neovim version note 2022-03-28 10:31:18 +11:00
kiyan
524758a207 chore: remove auto close
also fix emmylua errors in log.lua file
fixes #1005
fixes #871
2022-03-27 12:13:24 +02:00
Alexander Courtis
ba121f0244
document performance issues and add to bug report template (#1111) 2022-03-27 11:52:51 +02:00
Alexander Courtis
bd23c88608
profile uses uv.hrtime (#1110) 2022-03-27 11:49:46 +02:00
Alexander Courtis
591b64873f update doc g:nvim_tree_icons to match defaults 2022-03-27 15:19:31 +11:00
Alexander Courtis
cc387e8314
Merge pull request #1107 from kyazdani42/#1099-search-obey-ignored
#1099 search obeys active ignore filters
2022-03-27 13:48:02 +11:00
kiyan
1831417f05 refacto: add get_nodes_starting_line core util 2022-03-26 14:46:44 +01:00
kiyan
20433ced8a chore: add not about nosplitright in the readme 2022-03-26 14:19:37 +01:00