kakoune/rc/filetype
Ivan Tham 974684aa68 Improve rust comment closing handling
/// foo
    ///%( )

    /// foo
    /// %( )

With `c<ret>bar<esc>`,

    /// foo
    bar

    /// foo
    ///
    /// bar

Based on c-family block comment handling, this patch also add rust
block comment indentation.

This affects `o` behavior on empty comment but it allows a way more
efficient way to clear comments.
2020-07-09 23:02:50 +08:00
..
arch-linux.kak Add categories in rc/ 2019-03-21 01:06:16 +01:00
asciidoc.kak colors: Retire the bold and italic faces 2020-05-15 11:56:38 +03:00
awk.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
c-family.kak Merge remote-tracking branch 'lenormf/documentation-face' 2020-02-16 10:46:35 +11:00
cabal.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
clojure.kak rc: Make docstrings more readable 2020-02-03 20:53:28 +01:00
cmake.kak Update remaining files to new provide/require format 2019-04-11 15:54:58 -07:00
coffee.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
coq.kak fix indent behavior for lines without indent 2020-05-03 17:48:44 +08:00
crystal.kak Crystal: Slight style change 2020-01-21 11:31:43 +01:00
css.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
cucumber.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
cue.kak Add filetype support for CUE language 2020-04-06 12:03:54 -07:00
d.kak rc: Highlight embedded documentation 2020-01-29 20:03:21 +01:00
dart.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
dhall.kak Add support for quoted labels, empty record values and their type 2019-10-30 10:22:31 +11:00
diff.kak diff.kak: add diff file and diff hunk text objects 2020-04-03 15:48:54 -04:00
dockerfile.kak Fixed many of the filetype support modules to not use BufSetOption to load 2019-04-09 20:54:19 -07:00
elixir.kak Elixir: add support for Eex comments and quotation 2020-05-03 13:54:51 +02:00
elm.kak Don't set formatcmd in the syntax file 2019-11-11 08:14:18 -05:00
eruby.kak Add support for eRuby 2020-06-03 15:12:51 +02:00
etc.kak Fixed several more support files. 2019-04-10 16:48:46 -07:00
exherbo.kak Update remaining files to new provide/require format 2019-04-11 15:54:58 -07:00
fish.kak fish.kak: do not treat escaped quotes as region start 2020-06-25 00:28:07 +02:00
fsharp.kak Fix literal '"' in fsharp highlighting. 2019-11-11 06:25:37 +01:00
gas.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
git.kak rc git: Highlight commands differently from pick 2019-12-08 13:49:53 +01:00
gluon.kak Copy doc comment (///) prefix to new lines 2019-11-09 09:41:11 -05:00
go.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
haml.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
haskell.kak Fix Haskell multi-line quasiquoter highlighting 2019-12-12 16:00:50 -08:00
hbs.kak Add html module to hbs filetype to correctly highlight hbs files 2020-01-16 10:20:35 +01:00
html.kak [html] Fix indentation when entering a newline while in the middle of a tag 2019-11-03 12:25:02 +01:00
i3.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
ini.kak rc ini: More leniently highlight section names 2020-05-14 10:25:38 +03:00
java.kak rc: Highlight embedded documentation 2020-01-29 20:03:21 +01:00
javascript.kak Allow empty elements in jsx 2020-01-11 06:40:21 -05:00
jinja.kak rc jinja: Highlight Jinja statements/expressions 2020-01-08 12:22:34 +01:00
json.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
julia.kak julia.kak: added keywords "mutable" and "struct" 2020-01-08 15:21:08 -03:00
just.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
kakrc.kak Remove duplicated scopes highlight in kakrc.kak 2020-02-06 17:33:16 +01:00
kickstart.kak Update remaining files to new provide/require format 2019-04-11 15:54:58 -07:00
latex.kak LaTeX highlighter improvements 2020-05-29 17:46:06 -04:00
ledger.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
lisp.kak {clojure,lisp}.kak: handle doubled brackets 2020-01-03 15:14:56 -05:00
lua.kak rc lua: Improve indent hooks behavior, add '...' highlighting 2020-03-20 23:12:46 +07:00
mail.kak Highlight mail References headers 2020-04-21 13:21:35 +10:00
makefile.kak filetype: add support for .make extension 2019-10-25 14:14:30 +02:00
markdown.kak Merge remote-tracking branch 'lenormf/remove-bold-italic-faces' 2020-05-30 09:21:08 +10:00
mercurial.kak Update remaining files to new provide/require format 2019-04-11 15:54:58 -07:00
meson.kak Highlight meson_options.txt as well 2020-04-15 02:49:21 +02:00
mlb.kak Add highlighters for Standard ML 2020-06-23 19:22:35 +01:00
moon.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
nim.kak rc: Highlight embedded documentation 2020-01-29 20:03:21 +01:00
nix.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
ocaml.kak improve syntax highlighting 2020-02-14 07:33:47 +08:00
perl.kak Fix perl regex for operator // 2020-05-05 16:22:30 +00:00
php.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
pony.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
protobuf.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
pug.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
python.kak Fix python attributes highlight. 2020-05-30 16:47:32 +02:00
r.kak Modularize r file support 2019-11-26 21:32:52 +11:00
ragel.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
restructuredtext.kak colors: Retire the bold and italic faces 2020-05-15 11:56:38 +03:00
ruby.kak rc ruby: Don't recognize "keyword"-like identifiers 2020-03-25 21:18:21 +09:00
rust.kak Improve rust comment closing handling 2020-07-09 23:02:50 +08:00
sass.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
scala.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
scheme.kak scheme.kak: fixes for r7rs word characters 2020-06-17 15:51:47 -04:00
scss.kak Replace ModeChange hooks by ModePush and ModePop 2019-10-16 20:45:53 +11:00
sh.kak sh.kak: allow space before heredoc string 2020-05-21 08:34:58 +02:00
sml.kak Add highlighters for Standard ML 2020-06-23 19:22:35 +01:00
sql.kak Fixed many of the filetype support modules to not use BufSetOption to load 2019-04-09 20:54:19 -07:00
swift.kak rc swift: Remove highlighting of non-standard comments 2019-10-22 11:12:10 +02:00
systemd.kak Add categories in rc/ 2019-03-21 01:06:16 +01:00
taskpaper.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
terraform.kak Add filetype for terraform files with syntax hl 2019-11-18 20:41:42 +00:00
toml.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
troff.kak Fixed many of the filetype support modules to not use BufSetOption to load 2019-04-09 20:54:19 -07:00
tupfile.kak Fixed many of the filetype support modules to not use BufSetOption to load 2019-04-09 20:54:19 -07:00
void-linux.kak Add categories in rc/ 2019-03-21 01:06:16 +01:00
yaml.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
zig.kak Add underscore highlighting as visual separator inside Zig integers 2020-05-22 16:47:05 +03:00