chiark / gitweb /
Added .editorconfig to control indentation across various files.
authorVladimír Vondruš <mosra@centrum.cz>
Mon, 26 Nov 2018 11:42:59 +0000 (12:42 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Mon, 26 Nov 2018 12:30:15 +0000 (13:30 +0100)
And replacing .kateconfig with that.

12 files changed:
.editorconfig [new file with mode: 0644]
css/m-components.css
css/m-dark.css
css/m-debug.css
css/m-doxygen.css
css/m-grid.css
css/m-layout.css
css/m-light.css
css/m-theme-dark.css
css/m-theme-light.css
doxygen/templates/.kateconfig [deleted file]
pelican-theme/templates/.kateconfig [deleted file]

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..77198de
--- /dev/null
@@ -0,0 +1,7 @@
+[*]
+indent_style = space
+indent_size = 4
+
+[*.{css,html}]
+indent_style = space
+indent_size = 2
index 748fdc9be1c088bb61402b045637ee3ae033bfee..db09773a4f86f046d6ae0fe0af49f3ebf6da9fa0 100644 (file)
@@ -1512,5 +1512,3 @@ li:last-child > div.m-graph:last-child, li:last-child > div.m-graph.m-nopadb,
 li:last-child > div.m-plot:last-child, li:last-child > div.m-plot.m-nopadb {
   margin-bottom: 0;
 }
-
-/* kate: indent-width 2; */
index 420591524798d7e35f99f3fd5983af713ffa0a37..e967aff861055aa8b8253c577ec5129f945e3218 100644 (file)
@@ -28,5 +28,3 @@
 @import url('m-layout.css');
 @import url('pygments-dark.css');
 @import url('pygments-console.css');
-
-/* kate: indent-width 2; */
index 7bd7b832552828d3ad715f73420e3e669b11e17f..f3395cf376c8b55e93c1af40651b7a4b9a531cc2 100644 (file)
 
 /* Grid container should always contain rows */
 .m-container > * {
-    background-color: #ff0000;
+  background-color: #ff0000;
 }
 .m-container > .m-row {
-    background-color: transparent;
+  background-color: transparent;
 }
 /* Grid row should always contain columns or a clearfix */
 .m-row > * {
-    background-color: #ff0000;
+  background-color: #ff0000;
 }
 .m-row > [class*='m-col-'], .m-row > [class*='m-clearfix-'] {
-    background-color: transparent;
+  background-color: transparent;
 }
 
 /* Grid container can't contain another container */
@@ -68,4 +68,4 @@ table.m-scroll, table.m-scroll *,
 
 /* Links shouldn't contain links */
 a a
-    { background-color: #ff0000; }
+  { background-color: #ff0000; }
index b007d3921fd8bc5b5673dc7e0f858465ccb95121..514d38bd9c8b45f6c48cdf3e2775c213b8be65f8 100644 (file)
@@ -304,5 +304,3 @@ a.m-dox-search-icon:focus svg, a.m-dox-search-icon:hover svg, a.m-dox-search-ico
 .m-dox-search input[type="search"]::-webkit-search-results-decoration {
   display: none;
 }
-
-/* kate: indent-width 2; */
index df2c429410d985c5721e3e311157b67702e94de5..67c072e1b1555ed69a0567ccd62c50f50aad6a0e 100644 (file)
@@ -385,5 +385,3 @@ body { margin: 0; }
     float: none;
   }
 }
-
-/* kate: indent-width 2; */
index f728341a2f4f1e0c82d3576d57e7c5abf3b999ba..0d9d570ea7fed994dfb675f126e84bc80c9fd97e 100644 (file)
@@ -776,5 +776,3 @@ article:last-child, article section:last-child { margin-bottom: 0; }
 .m-container-inflatable section:target .m-note.m-dim {
   border-color: var(--dim-color);
 }
-
-/* kate: indent-width 2; */
index 395b27f503d31019a08069be7d7f1e00dfa77a51..ee83720b853a379c5f11c4371c98b1578f4b4b22 100644 (file)
@@ -28,5 +28,3 @@
 @import url('m-layout.css');
 /* TODO: pygments-light.css */
 @import url('pygments-console.css');
-
-/* kate: indent-width 2; */
index ddd67a6d1b8f01e66f7c7a428625adab8b28f188..86ecb51b2ade29681ea43f3dd8cdc1791637e7d3 100644 (file)
   --dim-filled-link-active-color: #747474;
   --dim-button-active-color: #acacac;
 }
-
-/* kate: indent-width 2; */
index 88bc043a9de1f44a23d37b3ba34045bc865d32cd..678689107ab7810a2672bc19ed056cbedc00c821 100644 (file)
   --dim-filled-link-active-color: #949494;
   --dim-button-active-color: #c0c0c0;
 }
-
-/* kate: indent-width 2; */
diff --git a/doxygen/templates/.kateconfig b/doxygen/templates/.kateconfig
deleted file mode 100644 (file)
index b46a48b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-// kate: indent-width 2;
diff --git a/pelican-theme/templates/.kateconfig b/pelican-theme/templates/.kateconfig
deleted file mode 100644 (file)
index b46a48b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-// kate: indent-width 2;