summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyohei Uto <im@kyoheiu.dev>2023-11-02 05:14:00 +0900
committerGitHub <noreply@github.com>2023-11-02 05:14:00 +0900
commite1b0de7ad150fe2aebe328dc767af26e7b56c97d (patch)
tree5dd689038d2454dfb21641f1740cb23370d5eaa6
parentefa494ba36521da858e9d9032574ce6152e09ec6 (diff)
parent4ef24e0a54b97fce76b6ada710f2275e852221fe (diff)
Merge pull request #251 from kyoheiu/developv2.10.1
v2.10.1
-rw-r--r--CHANGELOG.md5
-rw-r--r--Cargo.lock26
-rw-r--r--Cargo.toml2
-rw-r--r--README.md5
-rw-r--r--src/layout.rs2
5 files changed, 26 insertions, 14 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0f07bc7..95ce6ae 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,11 @@
## Unreleased
+## v2.10.1 (2023-11-02)
+
+### Fixed
+- Convert tab to 4 spaces when using bat to preview text files.
+
## v2.10.0 (2023-11-01)
### Added
diff --git a/Cargo.lock b/Cargo.lock
index 003ffd4..4bbd494 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -330,7 +330,7 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
[[package]]
name = "felix"
-version = "2.10.0"
+version = "2.10.1"
dependencies = [
"bwrap",
"chrono",
@@ -504,9 +504,9 @@ dependencies = [
[[package]]
name = "js-sys"
-version = "0.3.64"
+version = "0.3.65"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a"
+checksum = "54c0c35952f67de54bb584e9fd912b3023117cbafc0a77d8f3dee1fb5f572fe8"
dependencies = [
"wasm-bindgen",
]
@@ -1119,9 +1119,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
[[package]]
name = "wasm-bindgen"
-version = "0.2.87"
+version = "0.2.88"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342"
+checksum = "7daec296f25a1bae309c0cd5c29c4b260e510e6d813c286b19eaadf409d40fce"
dependencies = [
"cfg-if",
"wasm-bindgen-macro",
@@ -1129,9 +1129,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-backend"
-version = "0.2.87"
+version = "0.2.88"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd"
+checksum = "e397f4664c0e4e428e8313a469aaa58310d302159845980fd23b0f22a847f217"
dependencies = [
"bumpalo",
"log",
@@ -1144,9 +1144,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro"
-version = "0.2.87"
+version = "0.2.88"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d"
+checksum = "5961017b3b08ad5f3fe39f1e79877f8ee7c23c5e5fd5eb80de95abc41f1f16b2"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
@@ -1154,9 +1154,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro-support"
-version = "0.2.87"
+version = "0.2.88"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b"
+checksum = "c5353b8dab669f5e10f5bd76df26a9360c748f054f862ff5f3f8aae0c7fb3907"
dependencies = [
"proc-macro2",
"quote",
@@ -1167,9 +1167,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-shared"
-version = "0.2.87"
+version = "0.2.88"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1"
+checksum = "0d046c5d029ba91a1ed14da14dca44b68bf2f124cfbaf741c54151fdb3e0750b"
[[package]]
name = "winapi"
diff --git a/Cargo.toml b/Cargo.toml
index 24e3eb4..4f9801c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "felix"
-version = "2.10.0"
+version = "2.10.1"
authors = ["Kyohei Uto <im@kyoheiu.dev>"]
edition = "2021"
description = "tui file manager with vim-like key mapping"
diff --git a/README.md b/README.md
index 0c56d33..6b296d1 100644
--- a/README.md
+++ b/README.md
@@ -25,6 +25,11 @@ For more detailed document, visit https://kyoheiu.dev/felix.
## New release
+## v2.10.1 (2023-11-02)
+
+### Fixed
+- Convert tab to 4 spaces when using bat to preview text files.
+
## v2.10.0 (2023-11-01)
### Added
diff --git a/src/layout.rs b/src/layout.rs
index 56e92b5..40502e7 100644
--- a/src/layout.rs
+++ b/src/layout.rs
@@ -200,6 +200,8 @@ impl Layout {
.args([
path,
"-fpP",
+ "--tabs",
+ "4",
"--wrap",
"character",
"--terminal-width",