kakoune/rc/filetype
cipharius 78a0b5e4c7 Improves Lua auto indent and end insertion
Current solution makes it difficult to use common Lua practices of having one-liner if statements and using anonymous functions.
New solution prevents auto-indentation and end insertion, if the previous line contains an "end" keyword.
It does not attempt to match each structure with corresponding end, since using multiple end keywords in single line is a very rare occurance in Lua.
2021-03-23 10:36:05 +02: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 Fix usages of ModeChange hook 2021-02-28 21:07:21 +01: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
fennel.kak add fennel filetype 2021-03-01 19:51:36 +03: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 Fix usages of ModeChange hook 2021-02-28 21:07:21 +01:00
go.kak Improve '}' auto inserting for go language. 2020-09-20 12:25:26 +02:00
graphql.kak chore(rc): support nested field strings in graphql 2021-01-14 15:46:50 -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 rc java: highlight byte/short/long primitive types 2021-02-10 21:09:30 +01:00
javascript.kak js: Highlight special variables at start of file 2021-03-17 23:59:05 -03: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 rc julia: add multiline comments 2021-02-21 19:20:03 +01: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 Improves Lua auto indent and end insertion 2021-03-23 10:36:05 +02: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 Merge remote-tracking branch 'Ordoviz/markdown' 2021-01-28 21:02:47 +11: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 meson: improve highlighting, add static words 2021-01-13 15:44:38 +01: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 Fix usages of ModeChange hook 2021-02-28 21:07:21 +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 rc restructuredtext: don't highlight first character of next line as code 2021-02-10 21:09:16 +01:00
ruby.kak Avoid recognizing remainder division as a percent string 2020-11-18 16:26:33 -07:00
rust.kak Support rust visibility for enum and others 2021-03-07 14:22:43 +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: highlight multiline strings 2021-03-07 21:26:31 -05: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 Add comment highlighter for troff files. 2021-02-25 20:18:10 +01: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 rc yaml: "#" inside a word is not a comment 2021-02-10 21:09:25 +01:00
zig.kak zig.kak: fix highlighting of empty doc comment 2021-01-18 00:44:32 +01:00