1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-24 16:15:38 +03:00
kakoune/rc
Johannes Altmanninger 0a9c90fecf rc: use a separate *-insert hook to auto-insert comments
This should cover all filetypes that already auto-insert comments,
except for rust.kak, which is left for a follow-up.

Most of these are straightforward, some explanation for special cases:

rc/filetype/zig.kak rc/filetype/cue.kak

  These indent hooks used their own logic to indent after "{" only if
  no comment was inserted. Replace this logic by checking if a comment
  was inserted. This works because these "*-insert" hooks are run
  before their respective "*-indent" hooks.
 
rc/filetype/php.kak

  This also has some logic to insert "*" after "/*" lines. Basic
  usage seems to work still. In future this should borrow from the
  c-family one, which works a bit better.
2021-04-17 20:56:23 +02:00
..
detection Fix editorconfig incorrectly matching properties with prefixes 2021-02-04 08:40:22 +00:00
filetype rc: use a separate *-insert hook to auto-insert comments 2021-04-17 20:56:23 +02:00
tools use lisp comments for scheme 2021-02-22 01:21:04 +13:00
windowing rc: remove spurious tabs 2021-04-17 20:56:23 +02:00