From 8275a292a0c4ee59cf3ed37f8047a00678b15516 Mon Sep 17 00:00:00 2001 From: deadnews Date: Wed, 21 Jan 2026 06:21:36 +0700 Subject: [PATCH] fix: correct typo in scrollbar widget name (#14) --- .pre-commit-config.yaml | 11 ++++++++--- .typos.toml | 10 ++++++++++ skins/onedark.ini | 2 +- skins/onedark16M.ini | 2 +- 4 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 .typos.toml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 71e8d1e..0c54e6e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v6.0.0 hooks: - id: check-added-large-files - id: check-case-conflict @@ -16,7 +16,12 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.0-alpha.9-for-vscode + - repo: https://github.com/rbubley/mirrors-prettier + rev: v3.8.0 hooks: - id: prettier + + - repo: https://github.com/crate-ci/typos + rev: v1.42.0 + hooks: + - id: typos diff --git a/.typos.toml b/.typos.toml new file mode 100644 index 0000000..1fd9448 --- /dev/null +++ b/.typos.toml @@ -0,0 +1,10 @@ +[files] +extend-exclude = ["CHANGELOG.md"] + +[default] +extend-ignore-words-re = [ + "^[A-Za-z]{1,3}$", # Ignore short words +] +extend-ignore-identifiers-re = [ + "^[A-Za-z]{1,3}$", # Ignore short identifiers +] diff --git a/skins/onedark.ini b/skins/onedark.ini index 813baca..e6b4934 100644 --- a/skins/onedark.ini +++ b/skins/onedark.ini @@ -141,7 +141,7 @@ history-show-list-char = ^ filename-scroll-left-char = « filename-scroll-right-char = » -[widget-scollbar] +[widget-scrollbar] first-vert-char = ↑ last-vert-char = ↓ first-horiz-char = « diff --git a/skins/onedark16M.ini b/skins/onedark16M.ini index eac2b57..5af4a3a 100644 --- a/skins/onedark16M.ini +++ b/skins/onedark16M.ini @@ -163,7 +163,7 @@ history-show-list-char = ^ filename-scroll-left-char = « filename-scroll-right-char = » -[widget-scollbar] +[widget-scrollbar] first-vert-char = ↑ last-vert-char = ↓ first-horiz-char = «