-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move everything from vscode folder to root
- Loading branch information
Showing
37 changed files
with
111 additions
and
260 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Change Log | ||
|
||
### Unreleased | ||
|
||
* no changes yet | ||
|
||
### 0.3.0 | ||
|
||
* Fixed: Unknown key in defsrc while it is defined in deflocalkeys (#3) | ||
* Updated kanata to ef23c68 | ||
|
||
### 0.2.0 | ||
|
||
* Invalid deflocalkeys-win and deflocalkeys-wintercept blocks now properly report errors (#1) | ||
* Added missing syntax highlighting, | ||
* Added the same help text as kanata uses to inform users where to look for help, | ||
* Updated kanata submodule to 5dc3296 | ||
|
||
### 0.1.0 | ||
|
||
* Added syntax highlighting. | ||
* Added parse errors checking. | ||
* Added support for includes. | ||
* Used kanata-parser version: 3ccbcd1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
## Building from source | ||
|
||
Requirements: | ||
- Latest stable version of Rust with `cargo` available on your system PATH. | ||
- `wasm-pack` 0.12.1+ installed and available on your system PATH. | ||
- VS Code 1.80.0+. | ||
|
||
1. Run commands: | ||
```bash | ||
git clone https://github.com/rszyma/vscode-kanata.git && | ||
cd vscode-kanata && | ||
git submodule init && | ||
git submodule update && | ||
make package | ||
# or alternatively build in release mode: | ||
# make CARGO_FLAGS=--release package | ||
``` | ||
2. To install: | ||
- Right click on `kanata.vsix` file in VS Code file explorer and "Install Extension VSIX"... | ||
- ...or run `code --install-extension kanata.vsix` and restart VS Code. | ||
|
||
|
||
## Bumping version of kanata | ||
|
||
This project directly embeds kanata's parser during compilation. It's located in project root in `/kanata`. Any updates to kanata must be manually checked out. The following command bumps version of kanata to the latest commit on [kanata main branch](https://github.com/jtroo/kanata/tree/main): | ||
|
||
```bash | ||
git submodule update --remote | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "kls" | ||
version = "0.3.0" | ||
version = "0.0.0" | ||
authors = ["rszyma <[email protected]>"] | ||
description = "Language server for kanata keyboard remapper" | ||
keywords = ["kanata", "lsp", "vscode"] | ||
|
@@ -20,7 +20,7 @@ bench = false | |
# Uncomment below and comment out above for testing local changes. | ||
# Otherwise any changes to the local files will not reflect in the compiled | ||
# binary. | ||
kanata-parser = { path = "../kanata/parser" } | ||
kanata-parser = { path = "../kanata-local/parser" } | ||
|
||
console_error_panic_hook = "0.1.6" | ||
js-sys = "0.3.53" | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.