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
Azad
5231562caf
feat(log): add node inspection function ( #2541 )
...
* feat: add `api.tree.inspect_node_under_cursor`
* Add documentation
* Revert "feat: add `api.tree.inspect_node_under_cursor`"
This reverts commit 784ee91cc6 .
* Revert "Add documentation"
This reverts commit 6dc396d0a5 .
* feat(log): add node inspection function
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-11-25 21:45:59 +01:00
Alexander Courtis
116b88564f
chore: use stdpath "log" rather than "cache" ( #2372 )
2023-08-14 11:03:38 +10: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
Alexander Courtis
cc18122be1
fix(notify): log file notice info->debug
2022-11-20 12:26:59 +11:00
Alexander Courtis
a65063cb0a
fix(notify): remove unused varargs, log file notice debug->info
2022-11-19 14:34:39 +11:00
Alexander Courtis
8cc369695b
fix: replace vim.* "requires" with explicit calls to vim functions ( #1701 )
2022-11-06 10:37:33 +11:00
kylo252
6ca6f99e76
feat(notify): add notify.threshold ( #1693 )
...
* feat: configurable notification level
add `notify.threshold` to setup opts
* feat: configurable notification level: add threshold example doc
* feat: configurable notification level: log always comes last
Co-authored-by: Alexander Courtis <alex@courtis.org>
2022-11-01 10:24:40 +11:00
kiyan
18447132fc
feat(notify): switch all print/nvim_*write statements to utils.notify
2022-07-18 14:04:48 +02:00
kiyan
524758a207
chore: remove auto close
...
also fix emmylua errors in log.lua file
fixes #1005
fixes #871
2022-03-27 12:13:24 +02:00
Alexander Courtis
bd23c88608
profile uses uv.hrtime ( #1110 )
2022-03-27 11:49:46 +02:00
Alexander Courtis
54c78dbca2
#791 add profiling for some operations ( #1108 )
2022-03-26 13:22:28 +01:00
Alexander Courtis
a65078e3ae
#1060 use one log file with the option to truncate ( #1075 )
2022-03-12 14:43:33 +01:00
kiyan
471afc13fe
refacto: abstract TreeExplorer in core.lua
2022-03-09 22:01:54 +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