diff options
author | Dan Gudmundsson <[email protected]> | 2018-03-01 14:55:17 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2018-03-01 14:55:17 +0100 |
commit | af960d82c5b8322a40bddc4bc08897b7e2d95463 (patch) | |
tree | 8e8fca2f9c979becb4a4779559ae0174d072dfd5 /lib/tools/test/emacs_SUITE_data/comments | |
parent | 693315d23293cb107c2ad7e50960dee40d7a3ca9 (diff) | |
parent | 13f1dec0220d44e5178feb52cf076dbdebaa23a0 (diff) | |
download | otp-af960d82c5b8322a40bddc4bc08897b7e2d95463.tar.gz otp-af960d82c5b8322a40bddc4bc08897b7e2d95463.tar.bz2 otp-af960d82c5b8322a40bddc4bc08897b7e2d95463.zip |
Merge branch 'dgud/tools/emacs/indent-tests' into maint
* dgud/tools/emacs/indent-tests:
emacs: delimiter first in icr works
emacs: Indent delimiter first in term elements correctly
emacs: Indent tuple (and maps) elements as list elements
Add emacs indention testcase
OTP-14944
Diffstat (limited to 'lib/tools/test/emacs_SUITE_data/comments')
-rw-r--r-- | lib/tools/test/emacs_SUITE_data/comments | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/tools/test/emacs_SUITE_data/comments b/lib/tools/test/emacs_SUITE_data/comments new file mode 100644 index 0000000000..ff974ca295 --- /dev/null +++ b/lib/tools/test/emacs_SUITE_data/comments @@ -0,0 +1,25 @@ +%% -*- Mode: erlang; indent-tabs-mode: nil -*- +%% Copyright Ericsson AB 2017. All Rights Reserved. + +%%% 3 comment chars: always left indented +%%% 2 comment chars: Context indented +%%% 1 comment char: Rigth indented + +%%% left +%% context dependent + % rigth + +func() -> +%%% left + %% context dependent + % right indented + case get(foo) of + undefined -> + %% Testing indention + ok; + %% Catch all + Other -> + Other + end, + ok. + |