summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriilyak <iilyak@users.noreply.github.com>2022-07-29 03:42:22 -0700
committerGitHub <noreply@github.com>2022-07-29 03:42:22 -0700
commitcfed4bb076401a224bee5c1f003ceceedecff0f0 (patch)
treef8b4900f78bb8a346ba9c6f1f2c2f97aa99607e0
parent1f1c56d5ddbb3e3d262cb85067f2a5efa2c38a89 (diff)
parent90f20c8493ef328adf1a13c8c49f6355dc09aee4 (diff)
downloadcouchdb-cfed4bb076401a224bee5c1f003ceceedecff0f0.tar.gz
Merge pull request #4133 from noahshaw11/add-editors-magic-lines
Add editors magic lines
-rw-r--r--rebar.config.script3
-rw-r--r--src/chttpd/rebar.config2
-rw-r--r--src/couch/rebar.config.script2
-rw-r--r--src/couch_dist/rebar.config2
-rw-r--r--src/couch_epi/rebar.config2
-rw-r--r--src/couch_event/rebar.config2
-rw-r--r--src/couch_index/rebar.config2
-rw-r--r--src/couch_log/rebar.config2
-rw-r--r--src/couch_mrview/rebar.config2
-rw-r--r--src/couch_tests/rebar.config2
-rw-r--r--src/custodian/rebar.config.script2
-rw-r--r--src/fabric/rebar.config2
-rw-r--r--src/jwtf/rebar.config2
-rw-r--r--src/ken/rebar.config.script2
-rw-r--r--src/mango/rebar.config.script2
-rw-r--r--src/mem3/rebar.config2
-rw-r--r--src/mem3/rebar.config.script2
-rw-r--r--src/rexi/rebar.config2
-rw-r--r--src/smoosh/rebar.config2
-rw-r--r--src/weatherreport/rebar.config2
20 files changed, 40 insertions, 1 deletions
diff --git a/rebar.config.script b/rebar.config.script
index 1aa16305a..12b6bc861 100644
--- a/rebar.config.script
+++ b/rebar.config.script
@@ -1,4 +1,5 @@
-%% -*- erlang -*-
+% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors
+
% Licensed under the Apache License, Version 2.0 (the "License"); you may not
% use this file except in compliance with the License. You may obtain a copy of
% the License at
diff --git a/src/chttpd/rebar.config b/src/chttpd/rebar.config
index e0d18443b..791b035ea 100644
--- a/src/chttpd/rebar.config
+++ b/src/chttpd/rebar.config
@@ -1,2 +1,4 @@
+% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors
+
{cover_enabled, true}.
{cover_print_enabled, true}.
diff --git a/src/couch/rebar.config.script b/src/couch/rebar.config.script
index ba907b0a2..8d6d7d559 100644
--- a/src/couch/rebar.config.script
+++ b/src/couch/rebar.config.script
@@ -1,3 +1,5 @@
+%% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors
+
%% Licensed under the Apache License, Version 2.0 (the "License"); you may not
%% use this file except in compliance with the License. You may obtain a copy of
%% the License at
diff --git a/src/couch_dist/rebar.config b/src/couch_dist/rebar.config
index e0d18443b..791b035ea 100644
--- a/src/couch_dist/rebar.config
+++ b/src/couch_dist/rebar.config
@@ -1,2 +1,4 @@
+% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors
+
{cover_enabled, true}.
{cover_print_enabled, true}.
diff --git a/src/couch_epi/rebar.config b/src/couch_epi/rebar.config
index 3c7f8af73..070a5ec9b 100644
--- a/src/couch_epi/rebar.config
+++ b/src/couch_epi/rebar.config
@@ -1,3 +1,5 @@
+% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors
+
{cover_enabled, true}.
{cover_print_enabled, true}.
diff --git a/src/couch_event/rebar.config b/src/couch_event/rebar.config
index f68b4b5ed..5fc8dff7f 100644
--- a/src/couch_event/rebar.config
+++ b/src/couch_event/rebar.config
@@ -1 +1,3 @@
+% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors
+
{erl_first_files, ["src/couch_event_listener.erl"]}.
diff --git a/src/couch_index/rebar.config b/src/couch_index/rebar.config
index e0d18443b..791b035ea 100644
--- a/src/couch_index/rebar.config
+++ b/src/couch_index/rebar.config
@@ -1,2 +1,4 @@
+% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors
+
{cover_enabled, true}.
{cover_print_enabled, true}.
diff --git a/src/couch_log/rebar.config b/src/couch_log/rebar.config
index e0d18443b..791b035ea 100644
--- a/src/couch_log/rebar.config
+++ b/src/couch_log/rebar.config
@@ -1,2 +1,4 @@
+% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors
+
{cover_enabled, true}.
{cover_print_enabled, true}.
diff --git a/src/couch_mrview/rebar.config b/src/couch_mrview/rebar.config
index e0d18443b..791b035ea 100644
--- a/src/couch_mrview/rebar.config
+++ b/src/couch_mrview/rebar.config
@@ -1,2 +1,4 @@
+% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors
+
{cover_enabled, true}.
{cover_print_enabled, true}.
diff --git a/src/couch_tests/rebar.config b/src/couch_tests/rebar.config
index a08b22f76..8fd88bc6d 100644
--- a/src/couch_tests/rebar.config
+++ b/src/couch_tests/rebar.config
@@ -1,3 +1,5 @@
+% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors
+
% Licensed under the Apache License, Version 2.0 (the "License"); you may not
% use this file except in compliance with the License. You may obtain a copy of
% the License at
diff --git a/src/custodian/rebar.config.script b/src/custodian/rebar.config.script
index f32db974c..d3a07d4ae 100644
--- a/src/custodian/rebar.config.script
+++ b/src/custodian/rebar.config.script
@@ -1,3 +1,5 @@
+% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors
+
% Licensed under the Apache License, Version 2.0 (the "License"); you may not
% use this file except in compliance with the License. You may obtain a copy of
% the License at
diff --git a/src/fabric/rebar.config b/src/fabric/rebar.config
index 362c8785e..f91d4a51b 100644
--- a/src/fabric/rebar.config
+++ b/src/fabric/rebar.config
@@ -1,3 +1,5 @@
+% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors
+
% Licensed under the Apache License, Version 2.0 (the "License"); you may not
% use this file except in compliance with the License. You may obtain a copy of
% the License at
diff --git a/src/jwtf/rebar.config b/src/jwtf/rebar.config
index e0d18443b..791b035ea 100644
--- a/src/jwtf/rebar.config
+++ b/src/jwtf/rebar.config
@@ -1,2 +1,4 @@
+% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors
+
{cover_enabled, true}.
{cover_print_enabled, true}.
diff --git a/src/ken/rebar.config.script b/src/ken/rebar.config.script
index 3344206e5..d219b606a 100644
--- a/src/ken/rebar.config.script
+++ b/src/ken/rebar.config.script
@@ -1,3 +1,5 @@
+% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors
+
% Licensed under the Apache License, Version 2.0 (the "License"); you may not
% use this file except in compliance with the License. You may obtain a copy of
% the License at
diff --git a/src/mango/rebar.config.script b/src/mango/rebar.config.script
index be92bf114..c3083b3ee 100644
--- a/src/mango/rebar.config.script
+++ b/src/mango/rebar.config.script
@@ -1,3 +1,5 @@
+% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors
+
% Licensed under the Apache License, Version 2.0 (the "License"); you may not
% use this file except in compliance with the License. You may obtain a copy of
% the License at
diff --git a/src/mem3/rebar.config b/src/mem3/rebar.config
index 362c8785e..f91d4a51b 100644
--- a/src/mem3/rebar.config
+++ b/src/mem3/rebar.config
@@ -1,3 +1,5 @@
+% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors
+
% Licensed under the Apache License, Version 2.0 (the "License"); you may not
% use this file except in compliance with the License. You may obtain a copy of
% the License at
diff --git a/src/mem3/rebar.config.script b/src/mem3/rebar.config.script
index 8f2deb4ae..04c118f79 100644
--- a/src/mem3/rebar.config.script
+++ b/src/mem3/rebar.config.script
@@ -1,3 +1,5 @@
+%% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors
+
%% Licensed under the Apache License, Version 2.0 (the "License"); you may not
%% use this file except in compliance with the License. You may obtain a copy of
%% the License at
diff --git a/src/rexi/rebar.config b/src/rexi/rebar.config
index e0d18443b..791b035ea 100644
--- a/src/rexi/rebar.config
+++ b/src/rexi/rebar.config
@@ -1,2 +1,4 @@
+% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors
+
{cover_enabled, true}.
{cover_print_enabled, true}.
diff --git a/src/smoosh/rebar.config b/src/smoosh/rebar.config
index e0d18443b..791b035ea 100644
--- a/src/smoosh/rebar.config
+++ b/src/smoosh/rebar.config
@@ -1,2 +1,4 @@
+% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors
+
{cover_enabled, true}.
{cover_print_enabled, true}.
diff --git a/src/weatherreport/rebar.config b/src/weatherreport/rebar.config
index 983755adf..2448345af 100644
--- a/src/weatherreport/rebar.config
+++ b/src/weatherreport/rebar.config
@@ -1,3 +1,5 @@
+%% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors
+
%% -------------------------------------------------------------------
%%
%% derived from riaknostic - automated diagnostic tools for Riak