on master help sign in
Add context to .ino configuration

This allows a user to search the README or the entire repository for "Arduino" to find the necessary configuration.

commit156dec2737db4759f41a30650cfe938de3c65d5c authorKevin John Mulligan <Kevin.John.Mulligan@gmail.com> dateTue 7 Sep 2021, 12:00 (5 years ago) parent27f046e
5 files changed+5−5
README.md+1−1 doc/README-ja.md+1−1 doc/README-ko.md+1−1 doc/README-ru.md+1−1 src/bin/bat/config.rs+1−1
README.md+1−1
@@ -598,7 +598,7 @@ Example configuration file:
598598# Use italic text on the terminal (not supported on all terminals)
599599--italic-text=always
600600
601−# Use C++ syntax for .ino files
601+# Use C++ syntax for Arduino .ino files
602602--map-syntax "*.ino:C++"
603603```
604604
doc/README-ja.md+1−1
@@ -522,7 +522,7 @@ export BAT_CONFIG_PATH="/path/to/bat.conf"
522522# Use italic text on the terminal (not supported on all terminals)
523523--italic-text=always
524524
525−# Use C++ syntax for .ino files
525+# Use C++ syntax for Arduino .ino files
526526--map-syntax "*.ino:C++"
527527
528528# Use ".gitignore"-style highlighting for ".ignore" files
doc/README-ko.md+1−1
@@ -663,7 +663,7 @@ bat --generate-config-file
663663# 터미널에서 이탤릭체 쓰기 (일부 터미널에서 미지원)
664664--italic-text=always
665665
666−# .ino 파일에 C++ 문법 쓰기
666+# Arduino .ino 파일에 C++ 문법 쓰기
667667--map-syntax "*.ino:C++"
668668```
669669
doc/README-ru.md+1−1
@@ -481,7 +481,7 @@ bat --generate-config-file
481481# Использовать курсив (поддерживается не всеми терминалами)
482482--italic-text=always
483483
484−# Использовать синтаксис C++ для всех .ino файлов
484+# Использовать синтаксис C++ для всех Arduino .ino файлов
485485--map-syntax "*.ino:C++"
486486
487487# Использовать синтаксик Git Ignore для всех файлов .ignore
src/bin/bat/config.rs+1−1
@@ -64,7 +64,7 @@ pub fn generate_config_file() -> bat::error::Result<()> {
6464#--pager="less --RAW-CONTROL-CHARS --quit-if-one-screen --mouse"
6565
6666# Syntax mappings: map a certain filename pattern to a language.
67−# Example 1: use the C++ syntax for .ino files
67+# Example 1: use the C++ syntax for Arduino .ino files
6868# Example 2: Use ".gitignore"-style highlighting for ".ignore" files
6969#--map-syntax "*.ino:C++"
7070#--map-syntax ".ignore:Git Ignore"