Skip to content
This repository was archived by the owner on Nov 14, 2024. It is now read-only.

Commit cee13d5

Browse files
authored
Merge pull request #310 from hadronized/fix-packaging
Fix packaging
2 parents 3904894 + 9802197 commit cee13d5

File tree

7 files changed

+8
-95
lines changed

7 files changed

+8
-95
lines changed

docs/man/configuration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ options via the user configuration.
55

66
The `$XDG_CONFIG_HOME/kak-tree-sitter/config.toml` contains the user configuration of both `kak-tree-sitter` and
77
`ktsctl`, which is shared. If you want to tweak something, you can have a look at the
8-
[default configuration file](https://github.com/hadronized/kak-tree-sitter/blob/master/default-config.toml) to know
8+
[default configuration file](https://github.com/hadronized/kak-tree-sitter/blob/master/kak-tree-sitter-config/default-config.toml) to know
99
which path and values to pick from.
1010

1111
> The user and default configurations get merged, so you do not have to copy the default configuration to tweak it.

docs/man/ktsctl.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ It calls `--sync` with `--all`. Basically, it will:
7777
- If you do, the resource is checked against the pinned version of the configuration. If it’s too old, a new version
7878
is fetched, compiled, etc.
7979

80-
>>>>>>> 4694637 (Update user manual for the new version of ktsctl.)
8180
### Getting information
8281

8382
The `query` command allows to get information about tree-sitter resources. As with `manage`, you can use `--help` to
@@ -96,8 +95,9 @@ reuse datasets from other projects, such as the GitHub repositories of the gramm
9695
Whatever you decide to use, you need to update your [user configuration](configuration.md) file according to the
9796
languages, grammars and queries. **However**, as explained in the linked section, 99% of people will just be satisfied
9897
with the default settings shipped with `kak-tree-sitter`’s `default-config.toml`, which you can find at the root of the
99-
repository, [here](https://github.com/hadronized/kak-tree-sitter/blob/master/default-config.toml). That configuration
100-
file is shipped with the binary (`kak-tree-sitter`), so you do not need to copy it; just add what you need!
98+
repository, [here](https://github.com/hadronized/kak-tree-sitter/blob/master/kak-tree-sitter-config/default-config.toml).
99+
That configuration file is shipped with the binary (`kak-tree-sitter`), so you do not need to copy it; just add what you
100+
need!
101101

102102
# A note for release channels
103103

kak-tree-sitter-config/LICENSE

-30
This file was deleted.

kak-tree-sitter-config/LICENSE

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE
File renamed without changes.

kak-tree-sitter-config/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ impl Config {
3939
}
4040

4141
/// Default configuration using the `default-config.toml` file.
42-
const DEFAULT_CONFIG_CONTENT: &'static str = include_str!("../../default-config.toml");
42+
const DEFAULT_CONFIG_CONTENT: &'static str = include_str!("../default-config.toml");
4343

4444
pub fn load_default_config() -> Result<Self, ConfigError> {
4545
log::debug!("loading default configuration");

kak-tree-sitter/LICENSE

-30
This file was deleted.

kak-tree-sitter/LICENSE

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE

ktsctl/LICENSE

-30
This file was deleted.

ktsctl/LICENSE

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE

0 commit comments

Comments
 (0)