1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-24 07:53:41 +03:00
kakoune/rc
Hugo Musso Gualandi f440a1c109 Lua: insert comment prefix *after* the indent
This fixes a bug in how the Lua scripts handle new comment lines.
Currently if we have a comment that is indented, when we add a new line
it inserts the `--` prefix before the automatic indentation.

```
  --ABC
--  XYZ
```

After the fix, it correctly inserts the comment prefix after the
indentation:

```
  --ABC
  --XYZ
```

The solution I used is inspired by the ruby.kak script.
2021-07-13 13:28:30 -03:00
..
detection Merge remote-tracking branch 'Eluminae/master' 2021-04-25 20:23:10 +10:00
filetype Lua: insert comment prefix *after* the indent 2021-07-13 13:28:30 -03:00
tools Fix #3957 2021-07-09 22:18:25 -03:00
windowing Spawn a shell when using xfce4-terminal 2021-07-08 01:44:17 +00:00