Commit Graph

351 Commits

Author SHA1 Message Date
kiyan
825cf570bf fix: open on tabpage when tree is already open only 2021-05-17 22:32:36 +02:00
Kristijan Husak
577df96b07 Set nowait on mappings to avoid timeout for conflicting mappings. (#375) 2021-05-17 22:24:47 +02:00
Sindre T. Strøm
624bec7ecd refactor: open_file (#345) 2021-05-17 22:13:30 +02:00
Sindre T. Strøm
f09143900b fix(renderer): Fix option check for highligt_opened_files (#352) 2021-05-17 21:56:39 +02:00
Sindre T. Strøm
b8c5a089fa fix(renderer): Ensure buffer is loaded. (#351) 2021-05-17 21:55:10 +02:00
Sindre T. Strøm
8bc814de2b fix(git): Fix shell args on windows. (#349) 2021-05-17 21:54:19 +02:00
kiyan
e9f4f5e1b4 fix: DU git state 2021-05-17 21:52:40 +02:00
kiyan
73b514e090 fix: update git state 2021-05-17 21:46:39 +02:00
kiyan
6c9927180f fix: highlight first character when trailing is activated 2021-05-17 21:40:28 +02:00
Sindre T. Strøm
f398695146 Simplify some of the git icon states. (#339) 2021-04-22 22:29:20 +02:00
kiyan
468638e7e0 chore: remove unused code 2021-04-22 22:05:52 +02:00
Cameron
0d8e6f58ec Change filesystem actions to be immediate, minor changes to UX (#338) 2021-04-22 21:37:26 +02:00
Sindre T. Strøm
c2d71046c6 fix(git): Fix the gitignore implementation. (#335) 2021-04-22 21:32:10 +02:00
Sindre T. Strøm
027e523431 feat: Sort nodes sensibly (#334) 2021-04-22 21:12:47 +02:00
Sindre T. Strøm
96d8e20bff Set highlight links for NvimTreeStatusLine (#330) 2021-04-21 20:40:49 +02:00
Sindre T. Strøm
796628a765 Update symlinks if they have been modified. (#328) 2021-04-20 23:48:23 +02:00
Sindre T. Strøm
c235df7aaa Rename the rogue buffer. (#327) 2021-04-20 23:44:24 +02:00
Akin
983963779d feat: add statusline winhighlight to explorer tree (#326) 2021-04-20 19:59:32 +02:00
Sindre T. Strøm
e3516eeb6e fix(diagnostics): Update lsp diagnostics signs when opening/closing folders. (#325) 2021-04-20 18:38:28 +02:00
kiyan
c995d65b7d fix: put resize before preview ends 2021-04-19 23:59:37 +02:00
Sindre T. Strøm
f275d3faae fix(view): Fix error thrown when trying to wipe buffer in autocmd window. (#314) 2021-04-18 18:43:24 +02:00
Kiyan
783870cda9 fix: handle new tabs properly (#313) 2021-04-18 11:11:56 +02:00
fffed
79a8188ecf Fix typo (#312) 2021-04-18 10:55:27 +02:00
kiyan42
75cb2232f2 fix: reset highlight using old lib.Tree.bufnr 2021-04-17 21:35:27 +02:00
kiyan42
2fffd847bd fix: keybindings not being set 2021-04-17 21:31:02 +02:00
kiyan42
a0c1d9d2b5 fix: prevent_buffer_override
- vim.schedule the buffer override autocmd to avoid being done before
  other ones thus failing some of the cursor movement
- pcall the nvim_win_set_cursor to avoid failing when cursor is out of
  the window
2021-04-17 21:03:27 +02:00
kiyan42
3d2144c73c fix SignColumn should be NvimTreeNormal 2021-04-17 17:10:28 +02:00
kiyan
dc59fa484d feat: add command to prevent nvim-tree window override by another buffer 2021-04-16 23:07:10 +02:00
Sindre T. Strøm
4ee45d9261 fix(view): Recreate tree buffer if deleted, and handle scenario where buffer already exists. (#307) 2021-04-16 22:32:54 +02:00
kiyan
48b06ed0ce add special_files option 2021-04-16 21:59:13 +02:00
kiyan
4b24a16ca1 ask user for quitting nvim when nvim-tree is the last window 2021-04-16 21:50:43 +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
Sindre T. Strøm
4271180aea Don't create a new empty buffer on every open. (#300) 2021-04-16 09:32:27 +02:00
kiyan
b5ef2fb7f8 add better lsp diagnostic integration 2021-04-16 00:03:56 +02:00
kiyan
75338221b0 switching to buffer -> to avoid bufwinenter being ignored 2021-04-15 23:03:41 +02:00
kiyan
84052991cd fix calling winnr function 2021-04-15 22:14:37 +02:00
kiyan
f7047d63c8 highlight signcolumn as normal in tree window 2021-04-14 23:50:46 +02:00
kiyan
91c3d1b5eb do not follow global hide options for buffer 2021-04-14 23:46:44 +02:00
kiyan
ce7b1861ad remove noautocmd wincmd which breaks some functionnalities 2021-04-14 23:25:59 +02:00
Dmitriy
5c339e5a00 fix lsp diagnostics highligth: find_node index, bufnr (#295) 2021-04-14 23:03:25 +02:00
kiyan42
ed6971d88a fix: close is in view, not in lib 2021-04-14 12:01:40 +02:00
kiyan42
d065927322 hotfix forgot to switch win open to view in on_leave call 2021-04-14 09:21:11 +02:00
Kiyan
ff814676d5 chore: rewrite buffer/window handling into view file (#287) 2021-04-13 23:54:01 +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
Sindre T. Strøm
50d31fb7f3 feat: Highlight gitignored files (and fix g:nvim_tree_gitignore) (#268) 2021-04-08 22:52:56 +02:00
Kiyan
81269a6eba chore: remove async to avoid unecessary complexity (#277) 2021-04-08 22:36:17 +02:00
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