[Ttssh2-commit] [8803] 一般的な editorconfig に置き換え

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2020年 6月 20日 (土) 01:13:18 JST


Revision: 8803
          https://osdn.net/projects/ttssh2/scm/svn/commits/8803
Author:   zmatsuo
Date:     2020-06-20 01:13:18 +0900 (Sat, 20 Jun 2020)
Log Message:
-----------
一般的な editorconfig に置き換え

Added Paths:
-----------
    trunk/.editorconfig

Removed Paths:
-------------
    trunk/.dir-locals.el

-------------- next part --------------
Deleted: trunk/.dir-locals.el
===================================================================
--- trunk/.dir-locals.el	2020-06-19 15:38:56 UTC (rev 8802)
+++ trunk/.dir-locals.el	2020-06-19 16:13:18 UTC (rev 8803)
@@ -1,12 +0,0 @@
-((nil (indent-tabs-mode . t))
- (cmake-mode . ((indent-tabs-mode . nil)
-				(buffer-file-coding-system . utf-8-with-signature-dos)))
- (markdown-mode . ((indent-tabs-mode . nil)
-				   (buffer-file-coding-system . utf-8-with-signature-dos)))
- (c-mode . ((indent-tabs-mode . t)
-			(buffer-file-coding-system . cp932-dos)))
- (c++-mode . ((indent-tabs-mode . t)
-			(buffer-file-coding-system . cp932-dos)))
- (html-mode . ((indent-tabs-mode . nil)
-			   (buffer-file-coding-system . cp932-dos)))
- )

Added: trunk/.editorconfig
===================================================================
--- trunk/.editorconfig	                        (rev 0)
+++ trunk/.editorconfig	2020-06-19 16:13:18 UTC (rev 8803)
@@ -0,0 +1,26 @@
+root = true
+
+[*.{cpp,c,h}]
+indent_style = tab
+indent_size = 4
+end_of_line = crlf
+charset = cp932
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.html]
+end_of_line = crlf
+charset = cp932
+indent_style = space
+
+[*.md]
+end_of_line = crlf
+charset = utf-8-bom
+
+[CMakeLists.txt]
+end_of_line = crlf
+charset = utf-8-bom
+
+[*.cmake]
+end_of_line = crlf
+charset = utf-8-bom


Ttssh2-commit メーリングリストの案内
Back to archive index