kakoune/rc/filetype
Tony Gong 039a10a34c Do not indent Golang comments as code
When indenting on newline in Go files, only remove trailing whitespace
on the previous line and copy indentation of the previous line if in
comment context.

Added regression tests.
2022-06-05 06:05:45 -07:00
..
arch-linux.kak Add categories in rc/ 2019-03-21 01:06:16 +01:00
asciidoc.kak Fix AsciiDoc blocks 2021-10-17 00:19:53 +02: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: highlight 0X style int literals 2022-05-05 13:41:35 +01:00
cabal.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
clojure.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
cmake.kak CMake: fix comment highlight 2022-03-18 09:01:02 +01:00
coffee.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
conf.kak rc conf: treat ini files as conf if they contain a #-comment 2022-02-19 17:31:55 +01:00
coq.kak rc filetype: add trim-indent hooks to all languages that have indent hooks 2022-05-29 08:23:33 +02:00
crystal.kak rc filetype: add some missing ModeChange hooks for trim-indent 2022-05-29 08:23:33 +02:00
css.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
cucumber.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
cue.kak rc: use a separate *-insert hook to auto-insert comments 2021-04-17 20:56:23 +02:00
d.kak rc: use a separate *-insert hook to auto-insert comments 2021-04-17 20:56:23 +02:00
dart.kak dart: add extension to the list of keywords 2021-07-01 16:03:30 +02:00
dhall.kak rc: use a separate *-insert hook to auto-insert comments 2021-04-17 20:56:23 +02:00
diff.kak rc diff: pass diff to diff-jump via stdin instead of env 2022-03-08 20:30:06 +01:00
dockerfile.kak *sh.kak: do not highlight expansions if their $ is escaped 2020-09-19 08:06:46 +02:00
elixir.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
elm.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
elvish.kak rc filetype: add trim-indent hooks to all languages that have indent hooks 2022-05-29 08:23:33 +02:00
erlang.kak Erlang syntax highlighting: Improved support for numeric literals, refs, ports and pids 2021-10-28 12:43:00 +05:30
eruby.kak Add missing eRuby indent group 2021-06-15 14:30:35 +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 fennel filetype now highlights accumulate keyword 2022-02-22 17:13:38 -05:00
fish.kak rc filetype: add some missing ModeChange hooks for trim-indent 2022-05-29 08:23:33 +02:00
fsharp.kak rc filetype: add trim-indent hooks to all languages that have indent hooks 2022-05-29 08:23:33 +02:00
gas.kak rc filetype: add some missing ModeChange hooks for trim-indent 2022-05-29 08:23:33 +02:00
gdscript.kak rc: add gdscript.kak 2021-06-06 14:08:13 +03:00
gentoo-linux.kak Add gentoo linux ebuild filetype detection. 2021-08-06 11:30:06 -07:00
git.kak Merge remote-tracking branch 'adamchristiansen/gitignore-highlighting' 2022-05-10 22:36:44 +10:00
gluon.kak rc: use a separate *-insert hook to auto-insert comments 2021-04-17 20:56:23 +02:00
go.kak Do not indent Golang comments as code 2022-06-05 06:05:45 -07:00
graphql.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
haml.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
haskell.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
hbs.kak rc: use a separate *-insert hook to auto-insert comments 2021-04-17 20:56:23 +02: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 rc i3: highlight sway's focused_tab_title option 2022-04-09 15:29:54 +02:00
ini.kak Add conf filetype, for generic Unix configuration files 2022-02-19 17:31:16 +01:00
janet.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
java.kak rc:filetype:java refactored to shell block add-highligher with additional highlighter for module system, added static word list and the keywords var yield. 2022-01-29 10:25:16 +11:00
javascript.kak Merge branch 'cjs' of http://github.com/clarfonthey/kakoune 2022-05-10 22:37:43 +10:00
jinja.kak rc jinja: Highlight Jinja statements/expressions 2020-01-08 12:22:34 +01:00
json.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
julia.kak rc julia: add multiline comments 2021-02-21 19:20:03 +01:00
just.kak rc filetype: add trim-indent hooks to all languages that have indent hooks 2022-05-29 08:23:33 +02:00
kakrc.kak Add a complete-command command to configure command completion 2022-03-06 10:13:14 +11:00
kickstart.kak Update remaining files to new provide/require format 2019-04-11 15:54:58 -07:00
kotlin.kak Change highlight of character literals 2021-12-11 02:04:10 +01:00
latex.kak rc latex: Add missing scope arg to remove-hooks 2021-09-12 17:31:12 -03:00
ledger.kak src: Create a <semicolon> named key 2019-10-22 11:02:06 +02:00
lisp.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
lua.kak lua.kak: Add some test cases, and also fix a bug 2021-09-26 11:19:58 -03:00
mail.kak rc mail: enable jumping from inline diff to source file 2022-01-25 14:15:01 +01:00
makefile.kak rc filetype: add trim-indent hooks to all languages that have indent hooks 2022-05-29 08:23:33 +02:00
markdown.kak rc filetype: add trim-indent hooks to all languages that have indent hooks 2022-05-29 08:23:33 +02:00
mercurial.kak Update remaining files to new provide/require format 2019-04-11 15:54:58 -07:00
mercury.kak rc: make insertion hooks more consistent 2021-04-17 20:56:23 +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 rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
nim.kak Merge remote-tracking branch 'SolitudeSF/suffix' 2021-04-18 17:07:30 +10:00
ninja.kak rc: use a separate *-insert hook to auto-insert comments 2021-04-17 20:56:23 +02:00
nix.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
ocaml.kak OCaml: Recognize '\"' as a char literal and not the start of a string literal 2022-05-15 11:23:06 +05:30
pascal.kak rc filetype: add trim-indent hooks to all languages that have indent hooks 2022-05-29 08:23:33 +02:00
perl.kak Allowed for references of strings 2021-05-17 14:30:33 -04:00
php.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
pony.kak rc: use a separate *-insert hook to auto-insert comments 2021-04-17 20:56:23 +02:00
protobuf.kak rc filetype: add trim-indent hooks to all languages that have indent hooks 2022-05-29 08:23:33 +02:00
pug.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
purescript.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
python.kak Add new '_', 'case', and 'match' keywords to Python highlighter 2021-10-24 12:56:18 +01:00
r.kak R file highliight change. Merged into single highlighter for math, summary and complex functions. 2021-07-30 11:29:29 -05:00
ragel.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02: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 rc filetype: add some missing ModeChange hooks for trim-indent 2022-05-29 08:23:33 +02:00
rust.kak add TODO comment highlighting 2021-05-02 20:38:42 -04:00
sass.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
scala.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
scheme.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
scss.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
sh.kak sh filetype: do not highlight an empty array as a function 2021-11-18 13:51:53 -03: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: Add open and internal keywords 2021-06-24 14:29:10 +03:00
systemd.kak Add categories in rc/ 2019-03-21 01:06:16 +01:00
taskpaper.kak rc filetype: add trim-indent hooks to all languages that have indent hooks 2022-05-29 08:23:33 +02:00
terraform.kak Add filetype for terraform files with syntax hl 2019-11-18 20:41:42 +00:00
toml.kak rc: use a separate *-insert hook to auto-insert comments 2021-04-17 20:56:23 +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
twig.kak rc filetype: fix double space in trim-indent hooks 2022-05-26 17:08:15 +02:00
vhdl.kak VHDL filetype: Wisely add "end protected body;". 2022-02-09 11:08:45 +01:00
void-linux.kak Add categories in rc/ 2019-03-21 01:06:16 +01:00
yaml.kak rc: use a separate *-insert hook to auto-insert comments 2021-04-17 20:56:23 +02:00
zig.kak rc/filetype/zig: update for zig 0.9.0 release 2021-12-31 05:00:35 +00:00