kakoune/rc/filetype
Gregory Chamberlain a49b1c4996 Adjust markdown code fences filetype regex
This highlighter (line 50 of markdown.kak) looks for the filetype
specified by the author at the top of the code fence, e.g.

``` python
print("hello")
```

and highlights the code within using Kakoune's relevant highlighter --
in this case Python.

Some flavours of markdown use curly braces and other characters in the
first line such as the following:

``` {=python}
print("hello")
```

Previously Kakoune recognised `{=python}` but not `{.python}`.  The latter
is Pandoc's flavour of markdown.  This patch adjusts the regex patterns
to recognise the dot notation as well.
2021-01-08 10:24:04 +00:00
..
arch-linux.kak Add categories in rc/ 2019-03-21 01:06:16 +01:00
asciidoc.kak asciidoc: Add a highlighters for links 2020-07-30 16:56:56 -04:00
awk.kak Update deindentation rule for awk.kak, cabal.kak, go.kak 2020-07-29 15:06:27 -06:00
c-family.kak c-family: allow specifying absolute alt directory paths 2020-11-05 16:56:41 +01:00
cabal.kak Update deindentation rule for awk.kak, cabal.kak, go.kak 2020-07-29 15:06:27 -06: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 Replace my implementation of crystal-insert-on-new-line with already-existing ruby one 2020-08-02 11:39:59 -06:00
css.kak Update deindenting in css.kak 2020-07-29 09:35:36 -06:00
cucumber.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
cue.kak Update deindentation in cue.kak 2020-07-29 17:02:54 -06:00
d.kak Clean up my previous updates 2020-07-29 09:40:58 -06:00
dart.kak Update deindenting in dart.kak and javascript.kak 2020-07-29 09:34:29 -06:00
dhall.kak Avoid extra indent when line does not end on keyword 2020-08-23 19:15:52 +02:00
diff.kak diff.kak: add diff file and diff hunk text objects 2020-04-03 15:48:54 -04:00
dockerfile.kak *sh.kak: do not highlight expansions if their $ is escaped 2020-09-19 08:06:46 +02:00
elixir.kak Avoid extra indent when line does not end on keyword 2020-08-23 19:15:52 +02:00
elm.kak Avoid extra indent when line does not end on keyword 2020-08-23 19:15:52 +02: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 rc fish.kak: split fish-insert hook out from fish-indent 2020-10-19 19:01:17 +02:00
fsharp.kak Avoid extra indent when line does not end on keyword 2020-08-23 19:15:52 +02:00
gas.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
git.kak rc git: indented # is not a comment in commit message 2020-10-21 22:08:35 +02:00
gluon.kak Avoid extra indent when line does not end on keyword 2020-08-23 19:15:52 +02:00
go.kak Improve '}' auto inserting for go language. 2020-09-20 12:25:26 +02:00
graphql.kak rc: add graphql filetype 2020-11-11 11:54:25 -05:00
haml.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
haskell.kak fix comment highlighting 2020-10-28 09:36:28 +01: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 Update deindentation in java.kak 2020-07-29 17:02:50 -06:00
javascript.kak Check for division before we check for regexes 2020-11-04 10:01:56 -05:00
jinja.kak rc jinja: Highlight Jinja statements/expressions 2020-01-08 12:22:34 +01:00
json.kak Clean up my previous updates 2020-07-29 09:40:58 -06:00
julia.kak julia.kak: added keywords "mutable" and "struct" 2020-01-08 15:21:08 -03:00
just.kak just: highlight function expressions 2020-09-22 00:24:29 -05:00
kakrc.kak rc kakrc: Add the rename-buffer keyword 2020-11-17 15:58:58 +03:00
kickstart.kak Update remaining files to new provide/require format 2019-04-11 15:54:58 -07:00
latex.kak Improve latex support. 2020-09-05 16:14:22 +02: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 lua.kak: Correct -trim-indent hook and fix indent 2020-10-03 16:38:43 -03:00
mail.kak Highlight mail References headers 2020-04-21 13:21:35 +10:00
makefile.kak *sh.kak: do not highlight expansions if their $ is escaped 2020-09-19 08:06:46 +02:00
markdown.kak Adjust markdown code fences filetype regex 2021-01-08 10:24:04 +00:00
mercurial.kak Update remaining files to new provide/require format 2019-04-11 15:54:58 -07:00
mercury.kak Mercury-lang filetype support 2020-08-31 16:36:43 +02: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 Avoid extra indent when line does not end on keyword 2020-08-23 19:15:52 +02:00
ninja.kak refactor(ninjafile): simplify ninja.kak and fix few things 2020-11-08 14:13:45 +01:00
nix.kak rc nix: dash in extra_word_chars 2020-10-19 11:53:08 -04:00
ocaml.kak ocaml quoted-strings 2020-07-20 13:07:45 +03:00
pascal.kak Add Pascal/Delphi language support 2020-12-29 12:20:33 +01:00
perl.kak rc perl.kak: highlight substitution with empty replacement, like s{foo}{} 2020-11-08 06:16:27 +01:00
php.kak Clean up my previous updates 2020-07-29 09:40:58 -06:00
pony.kak Avoid extra indent when line does not end on keyword 2020-08-23 19:15:52 +02:00
protobuf.kak Fix deindentation in protobuf.kak 2020-07-29 20:41:18 -06:00
pug.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
purescript.kak Create purescript filetype 2020-09-04 11:33:08 +09:00
python.kak Python: change face for documentation to documentation. 2020-11-23 07:31:56 +01:00
r.kak Modularize r file support 2019-11-26 21:32:52 +11:00
ragel.kak Fix already-existing error in ragel.kak 2020-07-29 20:41:21 -06:00
restructuredtext.kak colors: Retire the bold and italic faces 2020-05-15 11:56:38 +03:00
ruby.kak Avoid recognizing remainder division as a percent string 2020-11-18 16:26:33 -07:00
rust.kak Rust dedent after .await 2020-12-17 20:07:44 +08:00
sass.kak Fix deindentation in sass.kak 2020-07-29 21:22:38 -06:00
scala.kak Fix deindentation in scala.kak 2020-07-29 21:25:55 -06: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: Highlight special parameters, e.g. $@, in double quotes 2020-11-14 13:53:52 +01:00
sml.kak Add highlighters for Standard ML 2020-06-23 19:22:35 +01:00
sql.kak Fix function highlighting by adding lazy instead of greedy regexp quantifier 2020-10-14 14:54:43 -06:00
svelte.kak Improve svelte highlighter 2020-11-13 00:21:05 +01: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
vhdl.kak VHDL filetype: fix auto inserting when indentation is mixed. 2020-11-03 19:35:05 +01:00
void-linux.kak Add categories in rc/ 2019-03-21 01:06:16 +01:00
yaml.kak Yaml indent after - 2020-10-02 14:24:04 +08:00
zig.kak zig: highlight escapes in strings, update to 0.7.0 2020-11-23 19:03:53 +01:00