Commit Graph

12 Commits

Author SHA1 Message Date
Frank LENORMAND
8f432a2eea Introduce formatter.kak to handle formatting.
The modified files used to handle formatting code with the same code,
and a different command, the process is now centralized into a single
file. Language support files should set the `formatcmd` string to
whatever formatter is the most popular in their respective community,
eventually with default options.
2015-10-22 16:41:19 +03:00
Frank LENORMAND
8d87447edd Fix the calls to unalias, add new characters to Go's commenting class, use a default color for D's verbatim strings 2015-10-21 08:03:33 +03:00
Frank LENORMAND
8bbd292557 Fix the format-code alias, remove an unused function 2015-09-07 16:34:41 +03:00
Maxime Coste
3ed0675be2 Merge remote-tracking branch 'lenormf/rc/golang.kak' 2015-09-07 13:33:19 +01:00
Maxime Coste
3d7be57de7 Merge remote-tracking branch 'lenormf/rc/golang.kak' 2015-09-06 20:09:59 +01:00
Frank LENORMAND
e5da5aca23 Take the formatting function out of the hook 2015-09-06 21:07:55 +03:00
Frank LENORMAND
0d348f880c Take the formatting function out of the hook 2015-09-06 18:14:17 +03:00
Frank LENORMAND
1b649ae294 Fix the number literals regex, empty the mimetype to have proper highlighting syntax 2015-09-04 14:51:36 +03:00
Frank LENORMAND
142c34d6de Added documentation strings to the commands that didn't have one already 2015-08-03 22:01:50 +03:00
Frank LENORMAND
6ee2acd674 Add an option to auto-format Go buffers on write 2015-07-22 12:02:10 +03:00
Maxime Coste
5ed9fd2763 Remove golang hooks on filetype change to non-go 2015-07-21 23:41:07 +01:00
Frank LENORMAND
715a19f7c4 Add a Go script, containing highlighters and auto-indent functions 2015-07-21 11:22:57 +03:00