Frank LENORMAND
0d348f880c
Take the formatting function out of the hook
2015-09-06 18:14:17 +03:00
Maxime Coste
3e9fcf828f
Merge remote-tracking branch 'lenormf/rc/golang.kak-mimetype'
2015-09-04 18:52:08 +01:00
Maxime Coste
3064bd8d90
Merge remote-tracking branch 'lenormf/rc/dlang.kak'
2015-09-04 18:51:49 +01: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
b1598f9542
Work around a parsing error with regular C strings
2015-09-04 14:01:53 +03:00
Frank LENORMAND
2513495fd0
Highlight escape sequences in strings only, empty the mimetype to have proper syntax highlighting
2015-09-04 13:55:25 +03:00
Frank LENORMAND
e43a080f32
Add D support, with syntax highlighting and auto-formatting using dfmt
2015-09-04 11:31:19 +03:00
Maxime Coste
f14f87d2d8
javascript.kak: Fix indent functions
...
"..." strings do expand the %{...} strings in them, so
"eval -opt %{haha haha}" is the same as 'eval -opt haha haha'.
2015-09-02 13:30:34 +01:00
Maxime Coste
60f2067c91
Merge remote-tracking branch 'lenormf/rc/markdown.kak-trailing-whitespaces'
2015-08-25 19:22:30 +01:00
Frank LENORMAND
c65c0b394a
Remove the hooks that take care of trailing whitespaces
2015-08-25 16:23:47 +03:00
Maxime Coste
c7aca37633
Do not cd into the buffer directory when running clang
2015-08-24 20:10:38 +01:00
Maxime Coste
1bc333a028
Highlight diffs in git-log highlighter, to handle the -p switch
2015-08-24 20:10:07 +01:00
Maxime Coste
c143d6d203
Use a reusable diff highlighting group in diff.kak
2015-08-24 19:17:50 +01:00
Maxime Coste
608cc3265e
Fix clang.kak diagnostics now that tuple separator is back to '|'
2015-08-24 18:58:34 +01:00
Kylie McClain
f63d012fad
rc/exherbo: various improvements
2015-08-23 19:34:37 -04:00
Maxime Coste
dc504284c3
Change flag lines highlighter to use faces instead of colors
...
Fixes #130
2015-08-23 12:13:14 +01:00
Maxime Coste
307943fcf7
Merge remote-tracking branch 'lenormf/rc/python.kak-bool'
2015-08-20 20:12:39 +01:00
Frank LENORMAND
953ca06c1f
Add bool to the list of highlighted types
2015-08-14 11:41:07 +03:00
Kylie McClain
6325950758
rc/markdown: add another markdown extension (.mkd)
2015-08-13 15:07:17 -04:00
Maxime Coste
dac4fdaa54
Merge remote-tracking branch 'jkonecny/master-ini-highlight'
2015-08-11 20:35:24 +01:00
Maxime Coste
34a933a747
Merge remote-tracking branch 'jkonecny/master-fix-python'
2015-08-11 20:35:17 +01:00
Jiří Konečný
6c92444545
Fix python types highlighter
2015-08-11 20:32:07 +02:00
Jiří Konečný
cd8d81d0df
Add ini files highlighter
...
Now it's used for .repo, .socket, .target, .service and .ini files
2015-08-11 20:14:40 +02:00
Maxime Coste
2a72ca6f63
Merge remote-tracking branch 'somasis/master'
2015-08-11 13:33:06 +01:00
Maxime Coste
6916b65dfe
Merge remote-tracking branch 'lenormf/rc/autorestore.kak'
2015-08-11 13:30:48 +01:00
Frank LENORMAND
ac98699cf9
Add a comment-selection function
2015-08-11 14:04:24 +03:00
Frank LENORMAND
8c4d6b1861
Add quotes around the messages to be displayed in :echo calls
2015-08-11 09:25:58 +03:00
Frank LENORMAND
0000dd4705
Add the double type to the list of highlighted types
2015-08-11 08:16:04 +03:00
Kylie McClain
90f7edb1ac
rc/exherbo: initial support rc
2015-08-09 12:41:29 -04:00
Maxime Coste
46d1f438d6
Style tweak in autorestore.kak
2015-08-07 09:20:58 +01:00
Frank LENORMAND
d3f9cce386
Remove a useless check for the 'yes' value of a bool option
2015-08-07 09:20:57 +01:00
Frank LENORMAND
d44214f136
Prevent the autorestore to recover backups on non-existent files
2015-08-07 09:20:56 +01:00
Frank LENORMAND
e29f8d3261
Fix an unecessary files listing when restoring buffers
2015-08-07 09:20:55 +01:00
Maxime Coste
c41870ec98
grep.kak: Fix some missed used of jump instead of grep-jump
2015-08-05 18:37:25 +01:00
Maxime Coste
c01956726a
grep.kak: Fix remaining use of jump instead of grep-jump
2015-08-05 00:19:37 +01:00
Maxime Coste
7ecd44d3ad
make.kak: Rename err{jump,next,prev} to make-{jump,next,prev}
2015-08-04 23:10:08 +01:00
Maxime Coste
cfb3a668c1
Merge remote-tracking branch 'lenormf/doctrings_update'
2015-08-04 23:08:21 +01:00
Maxime Coste
102a854125
Merge remote-tracking branch 'lenormf/rc/autowrap.kak'
2015-08-04 23:06:28 +01:00
Maxime Coste
6827662b27
Merge remote-tracking branch 'lenormf/rc/autorestore.kak'
2015-08-04 22:46:24 +01:00
Maxime Coste
fb33fe1d2d
Merge remote-tracking branch 'jkonecny/master-kickstart-colors'
2015-08-04 22:45:54 +01:00
Maxime Coste
f9fae1a34f
clang.kak: handle fatal errors in diagnostics
2015-08-04 18:41:56 +01:00
Frank LENORMAND
73e788fc59
Fix and improve the whole backup restoration procedure
...
The restore-buffer command was made publicly visible to allow arbitrary
reloads of the backup files, only backup files that were created after
the file has last been modified will be loaded, and several bugs have
been fixed (sed/find patterns).
2015-08-04 16:56:35 +03:00
Frank LENORMAND
8beb1da552
Prevent the "funcinfo" command from printing errors
...
Add a try{} scope around the exec statement that raises errors when no
selection was possible/made.
2015-08-04 07:52:57 +03:00
Frank LENORMAND
38bb9fc3a8
Modify the name and attribute of three grep commands
...
Add the "grep" prefix to the "jump", "next" and "prev" commands for
homogeneity with other kak scripts, and prevent the "grep-jump" command
from raising errors by enclosing it into a try{} scope.
2015-08-04 07:52:51 +03:00
Frank LENORMAND
926e628a36
Prevent the hook from wrapping the next line when the cursor is at the end of the current line
2015-08-04 07:24:16 +03:00
Jiří Konečný
13746767a2
Minor changes in kickstart.kak
...
Kickstart is using colors/default.kak completely now.
Fix packages groups wasn't matched correctly.
2015-08-03 21:16:22 +02:00
Frank LENORMAND
142c34d6de
Added documentation strings to the commands that didn't have one already
2015-08-03 22:01:50 +03:00
Maxime Coste
226463b0e8
Merge remote-tracking branch 'jkonecny/master-rust-fix'
2015-08-03 11:30:19 +01:00
Frank LENORMAND
b4e1d711d6
Fix the pattern used in the backups lookup onliner to avoid false positives
2015-08-02 16:13:58 +03:00
Jiří Konečný
36fea948b0
Fix rust error when calling indent function
2015-08-02 12:59:49 +02:00
Maxime Coste
b5444883e9
Merge remote-tracking branch 'lenormf/rc/autorestore.kak'
2015-08-01 00:35:57 +01:00
Frank LENORMAND
9bd6a6da90
Set the maximum recursion depth to one to avoid unecessary high CPU usage
2015-07-31 18:34:53 +03:00
Maxime Coste
55f6ca7431
Merge remote-tracking branch 'lenormf/rc/autorestore.kak'
2015-07-31 14:01:07 +01:00
Frank LENORMAND
cf149b7985
Add an automatic backup restoration script that handles .kak.XXXXXX files
2015-07-30 18:43:57 +03:00
Frank LENORMAND
560a02e386
Add the object type to the list of python highlighted types
2015-07-30 18:10:35 +03:00
Frank LENORMAND
ddaa31a300
Highlight python types, when they are not used as constructors
2015-07-30 17:59:22 +03:00
Frank LENORMAND
8287977c2d
Improve the autowrap script
2015-07-29 11:48:07 +03:00
Maxime Coste
15a34be46d
Merge branch 'master' into colorscheme
2015-07-03 21:33:08 +01:00
Maxime Coste
742fdc1f7d
Recognize colorscheme command in kakrc files and in README
2015-07-03 21:14:08 +01:00
Maxime Coste
93b6534ef1
man.kak: Add basic completion to man command
2015-07-03 21:00:10 +01:00
xificurC
8813580516
fix shell string start and end regex
2015-07-02 21:59:34 +02:00
Gokcehan Kara
3e428f2251
add rc/julia.kak
2015-06-28 15:20:23 +03:00
Maxime Coste
71081f3823
Add autowrap.kak providing auto word wrapping hook
2015-07-24 14:02:32 +01: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
Maxime Coste
0ad2aaf54a
Merge remote-tracking branch 'lenormf/rc/golang.kak'
2015-07-21 23:35:30 +01:00
Maxime Coste
fd0ba130f8
Merge remote-tracking branch 'lenormf/c-hexa'
2015-07-21 23:35:16 +01:00
Frank LENORMAND
715a19f7c4
Add a Go script, containing highlighters and auto-indent functions
2015-07-21 11:22:57 +03:00
Frank LENORMAND
6d70c37bd3
Add support for hexadecimal numbers to the C family languages
2015-07-20 17:31:33 +03:00
Maxime Coste
da2e2d5380
Merge remote-tracking branch 'alexherbo2/dockerfile-rc'
2015-07-20 13:18:20 +01:00
Maxime Coste
d8fe238c11
Fix :man completion on unknown man pages
2015-07-20 13:16:05 +01:00
Alex Leferry 2
04fa164e2d
add rc/dockerfile.kak
2015-07-18 23:12:05 +02:00
Frank LENORMAND
54604693bc
Add more file extensions and keywords to the shell script highlighter
2015-07-17 20:36:33 +03:00
Maxime Coste
5b554ff474
Add support for command completion on commands, use it for :new
...
That means commands can be completed using other commands and their
completers. Yes that does makes sense.
Closes #296
2015-06-26 13:57:23 +01:00
Maxime Coste
19a6b16e25
Merge remote-tracking branch 'jkonecny/master-kickstart'
2015-06-13 09:55:45 +01:00
Jiří Konečný
a25a9e1026
Add syntax highlighter for kickstart files
2015-06-13 10:27:22 +02:00
Maxime Coste
b560011f12
Merge remote-tracking branch 'jkonecny/master-fix-shell'
2015-06-12 18:28:20 +01:00
Jiří Konečný
cc69e8f81e
Fix shell highlighter for comments and variables
...
Fix $# was processed as comment but it's variable.
Add highlighting for $#, $$, $!, $@, $?, $-, $* as variables too.
2015-06-12 17:34:43 +02:00
Jiří Konečný
d5a50d4f7b
Add first and second line highlighting git-commit
...
First 50 characters are recommended for subject line. They are highlighted
with yellow color.
The subject line wants an empty second line, so every characters (except
for comments) on second line are highlighted with red background.
2015-06-11 19:07:51 +02:00
Maxime Coste
6cb7e20d54
Fix grep/make.kak with new behaviour for gl/gh
2015-06-08 22:33:32 +01:00
Alex Leferry 2
e01126214e
detect ClojureScript files
2015-06-06 11:41:47 +02:00
Maxime Coste
ccfb87ecf3
git-tools: support git rm and avoid interpreting git output
2015-05-23 10:56:52 +01:00
Maxime Coste
a006c20979
Merge remote-tracking branch 'origin/master'
2015-05-12 00:56:28 +01:00
Maxime Coste
4a843ec8d4
clear git blame flags option when hiding git blame
2015-05-10 17:20:42 +01:00
Benoît Laurent
4ab01ff80d
Use named colors in highlighting configuration for markup languages.
2015-05-09 22:03:41 +02:00
Maxime Coste
1a1db1cb3a
{line,column}_option highlighters use an expanded string instead of an option name
...
That allows access to non option values, such as cursor_column or cursor_line with
:addhl line '%val{cursor_line}' default,rgb:404040
Fixes #38
2015-05-04 17:12:51 +01:00
Maxime Coste
0ab4ac5515
Improve asciidoc highlighting
2015-04-30 19:18:20 +01:00
Maxime Coste
1bbb4ce29c
Add some missing operators to C++ highlighting
2015-04-30 13:45:48 +01:00
Maxime Coste
dd9533e625
Small tweak in c-family-alternative-file error handling
2015-04-21 13:21:24 +01:00
Maxime Coste
db9d679f8e
Tweak escaping in errjump
2015-04-10 23:45:09 +01:00
Maxime Coste
166682d802
git-tools.kak: tweak git-status highlighting
2015-03-30 23:06:46 +01:00
Maxime Coste
d0f504be27
Inform user when clang parsing finished
2015-03-14 11:27:35 +00:00
Maxime Coste
866b3358c9
Fix clang.kak escaping, go back to a hook for removing tmp dir
...
Previous trap based solution could end up with sh waiting on a
closed fifo.
2015-03-03 23:24:12 +00:00
Maxime Coste
4ce589f9a7
Fix removing of fifo directories, remove the hook itself once done
2015-02-20 18:43:09 +00:00
Maxime Coste
5cefaa1819
clang.kak: add a clang-diagnostics-next command
...
clang-diagnostics-next will jump to the next line with a clang
error/warning.
2015-02-18 13:56:13 +00:00
Maxime Coste
15bb048428
clang.kak: use trap to remove the temporary directory, fix escaping problems
2015-02-18 13:55:47 +00:00
Maxime Coste
61ff8a9bb2
fix indentation in clang.kak
2015-02-03 00:42:40 +00:00
Maxime Coste
b4661e37d2
Fix tabs in clang.kak and improve escaping
2015-01-30 13:42:13 +00:00
Maxime Coste
47c8a4378f
fix :tag when a '<' is present in the search pattern
2015-01-30 13:41:14 +00:00
Maxime Coste
02adf234b4
jedi.kak: use the docstring as completion doc
2015-01-23 19:11:19 +00:00