Commit Graph

1439 Commits

Author SHA1 Message Date
Alexander Courtis
e51863e359 ci: remove temporary find to enumerate home 2023-12-30 17:05:08 +11:00
Alexander Courtis
f6fe6b3294 ci: temporary find to enumerate home 2023-12-30 17:01:01 +11:00
Alexander Courtis
7f94529c37 ci: temporary find to enumerate home 2023-12-30 15:10:30 +11:00
Alexander Courtis
00fe0a921d ci: add VIMRUNTIME for lls 2023-12-30 15:09:44 +11:00
Alexander Courtis
7e3caf9075 ci: temporary find to enumerate home 2023-12-30 15:07:55 +11:00
Alexander Courtis
4d836e8ca0 ci: add lsp to diagnostics 2023-12-30 15:07:27 +11:00
Alexander Courtis
15328856a0 Merge branch 'master' into ci-lua-language-server 2023-12-30 14:37:16 +11:00
Max
96a783fbd6 fix(#2519): Diagnostics Not Updated When Tree Not Visible (#2597)
* fix(#2519): diagnostics overhaul

Signed-off-by: iusmac <iusico.maxim@libero.it>

* fix: Properly filter diagnostics from coc

Also, while we're at it, refactor the lsp function for consistency.
There should be no functional change, just cosmetic.

Signed-off-by: iusmac <iusico.maxim@libero.it>

* Assign diagnostic version per node to reduce overhead

Signed-off-by: iusmac <iusico.maxim@libero.it>

* Require renderer once

Signed-off-by: iusmac <iusico.maxim@libero.it>

* Revert "Require renderer once"

Causes circular requires after the previous commit.

This reverts commit 7413041630.

* Rename `buffer_severity_dict` to `BUFFER_SEVERITY`

Signed-off-by: iusmac <iusico.maxim@libero.it>

* Log diagnostics update properly

Signed-off-by: iusmac <iusico.maxim@libero.it>

* Implement error handling for coc.nvim

Signed-off-by: iusmac <iusico.maxim@libero.it>

* CI style fixes

Signed-off-by: iusmac <iusico.maxim@libero.it>

* Capture `Keyboard interrupt` when handling coc exceptions

Signed-off-by: iusmac <iusico.maxim@libero.it>

* add more doc

---------

Signed-off-by: iusmac <iusico.maxim@libero.it>
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-12-30 14:30:07 +11:00
Azad
50f30bcd8c feat: add option to skip gitignored files on git navigation (#2583)
* feat: add option to skip gitignored files on git navigation

* Add API bindings

* stylua: ignore
2023-12-19 11:29:01 +01:00
Alexander Courtis
8f92e1edd3 feat(#1850): add "no bookmark" filter (#2571)
* feat(#1850): add no bookmark filter

* feat(#1850): add no bookmark filter - style
2023-12-19 16:18:24 +11:00
gegoune
141c0f97c3 chore: first release (#2588) 2023-12-11 01:36:12 +01:00
Alexander Courtis
240ef7796c Merge branch 'master' into ci-lua-language-server 2023-12-11 10:37:13 +11:00
Azad
34780aca5b refactor: take single opts param on node navigation (#2584)
* refactor: take single `opts` param on node navigation

* `MoveOpts` -> `NavigationItemOpts`
2023-12-10 23:44:36 +01:00
gegoune
4891d6cec3 ci: fix release-please manifest (#2586)
Release-As: 0.9.0
2023-12-10 11:39:39 +01:00
gegoune
90cff8e468 ci: configure release-please
Release-As: v0.9.0
2023-12-10 11:28:25 +01:00
Alexander Courtis
0a7c24b675 fix(#2568): hijack_cursor positions at top grouped node (#2569)
Co-authored-by: Azad <49314270+Akmadan23@users.noreply.github.com>
2023-12-10 00:13:22 +01:00
Alexander Courtis
747854a969 ci: consistent script naming 2023-12-09 14:15:19 +11:00
Alexander Courtis
2356e3d77c ci: add quality to contributing 2023-12-09 14:11:06 +11:00
Alexander Courtis
edbf5012a2 ci: consistent script naming 2023-12-09 14:00:50 +11:00
Alexander Courtis
b60ea9c0c2 ci: remove workspaces from luals 2023-12-09 13:59:22 +11:00
Alexander Courtis
b5de0c1846 ci: action downloads and installs luals 2023-12-09 13:57:26 +11:00
Alexander Courtis
820b7b386f Revert "ci: add neovim 0.9.4"
This reverts commit 46fd1b368d27a1892b55381691723db3b30a7527.
2023-12-09 12:20:43 +11:00
Alexander Courtis
a1e293f98c Revert "ci: add ci neovim 0.9.4 to lib path"
This reverts commit 4f397d6ea8bbdf6e808f9dc9db5ecbae291d8cd4.
2023-12-09 12:20:43 +11:00
Alexander Courtis
c12a3af901 Revert "ci: dummy failure to test"
This reverts commit 45987335d81ec65fecc6636b339671a9a9fcdd97.
2023-12-09 12:20:43 +11:00
Alexander Courtis
fea0f04839 ci: dummy failure to test 2023-12-09 12:20:43 +11:00
Alexander Courtis
10de5c28a3 ci: add ci neovim 0.9.4 to lib path 2023-12-09 12:20:43 +11:00
Alexander Courtis
48494be4b8 ci: add neovim 0.9.4 2023-12-09 12:20:43 +11:00
Alexander Courtis
4e9ee61aa2 ci: tidy 2023-12-09 12:20:40 +11:00
Alexander Courtis
931efb3708 ci: add luals libs and tidy 2023-12-09 12:20:21 +11:00
Alexander Courtis
eb856a50ca ci: shellcheck nits 2023-12-09 12:20:21 +11:00
Alexander Courtis
8d9b108f6a ci: better name 2023-12-09 12:20:21 +11:00
Alexander Courtis
04aa5a2da3 ci: ignore lls-out 2023-12-09 12:20:21 +11:00
Alexander Courtis
1f2e52c39a Revert "ci: dummy failure to test"
This reverts commit 2bc43bad430209e32a5049a16c56710c4f6e2f7b.
2023-12-09 12:20:21 +11:00
Alexander Courtis
5a01aa8023 ci: dummy failure to test 2023-12-09 12:20:21 +11:00
Alexander Courtis
df807c434b ci: download lua-language-server binary 2023-12-09 12:20:21 +11:00
Alexander Courtis
78bfdf83bd ci: download lua-language-server binary 2023-12-09 12:20:21 +11:00
Alexander Courtis
a2902e5159 ci: add lls-check to ci.yml 2023-12-09 12:20:17 +11:00
Alexander Courtis
0d6b860e49 ci: add lls-check 2023-12-09 12:19:49 +11:00
Alexander Courtis
27e66c2ea8 refactor(#1645): remove unused open_replacing_current_buffer (#2570) 2023-12-09 12:18:57 +11:00
Azad
2fed5e1010 ci: add style check for doc comments (#2575)
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-12-09 12:06:06 +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
dependabot[bot]
7d1760f892 chore(deps): bump google-github-actions/release-please-action from 3 to 4 (#2573)
chore(deps): bump google-github-actions/release-please-action

Bumps [google-github-actions/release-please-action](https://github.com/google-github-actions/release-please-action) from 3 to 4.
- [Release notes](https://github.com/google-github-actions/release-please-action/releases)
- [Changelog](https://github.com/google-github-actions/release-please-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google-github-actions/release-please-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: google-github-actions/release-please-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-05 10:39:40 +11:00
Alexander Courtis
7e5c673180 docs(#285): clarify api.fs.create directory creation (#2572)
docs(#285): clarify api.fs.create directory creation
2023-12-04 11:32:03 +11:00
Azad
05f55c1fd6 chore: remove TreeExplorer global variable (#2561) 2023-11-28 10:39:52 +01:00
Alexander Courtis
d5cc938ab0 refactor: api and command focus call tree.open(), soft deprecate tree.focus() 2023-11-27 14:24:55 +02:00
kezhenxu94
5e4475d8bf fix: harden tree root cwd fetch (#2557)
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-11-26 09:39:19 +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
db796fc74e docs: complete API calls for commands (#2556)
doc: complete API calls for commands
2023-11-25 13:21:34 +11:00
dependabot[bot]
fa00b57873 chore(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-22 22:02:04 +02:00
John Hui
8c534822a7 feat(#2544): add api.tree.winid (#2545)
* feat(#2544): add API for querying win ID, api.tree.winid()

* Document winid() opts

Co-authored-by: Alexander Courtis <alex@courtis.org>

* Fix winid() docs

Co-authored-by: Alexander Courtis <alex@courtis.org>

* Handle case where tabpage = 0

---------

Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-11-21 16:04:43 +11:00