diff options
| author | Dmitry Matveyev <greenfork.lists@yandex.com> | 2021-06-06 01:05:45 +0600 |
|---|---|---|
| committer | Dmitry Matveyev <greenfork.lists@yandex.com> | 2021-06-06 01:32:56 +0600 |
| commit | 8867e40929d81791d508bb2c767ff185dace3e34 (patch) | |
| tree | b4a5daaec847eb18cad3d2c0ae0ddff09731912e /test/indent/elixir | |
| parent | 0f49e7375e1a414f2a144694c8b1f91354a0804e (diff) | |
Fix elixir copying comment # sign
Elixir uses # for comments, not --.
Implementation is copied from Nim.
Diffstat (limited to 'test/indent/elixir')
| -rw-r--r-- | test/indent/elixir/insert-comment-hash/cmd | 1 | ||||
| -rw-r--r-- | test/indent/elixir/insert-comment-hash/in | 1 | ||||
| -rw-r--r-- | test/indent/elixir/insert-comment-hash/out | 2 | ||||
| -rw-r--r-- | test/indent/elixir/insert-comment-hash/rc | 3 |
4 files changed, 7 insertions, 0 deletions
diff --git a/test/indent/elixir/insert-comment-hash/cmd b/test/indent/elixir/insert-comment-hash/cmd new file mode 100644 index 00000000..e3036a40 --- /dev/null +++ b/test/indent/elixir/insert-comment-hash/cmd @@ -0,0 +1 @@ +c<ret> diff --git a/test/indent/elixir/insert-comment-hash/in b/test/indent/elixir/insert-comment-hash/in new file mode 100644 index 00000000..9072f4db --- /dev/null +++ b/test/indent/elixir/insert-comment-hash/in @@ -0,0 +1 @@ +# Comment %( )comment2 diff --git a/test/indent/elixir/insert-comment-hash/out b/test/indent/elixir/insert-comment-hash/out new file mode 100644 index 00000000..bde83b7a --- /dev/null +++ b/test/indent/elixir/insert-comment-hash/out @@ -0,0 +1,2 @@ +# Comment +# comment2 diff --git a/test/indent/elixir/insert-comment-hash/rc b/test/indent/elixir/insert-comment-hash/rc new file mode 100644 index 00000000..5cc4387c --- /dev/null +++ b/test/indent/elixir/insert-comment-hash/rc @@ -0,0 +1,3 @@ +source "%val{runtime}/colors/default.kak" +source "%val{runtime}/rc/filetype/elixir.kak" +set buffer filetype elixir |
