From 6d4f926e689d9386614aaeda1dc626294bd1016c Mon Sep 17 00:00:00 2001 From: Victor Wheeler Date: Mon, 25 Nov 2024 09:24:30 -0700 Subject: [PATCH] fix(.editorconfig): limit UTF-8 w/o BOM only to LVGL... ...and FREETYPE sub-modules. --- .editorconfig | 9 ++++----- LvglPlatform/.editorconfig | 17 +++++++++++++++++ 2 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 LvglPlatform/.editorconfig diff --git a/.editorconfig b/.editorconfig index 1f762a9..1117272 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,12 +1,12 @@ -## +## ## PROJECT: Mouri Internal Library Essentials ## FILE: .editorconfig ## PURPOSE: The root .editorconfig file -## +## ## LICENSE: The MIT License -## +## ## MAINTAINER: MouriNaruto (Kenji.Mouri@outlook.com) -## +## root = true @@ -23,7 +23,6 @@ indent_size = 4 insert_final_newline = true trim_trailing_whitespace = true vc_generate_documentation_comments = doxygen_slash_star -charset = utf-8 [*.{cs,csx,vb,vbx,asmx}] indent_style = space diff --git a/LvglPlatform/.editorconfig b/LvglPlatform/.editorconfig new file mode 100644 index 0000000..cc70ddc --- /dev/null +++ b/LvglPlatform/.editorconfig @@ -0,0 +1,17 @@ +## +## PROJECT: Mouri Internal Library Essentials +## FILE: .editorconfig +## PURPOSE: The .editorconfig file for only LVGL and FREETYPE sub-modules. + It overrides some editor settings from the root .editorconfig file. +## +## LICENSE: The MIT License +## +## MAINTAINER: MouriNaruto (Kenji.Mouri@outlook.com) +## + +[*] +charset = utf-8-bom + +[*.{c,c++,cc,cpp,cxx,h,h++,hh,hpp,hxx,ixx,cppm,ipp,odl,idl,inl,ipp,tlh,tli}] +charset = utf-8 +