Commit Graph

219 Commits

Author SHA1 Message Date
kiyan
9c3bc7d031 also schedule open and follow 2020-11-29 20:16:57 +01:00
kiyan
ba4dac1e59 wrap refresh logic in vim.schedule callback 2020-11-29 20:16:57 +01:00
kiyan
d3eb9cc4c6 fix git root for v1 (monkeypatch) 2020-11-22 16:34:02 +01:00
Morten Paulsen
ef893b523d g:lua_tree_quit_on_open respects preview 2020-10-31 20:39:46 +01:00
Raphael
0602058af5 no wrap in luatree buffer 2020-10-30 18:14:52 +01:00
Jan Sipr
521f2cfb5c Fix lua_tree_quit_on_open configuration option 2020-10-30 08:04:59 +01:00
kiyan42
ebf6f2a21a monkeypatch to open tree after processing all startup files and setting first filetype 2020-10-26 21:12:49 +01:00
kyazdani42
6c2ee96207 open tree on package load instead of vimEnter 2020-10-24 09:11:11 +02:00
kyazdani42
b55cc721da fix update git hl on refresh even if git icons are disabled 2020-10-24 09:07:07 +02:00
kyazdani42
48d433d059 fix allow_resize and document it 2020-10-24 09:04:02 +02:00
jasilven
87a4d60bbc feat: allow window width resize 2020-10-21 10:13:30 +02:00
geoboom
85d4edc1c1 Fix Vim setup snippet 2020-10-20 19:09:21 +02:00
kiyan42
1ba25ce088 open tree even when file doesn't exists 2020-10-19 23:05:43 +02:00
johnpyp
998f5f1eda Fix readme: close_on_open -> quit_on_open 2020-10-17 12:24:20 +02:00
johnpyp
fc210e3375 Added relevant documentation for quit-on-open 2020-10-17 12:24:20 +02:00
johnpyp
c496c8b9d9 Add main quit-on-open functionality 2020-10-17 12:24:20 +02:00
luathn
52d28143cb Correct typo in the document 2020-10-15 18:03:15 +02:00
Zach Coyle
47cd138808 add edge-cases around deleting/staging 2020-10-14 10:02:38 +02:00
kyazdani42
640d147d70 fix small issue with cursor not being placed on the last line with a folder 2020-09-12 12:30:46 +02:00
kyazdani42
385daf2108 fix cd to path with symbols need " 2020-09-12 12:20:24 +02:00
Kristijan Husak
bbf517dbb5 Add option to rename files when copying/moving. Closes #95. 2020-09-05 11:05:43 +02:00
kiyan42
9eea2b8c62 feat: add ability for the tree to change tab
- remove tags file
- open/close the tree on `TabEnter` with the option `g:lua_tree_tab_open`
2020-08-18 19:11:10 +02:00
kiyan42
6a0e76edc8 add third screenshot 2020-08-17 18:20:51 +02:00
Phong Nguyen
6ead94eeee Update document for g:lua_tree_width 2020-08-14 12:32:47 +02:00
kiyan42
51323b00a4 fix render bug with special files 2020-08-11 17:17:13 +02:00
kiyan42
114dee0d9b fix folder hl function with folder icon disabled 2020-08-11 17:12:52 +02:00
Santos Gallegos
222732d9d4 Fallback to default icon for symlinks and fix padding
Fixes https://github.com/kyazdani42/nvim-tree.lua/issues/80
2020-08-10 18:35:07 +02:00
Kristijan Husak
62846b1e31 Print warning when git state is not recognized. 2020-08-06 11:51:28 +02:00
Kristijan Husak
9cad30f1be Handle git deleted state. 2020-08-06 11:51:28 +02:00
kiyan42
505d63a3e7 use nvim devicon colors and fix empty space before file 2020-08-04 21:08:47 +02:00
kiyan42
2c453c9b9f fix git highlight works without the icons 2020-08-04 20:45:31 +02:00
Kristijan Husak
859be0bb76 Merge root folder and parent navigator into one. 2020-08-03 21:29:02 +02:00
Kristijan Husak
0d8b22c1e9 Allow mapping multiple keys to single action. 2020-08-03 21:29:02 +02:00
Kristijan Husak
caf238d908 Add root folder name. 2020-08-03 21:29:02 +02:00
Akin Sowemimo
2a3c9cfd12 If set to follow find the file on open 2020-08-03 17:54:28 +02:00
Kieran Siek
06558a25da
Feat: Allow hiding dotfiles (#69) 2020-08-03 16:13:25 +02:00
Kiyan Yazdani
1aee593b5d
Merge pull request #77 from kristijanhusak/feature/folder-git-status
Inherit git status from nested files on directory.
2020-08-03 16:11:36 +02:00
Kristijan Husak
4231ada075 Refresh tree on fugitive git status change. 2020-08-03 15:35:26 +02:00
Kristijan Husak
73ffc3d4aa Inherit git status from nested files on directory. 2020-08-03 15:21:10 +02:00
Kiyan Yazdani
5ffdf4ed95
Merge pull request #75 from kyazdani42/fix/open-always-in-new-window
fix: always open new window and set window options locally
2020-08-03 14:06:32 +02:00
kiyan42
98fc65750a fix: always open new window and set window options locally
- use setlocal for options instead of using nvim_win_set_option
- create a new window when there is only the tree window
- resize the tree when opening new files
2020-08-03 14:04:26 +02:00
Kiyan Yazdani
9a55ea9464
Merge pull request #74 from kyazdani42/fix/space-between-icon-filename
fix space between icon and filename with special file
2020-08-03 12:39:07 +02:00
kiyan42
600853ec4d fix space between icon and filename with special file 2020-08-03 12:38:15 +02:00
Kiyan Yazdani
194e73f519
Merge pull request #68 from kyazdani42/refacto/git-status-display
refacto display and add LuaTreeFolderDirty group
2020-08-03 12:15:59 +02:00
kiyan42
b72f0bfffd change folder icons, folder colors 2020-08-03 10:53:40 +02:00
kiyan42
a25ac38db1 add file highlight for git attributes and remove the space before the git icon 2020-08-03 10:31:23 +02:00
kiyan42
c552a4f4f5 refacto display and add LuaTreeFolderDirty group 2020-08-03 10:29:54 +02:00
Kiyan Yazdani
4c073c952a
Merge pull request #71 from stsewd/allow-align-icons
Icons: allow setting a string as file icon
2020-08-02 18:50:42 +02:00
Kiyan Yazdani
e830e8181c
Merge pull request #70 from stsewd/add-refresh
KeyBindings: add refresh
2020-08-02 18:46:15 +02:00
Santos Gallegos
a2e0db6123 Icons: allow setting a string as file icon
Closes https://github.com/kyazdani42/nvim-tree.lua/issues/45
2020-08-02 11:40:51 -05:00