aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2019-12-29 14:36:13 +0900
committerGitHub <noreply@github.com>2019-12-29 14:36:13 +0900
commit320b2109b2fcd71663c3e997c034b10c057ef5b9 (patch)
tree723b8239e9bb83c4909daa6f03138bf812835ccc
parent38c4e67140ee3e37c8c06765e111d00e2d1211dd (diff)
parent598ce640f24f601c8d4e6b8b287f5e5212978370 (diff)
downloadvim-lsp-settings-320b2109b2fcd71663c3e997c034b10c057ef5b9.tar.gz
vim-lsp-settings-320b2109b2fcd71663c3e997c034b10c057ef5b9.tar.bz2
vim-lsp-settings-320b2109b2fcd71663c3e997c034b10c057ef5b9.zip
Merge pull request #43 from tsuyoshicho/fix/edit-env
fix: sh and cmd editing environments set-up.
-rw-r--r--.editorconfig14
-rw-r--r--.gitattributes12
2 files changed, 26 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..06f8939
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,14 @@
+root = true
+
+# All
+[*]
+charset = utf-8
+
+# Extension
+[*.sh]
+end_of_line = lf
+
+[*.cmd]
+end_of_line = crlf
+
+# EOF
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..4008ef7
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,12 @@
+# -*- coding: utf-8 -*-
+# vim:fenc=utf-8 ff=unix
+
+# git system files
+.gitattributes eol=lf
+.gitignore eol=lf
+.editorconfig eol=lf
+
+*.sh text eol=lf
+*.cmd -text
+
+# EOF