Alexander Courtis
c9104a5d07
chore: style: align_continuous_similar_call_args ( #2937 )
...
* chore: style: align_continuous_similar_call_args
* chore: style: align_continuous_similar_call_args
* chore: style: align_continuous_similar_call_args
* chore: style: align_continuous_similar_call_args
* chore: style: consistent use of double quotes
2024-09-30 15:34:01 +10:00
Alexander Courtis
1ae1c33ce1
chore( #2931 ): stylua -> EmmyLuaCodeStyle ( #2932 )
...
* stylua -> EmmyLuaCodeStyle: config and doc
* stylua -> EmmyLuaCodeStyle: CI
* stylua -> EmmyLuaCodeStyle: CI
* stylua -> EmmyLuaCodeStyle: CI
* stylua -> EmmyLuaCodeStyle: CI
* stylua -> EmmyLuaCodeStyle: CI
* stylua -> EmmyLuaCodeStyle
* stylua -> EmmyLuaCodeStyle: call_arg_parentheses = always
* stylua -> EmmyLuaCodeStyle
* stylua -> EmmyLuaCodeStyle
2024-09-29 14:05:52 +10:00
Alexander Courtis
6a99f5af78
ci: lua language server and Makefile ( #2546 )
...
* ci: add lls-check
* ci: add lls-check to ci.yml
* ci: download lua-language-server binary
* ci: download lua-language-server binary
* ci: dummy failure to test
* Revert "ci: dummy failure to test"
This reverts commit 2bc43bad430209e32a5049a16c56710c4f6e2f7b.
* ci: ignore lls-out
* ci: better name
* ci: shellcheck nits
* ci: add luals libs and tidy
* ci: tidy
* ci: add neovim 0.9.4
* ci: add ci neovim 0.9.4 to lib path
* ci: dummy failure to test
* Revert "ci: dummy failure to test"
This reverts commit 45987335d81ec65fecc6636b339671a9a9fcdd97.
* Revert "ci: add ci neovim 0.9.4 to lib path"
This reverts commit 4f397d6ea8bbdf6e808f9dc9db5ecbae291d8cd4.
* Revert "ci: add neovim 0.9.4"
This reverts commit 46fd1b368d27a1892b55381691723db3b30a7527.
* ci: action downloads and installs luals
* ci: remove workspaces from luals
* ci: consistent script naming
* ci: add quality to contributing
* ci: consistent script naming
* ci: add lsp to diagnostics
* ci: temporary find to enumerate home
* ci: add VIMRUNTIME for lls
* ci: temporary find to enumerate home
* ci: temporary find to enumerate home
* ci: remove temporary find to enumerate home
* ci: correct VIMRUNTIME
* ci: add ${3rd}/luv/library
* ci: note VIMRUNTIME override
* ci: add Makefile
* ci: add Makefile
* ci: add Makefile
* ci: add Makefile
* ci: document checks and fixes
* ci: add help check
* ci: add help check
* ci: dummy help failure
* Revert "ci: dummy help failure"
This reverts commit c50cceaa4a .
* ci: document checks and fixes
* ci: document checks and fixes
* ci: matrix nvim version
* ci: matrix nvim version
* Revert "ci: matrix nvim version"
This reverts commit fcef6a11e9 .
* Revert "ci: matrix nvim version"
This reverts commit a8cb50d39d .
* ci: matrix nvim version from env
* ci: matrix nvim version from env
* ci: matrix nvim version from env
* ci: matrix nvim version
* ci: matrix nvim version
* ci: matrix per job
* ci: matrix per job
* ci: many lua versions
* ci: move doc to style
* ci: tidy ci and contributing
2024-01-06 13:18:52 +11:00
Azad
13f967f8e7
chore: add type annotations and resolve LSP warnings ( #2555 )
...
* chore: add type annotations to (almost) all functions
* stylua
* Add classes for symlink nodes
* Replace deprecated `@vararg`
* Move node classes to `node` module
* Fix `Symlink*` classes
* add vim and libuv runtime for luals, qualify libuv types
* add scripts/luals-check, not quite ready for CI
* additional nil checks for git/init.lua and git/runner.lua
* additional nil checks for nvim-tree.lua
* wrap vim.cmd-as-a-function calls inside functions
* vim.tbl_filter predicate returns booleans
* Revert "add scripts/luals-check, not quite ready for CI"
This reverts commit c70229cad9 .
* Add `MinimalNode` class in `marks` module
* Fix various LSP warnings
* stylua
* Fix `Explorer` class, update related annotations and add necessary checks
* Add missing annotations to `live-filter`
* Add temporary aliases for `uv.*` types
* Resolve remaining LSP warnings
* Revert changes not related to internal types
* Minor adjustments
* Update doc comments style
* Minor adjustments (pt. 2)
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-12-09 11:34:35 +11:00
Alexander Courtis
53b0bcaada
chore: stylua column width 120 -> 140 ( #2448 )
...
* chore: stylua column width 120 -> 140
* chore: stylua column width 120 -> 140, tidy
* Revert "chore: stylua column width 120 -> 140, tidy"
This reverts commit 8a0524d6bd .
* chore: stylua column width 120 -> 140, tidy watcher.lua
* chore: stylua column width 120 -> 140, tidy diagnostics.lua
* chore: stylua column width 120 -> 140, tidy git.lua
* chore: stylua column width 120 -> 140, tidy open-file.lua
* chore: stylua column width 120 -> 140, tidy system-open.lua
* chore: stylua column width 120 -> 140, tidy runner.lua
2023-10-08 11:40:58 +11:00
Alexander Courtis
5897b3622f
fix( #2386 ): kill git zombies ( #2401 )
2023-09-03 17:26:05 +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
Alexander Courtis
164eb10cbd
fix( #2104 ): remove experimental.git.async, always used ( #2234 )
2023-05-27 15:11:29 +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
Alexander Courtis
36e29c3a95
fix( #1970 ): disable git integration after 5 timeouts ( #1990 )
...
* fix(#1970 ): additional log function gating for efficiency when not logging
* fix(#1970 ): additional log function gating for efficiency when not logging
* fix(#1970 ): disable git integration after 10 timeouts
* fix(#1970 ): disable git integration after 10 timeouts
* fix(#1970 ): disable git integration after 10 timeouts
* fix(#1970 ): cleanly kill timed out git processes
* fix(#1970 ): revert git kill, to be completed via #1974 experiment
* fix(#1970 ): revert git kill, to be completed via #1974 experiment
2023-02-12 14:28:48 +11:00
Alexander Courtis
b712b82b0c
fix( #1961 ): harden profiling functions ( #1986 )
2023-02-11 17:05:01 +11:00
Alexander Courtis
02fdc262eb
fix( #1970 ): additional log function gating for efficiency when not logging ( #1971 )
...
* fix(#1970 ): additional log function gating for efficiency when not logging
* fix(#1970 ): additional log function gating for efficiency when not logging
2023-02-06 10:23:20 +11:00
Alexander Courtis
e322fbb80b
chore: remove diagnostic suppressions after tidying nits
2023-01-01 13:27:05 +11:00
Richard Li
f8489c9929
fix(git): git rename not showing up for the renamed file ( #1783 )
...
* fixed git rename not showing up for the renamed file
* considered " -> " being a part of the filename
Fixed -> pattern to escape -
Fixed "\"" and "\\" in filename
* using string.find(, , true) to match plain ->
* Using -z and removed unnecessary logic
2022-12-03 14:56:38 +11:00
Alexander Courtis
8cc369695b
fix: replace vim.* "requires" with explicit calls to vim functions ( #1701 )
2022-11-06 10:37:33 +11:00
axlauri
09a51266bc
fix( #1494 ): git showUntracked value and log ( #1504 )
...
* should_show_untracked correctly evaluates status.showUntrackedFiles
* git.Runner:_run_git_job removes nils before logging args
2022-08-15 14:30:22 +10:00
Alexander Courtis
06e48c29c4
chore(watchers): refactor events and make debouncer safe
...
- fs poll -> fs events
- make debouncer safe and fix diagnostics events
2022-07-17 08:50:24 +02:00
Alexander Courtis
7a795d78fa
feat(watcher): partial git refresh ( #1373 )
2022-06-27 11:12:28 +10:00
Alexander Courtis
f6eef4a1f0
feat(explorer): add filesystem watchers: reinstate git output logging
2022-06-06 11:19:55 +10:00
Kiyan
b0d27c09b6
feat(explorer): add filesystem watchers ( #1304 )
...
* feat(explorer): add experimental watchers
This commit introduces watchers to update the tree.
This behavior is introduced behind an "filesystem_watchers" option
which should prevent instabilities.
It will become the default at some point.
Co-authored-by: Alexander Courtis <alex@courtis.org>
2022-06-05 12:39:39 +02:00
Alexander Courtis
54c78dbca2
#791 add profiling for some operations ( #1108 )
2022-03-26 13:22:28 +01:00
Alexander Courtis
19075f41e8
File logging ( #1053 )
...
* add file logging infrastructure
* log git runner operations
* log configuration and mappings
* document file logging infrastructure
* style fixes
* stylua fixes
* document log file locations
2022-03-07 08:44:37 +01:00
Kiyan
0816064a8b
chore: add stylua to format the codebase, and run on CI ( #1055 )
2022-03-06 17:33:30 +01:00
kiyan
f977e5c05a
refacto: make git module interface to wait for job to finish
...
allows simplify the explore/reload/find/initialization by making the
whole code synchronous. No more callback needed.
2022-02-21 19:12:16 +01:00
Kiyan
dbf172c67a
fix: do not match ignored when not showing untracked files ( #996 )
...
fixes #985
2022-02-17 10:08:07 +01:00
Alexandr Makurin
af3337879d
Fix git icons on files and folders in subfolders ( #911 )
2022-01-31 09:06:36 +01:00
kiyan
2301b3675f
fix(git): check handle before accessing it
...
Fixes #814
Should fix #816
2021-12-05 22:50:43 +01:00
kiyan
8fd3d276e1
fix(git): add --no-optional-locks to avoid locking git process
...
Closes #810 .
2021-12-05 22:40:14 +01:00
Kiyan
6662b60a2b
feat/chore: rewrite git with job and some other fixes ( #743 )
...
* feat/chore: rewrite git with job and some other fixes
* fix: fs clear window, rename echo_warning -> warn
also fix renaming and add an event blocker to avoid running many events
at the same time
2021-11-27 16:02:54 +01:00