This is an automated email from the ASF dual-hosted git repository.

iilyak pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/main by this push:
     new 90f20c849 Add editors magic lines
     new cfed4bb07 Merge pull request #4133 from 
noahshaw11/add-editors-magic-lines
90f20c849 is described below

commit 90f20c8493ef328adf1a13c8c49f6355dc09aee4
Author: Noah Shaw <[email protected]>
AuthorDate: Mon Jul 25 18:23:11 2022 -0500

    Add editors magic lines
---
 rebar.config.script               | 3 ++-
 src/chttpd/rebar.config           | 2 ++
 src/couch/rebar.config.script     | 2 ++
 src/couch_dist/rebar.config       | 2 ++
 src/couch_epi/rebar.config        | 2 ++
 src/couch_event/rebar.config      | 2 ++
 src/couch_index/rebar.config      | 2 ++
 src/couch_log/rebar.config        | 2 ++
 src/couch_mrview/rebar.config     | 2 ++
 src/couch_tests/rebar.config      | 2 ++
 src/custodian/rebar.config.script | 2 ++
 src/fabric/rebar.config           | 2 ++
 src/jwtf/rebar.config             | 2 ++
 src/ken/rebar.config.script       | 2 ++
 src/mango/rebar.config.script     | 2 ++
 src/mem3/rebar.config             | 2 ++
 src/mem3/rebar.config.script      | 2 ++
 src/rexi/rebar.config             | 2 ++
 src/smoosh/rebar.config           | 2 ++
 src/weatherreport/rebar.config    | 2 ++
 20 files changed, 40 insertions(+), 1 deletion(-)

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

Reply via email to