Alexander Courtis
94c7c810af
Revert "fix: ensure startup warnings are visible with a multiline message, to work around https://github.com/neovim/neovim/issues/17832 planned for fix in nvim 0.10 ( #2387 )"
...
This reverts commit 807dc05156 .
2023-09-10 10:38:49 +10:00
Alexander Courtis
b7f6600bc2
feat( #2197 ): git and diagnostics folder highlight groups ( #2409 )
...
* feat(#2197 ): add git folder highlight groups
* feat(#2197 ): add diagnostics folder highlight groups
2023-09-09 15:13:14 +10:00
Alexander Courtis
8f48426c88
feat( #2316 ): add NvimTreeFolderArrowClosed NvimTreeFolderArrowOpen ( #2408 )
2023-09-09 14:21:25 +10:00
Alexander Courtis
33c3bc562b
feat( #2398 ): add NvimTreeOpenedFileIcon ( #2407 )
2023-09-09 13:31:40 +10:00
Tillman Jex
b856d0a0c3
fix( #2392 ): bookmarks icon placement when group_empty ( #2402 )
...
* fix: marks now align with nodes when parent nodes are empty and group_empty option
enabled
* run stylua
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-09-09 11:27:15 +10:00
Azad
51f02366de
feat: validate some option string values ( #2404 )
...
* Add check for accepted strings in user opts
* option failures point to :help nvim-tree-opts
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-09-09 11:07:06 +10:00
Alexander Courtis
5897b3622f
fix( #2386 ): kill git zombies ( #2401 )
2023-09-03 17:26:05 +10:00
Alexander Courtis
a2b6e5ad2a
docs: help sections and tidy ( #2399 )
...
* doc: add nvim-tree-options, sort root level options
* doc: reorder default options, add sections
* doc: collapse opts spacing and tidy
* doc: tidy highlight groups
2023-09-03 15:52:33 +10:00
Alexander Courtis
323f65cb9c
feat( #1917 ): add diagnostic highlighting and icon placement ( #2396 )
...
* feat(#1917 ): add renderer.highlight_diagnostics
* feat(#1917 ): add renderer.highlight_diagnostics
* feat(#1917 ): add enderer.icons.diagnostics_placement
* feat(#1917 ): add renderer.icons.show.diagnostics
* feat(#1917 ): document highlight overrides
2023-09-03 12:29:33 +10:00
Alexander Courtis
28c3980b25
fix( #2382 ): git watcher handles worktrees and submodules, via --absolute-git-dir when it is available ( #2389 )
...
* fix(#2382 ): use --absolute-git-dir when available
* fix(#2382 ): use --absolute-git-dir when available
* fix(#2382 ): rename private git members, destroy git watchers on purge
* fix(#2382 ): consistent naming of toplevel
* fix(#2382 ): more doc and safety
* fix(#2382 ): consistent naming of toplevel
* fix(#2382 ): consistent naming of toplevel
2023-09-02 12:05:34 +10:00
Danie-1
00741206c2
fix: expand and collapse whole folder groups ( #2380 )
...
* fix: expand and collapse whole folder groups
* refactor: rename some usages of `next`
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-08-26 14:44:38 +10:00
Antonio Sarosi
b144b33390
feat( #2369 ): add full renderer.icons.web_devicons options for file and folder ( #2375 )
...
* Add `webdev_colors_folder` option
* Check if `M.devicons` exists
* Refactor `get_folder_icon`
* Add configuration options for both files and folders
* web_devicons.*.enabled -> enable
* silent migration: renderer.icons.webdev_colors -> renderer.icons.web_devicons.file.color
* silent migration: renderer.icons.webdev_colors -> renderer.icons.web_devicons.file.color
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-08-26 14:42:44 +10:00
Azad
d11d701857
feat( #2364 ): add option to sort files first ( #2366 )
...
* feat(#2364 ): add option to show files first
* Refactor `folders_or_files_first` function
* Improve readability
* Remove `fallback` from `folders_or_files_first` function
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-08-26 14:15:56 +10:00
Alexander Courtis
807dc05156
fix: ensure startup warnings are visible with a multiline message, to work around https://github.com/neovim/neovim/issues/17832 planned for fix in nvim 0.10 ( #2387 )
2023-08-26 13:40:25 +10:00
Mohamed Arish
920868dba1
fix( #2370 ): Better "y/N" prompts ( #2377 )
...
* Changed the default y/n prompt to default to N in most cases(all delete cases) and made it so that the copy paste same name conflict defaults to R(ename)
* Removed all No conditions as they are not used and not needed
* Made item_short into lowercase and also fixed prompts in dressing.nvim and telescope-select.nvim
* Fixed the exception which occurs on pressing esc in the prompt and also made rename to be blank or r.*/R.*
2023-08-20 17:34:14 +10:00
davisthedev
7c4c7e4e98
fix( #2352 ): windows: escape special filename characters on edit ( #2374 )
...
* Fix escape special characters on windows
fixes #2362
* use utils for windows check
* Add function to escape special chars on windows
* Change escape string function to use and/or
* Add nil check in escape special chars function
---------
Co-authored-by: Davis Sanders <dsanders@smartlink.city>
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-08-20 13:27:33 +10:00
Alexander Courtis
4e36850811
fix( #2301 ): various git folder status fixes ( #2373 )
...
* fix(#2301 ): reloader handles grouped
* fix(#2301 ): explore uses correct git project for grouped
* fix(#2301 ): update parent status correctly across repositories
* fix(#2301 ): missing require
2023-08-20 12:53:41 +10:00
Alexander Courtis
18c7a31198
chore: remove legacy view.mappings.list ( #2371 )
2023-08-14 17:41:55 +10:00
Alexander Courtis
ace64228ad
feat( #2305 ): find file refreshes up the tree when node is not present ( #2358 )
2023-08-14 11:08:16 +10:00
Alexander Courtis
116b88564f
chore: use stdpath "log" rather than "cache" ( #2372 )
2023-08-14 11:03:38 +10:00
Alexander Courtis
0a54dcb76b
fix: trash.cmd defaults to 'trash' on macos and windows, document option ( #2336 )
...
* fix: trash.cmd defaults to 'trash' on macos
* fix: macOS and windows default trash commands, allow trash on all OS
* fix: windows default trash command doc
* fix: trash.cmd message
2023-08-13 12:18:06 +10:00
Alexander Courtis
904f95cd9d
fix: prompt uses first character of response - allow "yy" ( #2357 )
2023-08-06 13:26:10 +10:00
xundaoxd
0042886db0
select yes default when select_prompts = false in lib.prompt ( #2337 )
...
Co-authored-by: yinchaogao <yinchaogao@deeproute.ai>
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-08-06 11:14:14 +10:00
Danila Usachev
0a89dcb464
fix( #2343 ): tree is now correctly abandoned upon an in-place open with eject=false ( #2344 )
2023-08-01 10:53:58 +10:00
Danila Usachev
4bd30f0137
feat: add actions.open_file.eject ( #2341 )
...
* feat: added prevent_buffer_override option to allow in-place opens by :e
* Moved option check inside the callback
* Renamed option to eject
2023-07-29 17:45:03 +10:00
linrongbin16
75c05742bc
feat(trash): add synchronized trash support for windows ( #2335 )
...
* feat(trash): support 'trash' on Windows
* feat(trash): need sync wait on Windows to avoid switch to other app from nvim process
* doc: remove 'Only available for UNIX'
* doc(trash): highlight 'Trash' on Windows is syncrhonized
* doc(trash): highlight 'trash' on Windows is synchronized
* doc(trash): remove dot
* fix(trash): check for unix and windows
* fix(trash): comment
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-07-29 17:34:47 +10:00
Alexander Courtis
c1466f991a
fix( #2327 ): set parent folder git ignore status following file update ( #2328 )
...
* fix(#1931 ): do not execute git status in git ignored directories
* fix(#1931 ): reload.refresh_node is always asynchronous
* fix(#2327 ): set parent folder ignore status following file update
2023-07-29 16:28:19 +10:00
Alexander Courtis
273c1700eb
fix( #1931 ): do not execute git status in git ignored directories ( #2326 )
...
* fix(#1931 ): do not execute git status in git ignored directories
* fix(#1931 ): reload.refresh_node is always asynchronous
2023-07-23 17:12:49 +10:00
Stefano Stoduto
3b62c6bf2c
feat(event): add TreeRendered ( #2324 )
...
* add TreeRendered event
* pass bufnr and winnr to TreeRendered event
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-07-16 17:22:45 +10:00
Alexander Courtis
697bfaccac
feat: add filters.git_ignored (prev git.ignore), apply "Toggle Filter:" prefix to mapping descriptions ( #2325 )
2023-07-16 13:26:03 +10:00
Zach Himsel
a6daf50b9d
feat: support custom $GIT_DIR ( #2263 )
...
* feat: Watch $GIT_DIR for git changes, if set
While rarely used, it's possible to set the $GIT_DIR environment
variable to instruct git to use a directory other than `.git`.
This checks if that environment variable is set; if it is, the plugin
will watch that directory. If it's not set, it'll fall back to the
default `.git` directory.
* fix: Don't create two watchers for $GIT_DIR
This will ignore a path for watching if EITHER it's '.git', or the value
of $GIT_DIR (if it's set).
If $GIT_DIR is not set, the vim.env object returns `nil`, which will
never match `path`.
* fix: Attempt to make a relative $GIT_DIR absolute
2023-07-16 12:44:21 +10:00
Alexander Courtis
ef305a888b
feat( #2313 ): sort_by -> sort.sorter, add sort.folders_first default true ( #2314 )
...
* feat(#2313 ): add sort_folders_first, default true
* feat(#2313 ): add sort.sorter, sort.folders_firs
2023-07-15 15:20:22 +10:00
Cyber Oliveira
a708bd2413
feat: add sort_by "suffix" ( #2307 )
...
* feat: adds new type of sorting based on the filename's suffix
* chore(syntax): using string colon methods
* fix(regex): use alphanumeric match for extensions
* feat: adds new type of sorting based on the filename's suffix
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-07-09 13:49:41 +10:00
Cyber Oliveira
04b2c1e08c
fix: sort_by "extension" falls back to name ( #2306 )
...
* fix(extension/sorter): fallbacks to C.name when both exts are the same or nil
* fix(nil): files with no extension
* fix(nil): files with no extension
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-07-09 13:12:49 +10:00
Cyber Oliveira
3d2fd90b28
feat: add sort_by "filetype" ( #2302 )
...
* feat: adds new type of sorting based on vim's filetype detection
* fix(ft/sorter): fallbacks to C.name when both ft's are nil or equal
* feat: adds new type of sorting based on vim's filetype detection
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-07-09 12:31:06 +10:00
Alexander Courtis
4af572246c
fix( #1989 ): cut/paste over open buffer ( #2279 )
...
* fix(#1989 ): cut/paste overwrite deletes destination buffer
* fix(#1989 ): cut/paste overwrite deletes destination buffer
2023-07-02 17:13:50 +10:00
Alexander Courtis
d17389ce53
fix( #2301 ): do not show git status on grouped dirs when show_on_open_dirs ( #2303 )
2023-07-02 16:00:27 +10:00
Alexander Courtis
1fe32286db
fix( #2293 ): remove unnecessary git status during find file ( #2294 )
2023-07-01 11:28:20 +10:00
Asror
3cc698b35b
feat( #2270 ): add notify.absolute_path - show file or absolute path (default) names with notifications ( #2286 )
...
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-06-25 13:06:21 +10:00
Alexander Courtis
7aff29d755
feat( #2277 ): skip overwrite prompt when copy/cut paste into same directory ( #2278 )
2023-06-25 11:37:55 +10:00
Svetlozar Iliev
c3c6544ee0
feat(event): add WillCreateFile, WillRemoveFile ( #2273 )
...
node. These are mostly going to be useful for implementing lsp file
operation actions.
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-06-19 10:00:55 +10:00
Alexander Courtis
bdceaf5096
feat( #1804 ): add api.marks.bulk.delete with default bd mapping ( #2276 )
2023-06-18 14:09:11 +10:00
Alexander Courtis
d4f6d33496
fix( #2240 ): disable watchers following EMFILE ( #2268 )
...
* fix(#2240 ): disable watchers following EMFILE
* fix(#2240 ): disable watchers following EMFILE
2023-06-18 11:42:48 +10:00
Azad
f873625d06
fix: focus visible parent on collapse all ( #2261 )
...
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-06-12 16:05:06 +10:00
Anton Kriese
f5804ce94e
fix: fs_watcher not started for .git folders (windows) ( #2265 )
...
This fixes the issue described in #2243 , where the .git folder's path
ends on a weird character produced by `cygpath` when the newline
character is fed into it (when using shell=powershell)
2023-06-12 15:44:52 +10:00
Alexander Courtis
034511714b
fix( #1545 ): dispatch Event.Resize on all window resizes, requires nvim 0.9+ ( #2238 )
2023-06-10 16:58:29 +10:00
Steven Stallion
8d82c4dbe1
feat: support vim.diagnostic.is_disabled() ( #2232 )
...
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-06-10 16:10:28 +10:00
Azad
576d4c1b03
refactor: move reload function into utils module ( #2247 )
...
* refactor: move `reload` function into `utils` module
* docs: add annotations to `utils.focus_node_or_parent`
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-06-10 16:02:02 +10:00
Alexander Courtis
63061404f4
feat( #1837 ): add git.disable_for_dirs ( #2239 )
...
* feat(##1837): add git.disabled_dirs
* feat(#1837 ): add git.disable_for_dirs
* feat(#1837 ): note disable_for_dirs evaluation
2023-06-04 14:29:04 +10:00
Alexander Courtis
164eb10cbd
fix( #2104 ): remove experimental.git.async, always used ( #2234 )
2023-05-27 15:11:29 +10:00
Azad
d5d6950a0d
fix( #1785 ): retain focused node on filter toggles ( #2202 )
...
* feat(live-filter): focus selected node after clear
* fix(#1785 ): retain focused node on filter toggle
* fix(#1785 ): apply requested changes
* fix(live-filter): focus last focused node when cleared on prompt
* refactor: store last focused node in `view` module
* refactor: store last focused node in view module
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-05-27 13:47:36 +10:00
Alexander Courtis
b1e074d2b5
feat: add winid parameter for api.tree.open, toggle, find_file ( #2213 )
...
* feat: add winid parameter for api.tree.open, toggle, find_file
* feat: add winid parameter for api.tree.open, toggle, find_file
2023-05-21 17:37:22 +10:00
DoctorKnowsBetter
736c7ff590
feat: add NvimTreeSymlinkIcon ( #2198 )
...
* #2193 Add the ability to change the icon color for "symlink_formatted"
* Remove defaults and update doc #2198
---------
Co-authored-by: DoctorKnowsBetter <you@example.com>
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-05-15 10:54:36 +10:00
Alexander Courtis
b6574056b5
fix( #2191 ): edit: disregard floating windows ( #2212 )
2023-05-15 10:38:11 +10:00
Alexander Courtis
89816ace70
fix( #2191 ): edit: disregard floating windows ( #2209 )
2023-05-14 11:30:01 +10:00
MoonFruit
498e8793bb
fix: nerd font 3 bookmark icon ( #2203 )
2023-05-13 15:21:08 +10:00
kang
270c95556c
fix: type annotations for utils.is_nvim_tree_buf ( #2180 )
...
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-05-06 15:37:12 +10:00
James Tan
98b76ff0a2
feat: add NvimTreeNormalFloat ( #2167 )
...
* feat: add `NormalFloat` hl for floating windows
* fix: follow default floatwin bg color
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-05-06 15:33:17 +10:00
gegoune
0df384b6c0
feat(api): add node.open.drop() ( #2164 )
...
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-04-30 09:35:25 +02:00
Alexander Courtis
9c60947926
fix( #2175 ): check number of actions.open_file.window_picker.chars before picking window ( #2177 )
2023-04-30 15:56:46 +10:00
Zhanibek Adilbekov
d8b154c5f0
fix( #2154 ): find_file doesn't work when group_empty option is enabled ( #2100 )
...
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-04-29 17:03:20 +10:00
Alexander Courtis
1f5bbc1efd
Revert "fix( #1976 ): support non-standard $GIT_DIR ( #2012 )"
...
This reverts commit 517dee64c1 .
2023-04-29 16:42:51 +10:00
baahrens
061a05bfd9
fix( #2132 ): focus file after rename and paste ( #2151 )
...
* feat: Focus file after creation
* feat: Focus file after pasting
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-04-23 13:59:16 +10:00
Alexander Courtis
13c714681f
fix( #2157 ): use stdpath cache for nvim-tree-on-attach.lua ( #2159 )
...
* fix(#2157 ): use stdpath cache for my_on_attach.lua
* fix(#2157 ): my_on_attach.lua -> nvim-tree-on-attach.lua
2023-04-23 13:09:49 +10:00
hinell
d68b00a63e
feat(api): Add new node selection action based on tab :drop command ( #2161 )
...
Co-authored-by: gegoune <dev@clog.rocks>
2023-04-23 02:41:21 +03:00
Damien Mehala
517dee64c1
fix( #1976 ): support non-standard $GIT_DIR ( #2012 )
...
* Improve $GIT_DIR handling
- Retrieve $GIT_DIR using `git rev-parse --absolute-git-dir`
- Move $GIT_DIR ignore in the project exploration part
Resolves #1976
* Code review
- move norm_path to utils.lua
- fix comment #2012
* add comments for utils.norm_path
* get_git_directory use norm_path from utils
* watcher improvements
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-04-22 13:26:43 +10:00
Alexander Courtis
f8bb6b4c76
feat( #1974 ): enable experimental.git.async by default, see https://github.com/nvim-tree/nvim-tree.lua/issues/2104 ( #2158 )
2023-04-22 13:22:30 +10:00
Alexander Courtis
a774fa186c
feat(api): add tree.is_visible, tree.is_tree_buf ( #2150 )
...
* feat(api): add api.tree.is_visible
* feat(api): add api.tree.is_tree_buf
2023-04-18 16:51:57 +10:00
Alexander Courtis
5b5373254f
fix: help window header is minimum width ( #2149 )
...
* help: window header is minimum width
* help: window header is minimum width
2023-04-18 15:30:44 +10:00
Alexander Courtis
5aa318c159
feat: deprecate view.mappings, see https://github.com/nvim-tree/nvim-tree.lua/wiki/Migrating-To-on_attach ( #2143 )
2023-04-18 10:17:22 +10:00
Anshuman Medhi
8f392fa763
fix( #2126 ): custom window pickers may create windows ( #2140 )
...
call nvim_list_wins again after the picker is run
2023-04-16 15:58:10 +10:00
John Fred Fadrigalan
a8a4834e1a
fix( #2139 ): API functions not passing arguments ( #2141 )
2023-04-16 09:27:11 +10:00
Alexander Courtis
6ad5c26f4d
feat( #2079 ): sort_by may return predefined sort ( #2123 )
...
* feat(#2079 ): prefactor
* feat(#2079 ): sort_by may return a predefined string
2023-04-15 15:53:40 +10:00
Alexander Courtis
56cdb5827d
fix( #1950 ): disable most API until nvim-tree setup has been called ( #2125 )
...
* fix(#1950 ): disable most API until nvim-tree setup has been called
* fix(#1950 ): disable most API until nvim-tree setup has been called
2023-04-15 15:52:07 +10:00
Eden Lentz
f3dbddf8b3
feat(renderer): add NvimTreeSymlinkFolderName ( #2000 )
...
* Added FolderSymlink color that is applied in builder.lua
* changed highlight names and links, changed folder build function
* remove NvimTreeSymlinkFolderName
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-04-15 15:24:50 +10:00
Kasper Kondzielski
68f485b454
fix( #1697 ): remove notify plugin auto-detection ( #2135 )
...
* feat: Remove nvim-notify auto-detection
* feat: Remove nvim-notify auto-detection: stylua
---------
Co-authored-by: ghostbuster91 <ghostbuster91@users.noreply.github.com>
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-04-15 15:18:05 +10:00
Alexander Courtis
0a144ba50a
fix( #2109 ): floating help window ( #2120 )
...
* fix(#2109 ): floating help window
* fix(#2109 ): floating help window
* fix(#2109 ): floating help window
* fix(#2109 ): floating help window
* fix(#2109 ): floating help window
* fix(#2109 ): floating help window
* fix(#2109 ): floating help window
* fix(#2109 ): floating help window
* help float no border
Co-authored-by: gegoune <69750637+gegoune@users.noreply.github.com>
* Update lua/nvim-tree/help.lua
Co-authored-by: gegoune <69750637+gegoune@users.noreply.github.com>
* Update lua/nvim-tree/help.lua
Co-authored-by: gegoune <69750637+gegoune@users.noreply.github.com>
* Update lua/nvim-tree/help.lua
Co-authored-by: gegoune <69750637+gegoune@users.noreply.github.com>
* Update lua/nvim-tree/help.lua
Co-authored-by: gegoune <69750637+gegoune@users.noreply.github.com>
* fix(#2109 ): floating help window
* fix(#2109 ): floating help window
---------
Co-authored-by: gegoune <69750637+gegoune@users.noreply.github.com>
2023-04-15 14:59:30 +10:00
Alexander Courtis
b601b5aa25
fix( #2133 ): harden hide_root_folder deprecation ( #2134 )
2023-04-12 16:33:14 +10:00
Alexander Courtis
e16083cb01
deprecated( #1808 ): hide_root_folder ( #2124 )
2023-04-12 16:02:48 +10:00
Alexander Courtis
48d53a5934
feat( #1669 ): remove deprecated open_on_setup mechanisms ( #2122 )
2023-04-11 14:53:27 +10:00
Alexander Courtis
920d5c8f7e
fix( #2114 ): remove deprecated non-API from lib, events ( #2121 )
2023-04-11 12:11:38 +10:00
Alexander Courtis
0ef3d4613f
feat( #1974 ): experimental.git.async see https://github.com/nvim-tree/nvim-tree.lua/issues/2104 ( #2094 )
...
* async git watcher reload; callback hell for now
* async git watcher reload; revert unnecessary extractions
* async git watcher reload; callback and non-callback functions are required for sync codepaths that loop
* async git watcher reload
* async git watcher reload
* feat(#1974 ): experimental.git.async
* feat(#1974 ): experimental.git.async
2023-04-03 16:20:52 +10:00
gegoune
7ad1c204c4
fix: api.node.open.preview should toggle directories ( #2099 )
2023-04-03 09:20:23 +03:00
Alexander Courtis
0c9bfe7225
feat( #2092 ): add api.node.navigate.open.next, prev ( #2093 )
...
* feat(#2092 ): add api.node.navigate.open.next, prev
* feat(#2092 ): add api.node.navigate.listed.next, prev
* feat(#2092 ): add api.node.navigate.opened.next, prev
* feat(#2092 ): add api.node.navigate.opened.next, prev
2023-04-03 14:23:03 +10:00
Alexander Courtis
3e9509ec1b
fix( #2088 ): actions change dir enable false does not update tree root ( #2095 )
...
* fix(#2088 ): update tree root when actions.change_dir disabled
* fix(#2088 ): update tree root when actions.change_dir disabled
2023-04-03 13:07:11 +10:00
Alexander Courtis
45400cd7e0
feat(api): add api.commands.get ( #2083 )
...
* feat(commands): add descriptions
* Update lua/nvim-tree.lua
Co-authored-by: gegoune <69750637+gegoune@users.noreply.github.com>
* feat(commands): add descriptions, extract to commands.lua
* feat(commands): add descriptions, add api.get_commands
* feat(commands): add descriptions, api.get_commands -> api.commands.get
---------
Co-authored-by: gegoune <69750637+gegoune@users.noreply.github.com>
2023-03-28 10:52:48 +11:00
Pholawat
a38f9a55a4
fix( #2086 ): "Rename: Omit Filename" not removing file name ( #2087 )
2023-03-27 10:52:09 +11:00
Alexander Courtis
6319ad9405
fix( #2078 ): :NvimTreeFindFile focuses tree ( #2080 )
2023-03-26 15:34:26 +11:00
Alexander Courtis
886d852f6e
fix( #1858 ): deprecation warning for config.mappings.active and default ( #2084 )
2023-03-26 15:29:16 +11:00
Alexander Courtis
6515a1e1a9
fix( #2081 ): do not change root for inexistent files ( #2082 )
2023-03-26 15:05:41 +11:00
CsYakamoz
874b7be5d0
fix(diagnostics): coc obey diagnostics.severity ( #2072 )
...
`diagnostics.severity` option do not work with coc
2023-03-25 16:06:21 +11:00
EliasGill
31d8e24460
fix( #2057 ): update focused file on new terminal ( #2060 )
...
* Fixing #2057
* Update change-dir.lua
* Fixing error in force_dir_change
2023-03-25 14:50:22 +11:00
Zhizhen He
aa9971768a
doc: spelling ( #2070 )
2023-03-21 16:39:45 +11:00
Alexander Courtis
4f036342f1
feat(api): add api.config.mappings.get_keymap and get_keymap_default ( #2056 )
...
* feat(api): add api.config.mappings.get_keymap and get_keymap_default
* feat(api): add api.config.mappings.get_keymap and get_keymap_default
2023-03-20 11:23:45 +11:00
Alexander Courtis
fe980baa94
feat(api): api.tree.find_file feature parity with open/toggle, convert all commands to API, document commands ( #2039 )
...
* fix(#1212 ): API find file feature parity
* fix(#2011 ): API find file feature parity
* fix(#2011 ): API find file feature parity
* fix(#2011 ): API find file feature parity
* fix(#2011 ): API find file feature parity
* fix(#2011 ): API find file feature parity
* fix(#2011 ): API find file feature parity
* fix(#2011 ): API find file feature parity
2023-03-13 16:53:20 +11:00
Alexander Courtis
f0a1c6ae2e
fix( #1858 ): fire TreeAttachedPost event following on_attach call
2023-03-13 14:48:01 +11:00
gegoune
1830e5e8a4
feat(git): add TM git status ( #2045 )
...
* feat(git): add `TM` git status
Potential fix for #2043 .
* fix: show as staged as well
2023-03-13 14:00:32 +11:00
Alexander Courtis
bbb6d48910
feat(api): add api.config.mappings.default_on_attach ( #2037 )
2023-03-06 10:45:58 +11:00
Jeremy Goh
6117582578
fix: typo on clipboard notify ( #2032 )
2023-03-04 13:51:09 +11:00
Alexander Courtis
362ecbeed6
fix( #2024 ): revert removal of deprecated nvim-tree.config nvim_tree_callback
2023-02-28 09:10:13 +11:00