Skip to content

Commit

Permalink
0.8.9
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmaSd committed Jun 22, 2020
1 parent a2e9128 commit 1cb6068
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
**0.8.9**
- Add the ability to read a theme file to be used for the repl color highlighting (detail of usage on the README)

**0.8.8**
- remove syntect, use a custom made parser instead -> big runtime/compile time improvement + big decrease in dependencies
- use `dirs_next` crate instead of deprecated `dirs`
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "irust"
version = "0.8.8"
version = "0.8.9"
authors = ["Nbiba Bedis <[email protected]>"]
edition = "2018"
readme = "README.md"
Expand Down
25 changes: 21 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,18 +93,35 @@ IRust config file is located in:
welcome_msg = Welcome to IRust
welcome_color = DarkBlue

## Theme
Since release `0.8.9` `IRust` can now parse a theme file located on `$config_dir/irust/theme` and use it for the highlighting colors.

Example of a theme file:

```
keyword: #D027C1
keyword2: #BC303F
function: #6BF600
type: #0ED5FF
string_literal: #DEFB24
character: #DEFB24
symbol: #BC303F
const: #9530BC
```

## Releases
Automatic releases by github actions are uploaded here https://github.com/sigmaSd/irust/releases

## Building
cargo b --release

## FAQ

**1- Why is autocompletion not working**

-> you need racer installed and configured correctly
cargo +nightly install racer
rustup component add rust-src

## [Changelog](./CHANGELOG.md)
2 changes: 1 addition & 1 deletion src/args.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::irust::options::Options;
use std::env;

const VERSION: &str = "0.8.8";
const VERSION: &str = "0.8.9";

pub fn handle_args() -> std::io::Result<()> {
let args: Vec<String> = env::args().skip(1).collect();
Expand Down

0 comments on commit 1cb6068

Please sign in to comment.