Commit graph

810 commits

Author SHA1 Message Date
dependabot[bot]
d3c61d9826
chore(deps): bump crate-ci/typos from 1.33.1 to 1.34.0 (#175)
Some checks failed
Build / Build Binary (push) Failing after 2s
Test Coverage / build (push) Has been cancelled
check_typos / build (push) Has been cancelled
Build / release (push) Has been cancelled
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.33.1 to 1.34.0.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.33.1...v1.34.0)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-version: 1.34.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-03 08:23:50 +09:00
idealseal
ea38d15c67
chore(deps): bump cargo dependencies (#174)
Some checks failed
Build / Build Binary (push) Failing after 3s
Test Coverage / build (push) Has been cancelled
check_typos / build (push) Has been cancelled
Build / release (push) Has been cancelled
2025-06-27 20:25:58 +09:00
idealseal
e909477e4d
style: inline format args (#173)
Some checks failed
Test Coverage / build (push) Waiting to run
check_typos / build (push) Waiting to run
Build / Build Binary (push) Failing after 3s
Build / release (push) Has been cancelled
* chore: add minimum supported rust version 1.85.0

This change is made to allow cargo to detect what rust versions we want
to support. When `cargo clippy --fix` is run without it, it adds syntax
only supported by the latest rust version 1.88.0.

The 2024 edition requires at least 1.8.5 and since there are no other
issues we can use it as our baseline for now.

* style: inline format args

This is a clippy rule that was moved into the style set of lints in
clippy 1.88.0, which is used by default.

Closes: https://github.com/neocmakelsp/neocmakelsp/issues/172
2025-06-27 09:15:17 +09:00
dependabot[bot]
6d0d165fba
chore(deps): bump crate-ci/typos from 1.32.0 to 1.33.1 (#168)
Some checks failed
Test Coverage / build (push) Has been cancelled
check_typos / build (push) Has been cancelled
Build / release (push) Has been cancelled
Build / Build Binary (push) Failing after 4s
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.32.0 to 1.33.1.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.32.0...v1.33.1)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-version: 1.33.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-05 08:10:00 +09:00
ShootingStarDragons
5ed2338169 chore: bump tree-sitter-cmake
Some checks failed
Build / Build Binary (push) Failing after 2s
Build / release (push) Has been cancelled
Test Coverage / build (push) Has been cancelled
check_typos / build (push) Has been cancelled
2025-05-25 19:57:00 +09:00
ObserverOfTime
b9a762008e
build: fix typo in bash completion (#165)
Some checks failed
Build / Build Binary (push) Failing after 2s
Test Coverage / build (push) Has been cancelled
check_typos / build (push) Has been cancelled
Build / release (push) Has been cancelled
2025-05-22 23:56:27 +09:00
Simon Berger
878d480fe0
Make clippy happy again (#164)
Some checks failed
Build / Build Binary (push) Failing after 4s
Test Coverage / build (push) Has been cancelled
check_typos / build (push) Has been cancelled
Build / release (push) Has been cancelled
* Run cargo fmt

* Run clippy --fix

* Manually resolve the remaining Clippy warnings
2025-05-21 08:49:31 +09:00
ShootingStarDragons
5b07639514 chore: bump version to 0.8.23
Some checks failed
Test Coverage / build (push) Waiting to run
check_typos / build (push) Waiting to run
Build / Build Binary (push) Failing after 6s
Build / release (push) Has been cancelled
This version use the forked lsp-types, bump the dependence of
fluent-uri. This release contains a lot of experiment things, like using
the async trait of rust instead of that of async-trait, like using
fluent-uri instead of the crate of url.

This release also is used to
test the pr for fluent-uri. I believe the fluent-uri is better than that
url, and also make a pr, but the author these days is very busy, and
does have time to review my pr, so I added my modification to my forked
lsp-types which is named as lsp-types-f. If there is any problem, please
open an issue for me, I will try to fix it
2025-05-21 00:05:19 +09:00
Simon Berger
fcbc08ccba
Build release binaries on Ubuntu 22.04 (#163)
This lowers the glibc version requirement from 2.39 to 2.35.
2025-05-20 23:58:05 +09:00
ShootingStarDragons
d883949666 chore: clippy fix 2025-05-20 23:57:46 +09:00
dependabot[bot]
a6e38526fa
chore(deps): bump crate-ci/typos from 1.31.2 to 1.32.0 (#161)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.31.2 to 1.32.0.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.31.2...v1.32.0)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-version: 1.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-08 09:09:31 +09:00
ShootingStarDragons
36c3c7863f fix: $ENV not handled
resolve: https://github.com/neocmakelsp/neocmakelsp/issues/160

add $ENV for check
2025-05-07 21:41:37 +09:00
ShootingStarDragons
5c06c03fce chore: typo fix 2025-05-04 21:54:40 +09:00
Yang, Ying-chao
dc81901c0a
feat: support user-level configuration. (#158) 2025-05-04 21:54:10 +09:00
ShootingStarDragons
5b5b3b6583 chore: update README 2025-05-02 17:44:58 +09:00
dependabot[bot]
c153086f4d
chore(deps): bump crate-ci/typos from 1.31.1 to 1.31.2 (#159)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.31.1 to 1.31.2.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.31.1...v1.31.2)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-version: 1.31.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-01 09:47:18 +09:00
ShootingStarDragons
cf1aaace32 chore: update deps 2025-04-21 23:31:37 +09:00
ShootingStarDragons
6fe3b63b4f chore: typos 2025-04-15 00:07:09 +09:00
ShootingStarDragons
8e1dd23e0b chore: add settings to disable snippets 2025-04-14 23:59:22 +09:00
Access
2822d4c97f
chore: support new lsp-types (#156) 2025-04-14 23:58:53 +09:00
ShootingStarDragons
ea639e206a chore: update deps 2025-04-14 19:11:11 +09:00
ShootingStarDragons
e60cb25cc2 chore: bump version 2025-04-10 19:30:00 +09:00
ShootingStarDragons
db2f790217 chore: update deps 2025-04-10 19:25:52 +09:00
ShootingStarDragons
401c0f31a0 chore: typo
strict to restrict
2025-04-06 01:04:13 +09:00
ShootingStarDragons
d642bba9e5 fix: format will repeat same line twice
when two element in same line, it happens
2025-04-06 01:01:31 +09:00
dependabot[bot]
dca76ab75b
chore(deps): bump crate-ci/typos from 1.30.3 to 1.31.1 (#155)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.30.3 to 1.31.1.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.30.3...v1.31.1)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-03 08:38:24 +09:00
ShootingStarDragons
deec9f4956 chore: add ci status to README 2025-03-30 22:14:50 +09:00
ShootingStarDragons
61c7582f24 chore: typos config fix 2025-03-30 22:08:58 +09:00
ShootingStarDragons
cdf19c566e chore: typo fix and some structure adjust 2025-03-30 22:08:09 +09:00
idealseal
e5eeef97b2
feat: use clap's dynamic shell completion (#153)
* feat: use clap's dynamic shell completion

This has the added benefit that completion candidates like paths can be
customized to only include certain paths and all this can be done in
code.

The completions can be generated by setting the environment variable
`COMPLETE=<shell>`.

For distribution, both bash and zsh put the absolute path of neocmakelsp
into the completion code if neocmakelsp was called with a relative path,
meaning that to generate scripts that are useable everywhere neocmakelsp
must already be in the path.

The completion scripts in this commit were generated with:

```
PATH=./target/debug COMPLETE=bash neocmakelsp | tee completions/bash/neocmakelsp
# fish can load completions dynamically.
# There is no need to regenerate this on new releases.
echo "source (COMPLETE=fish neocmakelsp | psub)" | tee completions/fish/neocmakelsp.fish
PATH=./target/debug COMPLETE=zsh neocmakelsp | tee completions/zsh/_neocmakelsp
```

Signed-off-by: idealseal <realidealseal@protonmail.com>

* chore: unit test fix

---------

Signed-off-by: idealseal <realidealseal@protonmail.com>
Co-authored-by: ShootingStarDragons <ShootingStarDragons@protonmail.com>
2025-03-30 22:03:39 +09:00
idealseal
fdb0b668e0
fix: install fish completions in vendor directory (#152)
Ref: https://fishshell.com/docs/current/completions.html#where-to-put-completions

Signed-off-by: idealseal <realidealseal@protonmail.com>
2025-03-30 07:43:58 +09:00
idealseal
720402c5cc
refactor: don't duplicate clap's work (#154)
When the `command(version)` attribute is set without a value clap will
implicitly use the crate version.

Signed-off-by: idealseal <realidealseal@protonmail.com>
2025-03-30 07:41:29 +09:00
dependabot[bot]
8bab026908
chore(deps): bump crate-ci/typos from 1.30.2 to 1.30.3 (#151)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.30.2 to 1.30.3.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.30.2...v1.30.3)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-27 07:57:38 +09:00
dependabot[bot]
d2f8f86ea1
chore(deps): bump crate-ci/typos from 1.30.1 to 1.30.2 (#150)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.30.1 to 1.30.2.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.30.1...v1.30.2)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 08:04:29 +09:00
ShootingStarDragons
7dd7f22c67 chore: ci fix 2025-03-06 10:04:55 +09:00
dependabot[bot]
24e522f5a8
chore(deps): bump crate-ci/typos from 1.29.10 to 1.30.1 (#149)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.29.10 to 1.30.1.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.29.10...v1.30.1)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-06 08:46:53 +09:00
ShootingStarDragons
68fe6f8e1f chore: remove normalize and bump tree-sitter-cmake
tree-sitter-cmake has fixed that bug, so now I can remove that hack
2025-03-03 18:54:52 +09:00
ShootingStarDragons
af8c052223 chore: bump tree-sitter-cmake 2025-03-02 21:23:35 +09:00
ShootingStarDragons
115e84306d chore: add windows file for test 2025-03-02 09:19:16 +09:00
ShootingStarDragons
8141453460 chore: bump to 0.8.21
since the broken ci, make by assert did not come out on github, I delete
the tag and recreate it, but homebrew has already follow it.. This is a
bad thing. I won't do that again. To do not become a trouble, I make an
other tag
2025-03-01 10:58:41 +09:00
ShootingStarDragons
60faa2ab4b chore: ci fix 2025-03-01 10:45:51 +09:00
ShootingStarDragons
914afe6ed7 chore: publish 0.8.20 2025-02-28 22:26:41 +09:00
dependabot[bot]
df5a4456b2
chore(deps): bump crate-ci/typos from 1.29.8 to 1.29.10 (#147)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.29.8 to 1.29.10.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.29.8...v1.29.10)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-27 07:23:20 +09:00
ShootingStarDragons
4d4b7570ea chore: remove useless lines in README 2025-02-25 20:50:20 +09:00
Access
80e74f210c
Create FUNDING.yml 2025-02-25 20:49:55 +09:00
ShootingStarDragons
6759011a73 chore: add sponsor part 2025-02-25 20:32:45 +09:00
ShootingStarDragons
4c2ba7268c chore: dedup in jump 2025-02-25 18:14:03 +09:00
ShootingStarDragons
80821d2085 fix: receive shutdown, program won't exit
resolve: https://github.com/neocmakelsp/neocmakelsp/issues/80
2025-02-24 16:58:02 +09:00
ShootingStarDragons
084e209657 chore: 0.8.20-beta4 2025-02-24 16:01:28 +09:00
ShootingStarDragons
625fae3436 fix: what parent inclued, child won't know 2025-02-24 15:50:36 +09:00