From 156dec2737db4759f41a30650cfe938de3c65d5c Mon Sep 17 00:00:00 2001 From: Kevin John Mulligan Date: Tue, 7 Sep 2021 12:00:44 +0800 Subject: [PATCH] Add context to .ino configuration This allows a user to search the README or the entire repository for "Arduino" to find the necessary configuration. --- README.md | 2 +- doc/README-ja.md | 2 +- doc/README-ko.md | 2 +- doc/README-ru.md | 2 +- src/bin/bat/config.rs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bbc99b9a..ced79d6c 100644 --- a/README.md +++ b/README.md @@ -598,7 +598,7 @@ Example configuration file: # Use italic text on the terminal (not supported on all terminals) --italic-text=always -# Use C++ syntax for .ino files +# Use C++ syntax for Arduino .ino files --map-syntax "*.ino:C++" ``` diff --git a/doc/README-ja.md b/doc/README-ja.md index 2636ec27..f557b794 100644 --- a/doc/README-ja.md +++ b/doc/README-ja.md @@ -522,7 +522,7 @@ export BAT_CONFIG_PATH="/path/to/bat.conf" # Use italic text on the terminal (not supported on all terminals) --italic-text=always -# Use C++ syntax for .ino files +# Use C++ syntax for Arduino .ino files --map-syntax "*.ino:C++" # Use ".gitignore"-style highlighting for ".ignore" files diff --git a/doc/README-ko.md b/doc/README-ko.md index aa248ad1..695623c0 100644 --- a/doc/README-ko.md +++ b/doc/README-ko.md @@ -663,7 +663,7 @@ bat --generate-config-file # 터미널에서 이탤릭체 쓰기 (일부 터미널에서 미지원) --italic-text=always -# .ino 파일에 C++ 문법 쓰기 +# Arduino .ino 파일에 C++ 문법 쓰기 --map-syntax "*.ino:C++" ``` diff --git a/doc/README-ru.md b/doc/README-ru.md index f78e6e02..bb18309c 100644 --- a/doc/README-ru.md +++ b/doc/README-ru.md @@ -481,7 +481,7 @@ bat --generate-config-file # Использовать курсив (поддерживается не всеми терминалами) --italic-text=always -# Использовать синтаксис C++ для всех .ino файлов +# Использовать синтаксис C++ для всех Arduino .ino файлов --map-syntax "*.ino:C++" # Использовать синтаксик Git Ignore для всех файлов .ignore diff --git a/src/bin/bat/config.rs b/src/bin/bat/config.rs index 93ce8aaa..12fba8bd 100644 --- a/src/bin/bat/config.rs +++ b/src/bin/bat/config.rs @@ -64,7 +64,7 @@ pub fn generate_config_file() -> bat::error::Result<()> { #--pager="less --RAW-CONTROL-CHARS --quit-if-one-screen --mouse" # Syntax mappings: map a certain filename pattern to a language. -# Example 1: use the C++ syntax for .ino files +# Example 1: use the C++ syntax for Arduino .ino files # Example 2: Use ".gitignore"-style highlighting for ".ignore" files #--map-syntax "*.ino:C++" #--map-syntax ".ignore:Git Ignore"