Commit Graph

994 Commits

Author SHA1 Message Date
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
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
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