Maxime Coste
869736359a
Make all fifo cleanup hooks run always
...
Those should not get prevented from running just because the user
disabled hooks, they are important for cleanup.
2018-04-26 08:31:36 +10:00
Maxime Coste
d95530b171
lint.kak: Update lint info when the linting data changed
...
Fixes #1836
2018-02-11 22:03:24 +11:00
Delapouite
29e2a73638
Fix lint.kak evaluate-commands → eval
2017-11-06 10:51:55 +01:00
Frank LENORMAND
9127ed0d55
src rc: Rename exec
/eval
into execute-keys
/evaluate-commands
2017-11-03 11:09:45 +03:00
Frank LENORMAND
c9b280b712
rc: Don't use command aliases to highlight keywords properly
2017-11-03 10:34:41 +03:00
Maxime Coste
d49555fc75
Move highlighters into Scopes
...
That means we can now have highlighters active at global, buffer, and
window scope. The add-highlighter and remove-highlighter syntax changed
to take the parent path (scope/group/...) as a mandatory argument,
superseeding the previous -group switch.
2017-10-28 13:43:04 +08:00
Maxime Coste
9c4448ac41
Remove echo -color
support, superseeded by echo -markup
...
`echo -color Error "blah"` is the same as `echo -markup '{Error}blah'`
Fixes #1512
2017-07-19 17:18:52 +02:00
Alex Leferry 2
585778057f
Update command names
2017-06-16 13:53:03 +02:00
Frank LENORMAND
cb9a2e562b
rc: Fix calls to mktemp
...
The GNU and BSD implementations differ on several points, this commit
hopefully finds a middle ground.
2017-06-16 11:51:46 +03:00
Frank LENORMAND
813d09a101
rc: Fix calls to mktemp
...
Allow `mktemp` to make use of the `TMPDIR` environment variable when
calling it with a template.
Don't use the deprecated `-t` flag.
2017-06-09 14:30:54 +03:00
Maxime Coste
f2f04d55fc
Make the lint_errors a range-specs option in lint.kak
...
lint_errors are now maintained up to date with buffer changes.
2017-05-25 19:54:08 +01:00
Maxime Coste
c4db46b58b
Rename line-flags option type to line-specs
...
Generalize this option type, which is a timestamped list of
<line number>|<arbitrary string>. That way this type is not strongly
coupled with the flag-lines highlighter, and can be reused for other
use cases.
2017-05-24 15:41:43 +01:00
Frank LENORMAND
b9cdccd53a
rc: Document non-hidden options with -docstring
2017-05-16 14:35:43 +03:00
Maxime Coste
b9317ba38c
Change lint.kak column display to put it at the end
2017-03-10 12:41:01 +00:00
Maxime Coste
e888dae787
Merge remote-tracking branch 'kurkale6ka/lint_cols'
2017-03-10 12:28:17 +00:00
Maxime Coste
a0b42323ed
Add a -debug flag to :edit to set the buffer as debug data
...
As for the *debug* buffer, buffers with the debug flag wont get
used for cycling through buffer, or word completion.
2017-03-08 19:33:25 +00:00
Maxime Coste
6e39e8371a
Improve POSIX sed compatibility in lint.kak
...
Fixes #1072
2017-01-31 22:42:43 +00:00
Alex Leferry 2
671b50bb52
update command names
2017-01-04 13:04:27 +01:00
Maxime Coste
a132985888
Fix uses of renamed make_current_error_line option
...
Fixes #952
2016-12-10 13:39:02 +00:00
Dimitar Dimitrov
8917c3662b
Add column information
2016-11-09 22:36:33 +00:00
Dimitar Dimitrov
c5ebd5e303
Remove since it gets overwritten by the NormalIdle hook +
...
$kak_cursor_line will always be 1 as that runs in a temporary context for the window
2016-11-02 17:00:04 +00:00
Dimitar Dimitrov
9a87e7fdff
Use same idiom as for lint-next
2016-11-02 14:18:38 +00:00
Dimitar Dimitrov
05f7ab7568
lint-prev
2016-11-02 14:09:33 +00:00
Dimitar Dimitrov
ae339dc3c4
Use %~~ for delimiting to avoid issues with braces in the message
2016-11-02 14:09:33 +00:00
Martin Chaine
0272d3909d
Fix sed for macOS
2016-10-27 11:22:16 +02:00
Dimitar Dimitrov
d5e0426a77
Avoid problems when the message contains comas
2016-10-21 15:01:09 +01:00
Dimitar Dimitrov
02ab268416
Sort
2016-10-20 12:08:42 +01:00
Dimitar Dimitrov
a773f2ba4b
Add sh linter
2016-10-19 17:17:59 +01:00