Marc
d79e680e71
Remove trailing ':' from racer execution
...
When AWK processes the racer response, it adds a trailing ':' that
kakoune completion expects to lead to a row having an 'a|b|c' shape,
but it's empty instead. Removing the extra ':' allows the racer
complation to actually work.
2018-02-26 12:24:12 +00:00
Maxime Coste
9b5b974397
iterm.kak: Implement focus support
2018-02-20 20:56:06 +11:00
Maxime Coste
cbf11d7a07
nim.kak: Fix wrong tr invocation
2018-02-19 21:24:36 +11:00
Maxime Coste
f8861734cf
rc/: Replace simple uses of sed with tr
2018-02-18 15:00:30 +11:00
Maxime Coste
fb07e2cfcf
clang.kak: workaround OSX awk strange parsing of bracket expressions
...
For some reason `[[:alnum:]{}_]` does not match `{` when
`[{}_[:alnum:]]` does
2018-02-07 19:40:45 +11:00
Dan Rosén
3ac328c1f7
Highlight JSX
...
Additionally merges the javascript and typescript highlighters.
Fixes #1700
2018-02-04 08:31:03 +01:00
Maxime Coste
9883cf5f75
Merge remote-tracking branch 'nochiel/nochiel-fix-tmux-repl'
2018-02-04 09:33:52 +11:00
Daniel Lewan
bc876fa4b6
add justfiles support
2018-02-03 14:43:20 +01:00
Nicholas Ochiel
ca8cbf316c
Check if tmux was compiled from master.
...
Fixes #1827 .
2018-02-03 01:14:25 +03:00
Maxime Coste
43f50c0852
Convert bundled scripts to ModeChange hook
2018-01-21 10:35:05 +11:00
Maxime Coste
593a75acbe
Merge remote-tracking branch 'lenormf/fix-pony'
2017-12-12 17:55:18 +11:00
Frank LENORMAND
996168f504
rc pony: Remove hardcoded indentation settings
2017-12-11 18:27:28 +03:00
SolitudeSF
8ae8e7b31a
Removed indentation settings
2017-12-11 10:26:06 +02:00
SolitudeSF
6eabec908e
Expand nim support
2017-12-09 23:02:59 +02:00
Frank LENORMAND
e5742fd6b1
- Fix: proper escaping of kak_{session, client}
2017-12-06 02:30:42 +03:00
Nicholas Ochiel
494d046fb2
* Integrate ranger with GNU Screen.
...
- Ensure ranger opens with the currently focused client tty if multiple screen clients are connected to the same session.
- Ensure args are passed to ranger correctly.
- Ensure command-line args are passed to ranger correctly. (Only strict long format works e.g. `ranger --cmd="echo foo"`)
- Change the current directory because `screen -X` uses screen's cwd not kakoune's.
- Use heredoc to make escaping and quoting easier to debug and slightly less unpredictable.
- Use ranger's `--choosefiles` option instead of mapping keys and having to do multiple levels of escaping and quoting of args esp. command-line args which were unusable in `screen -X eval`.
- Remove screen region when user quits ranger.
2017-12-06 02:29:40 +03:00
Maxime Coste
23fdb914bf
Merge remote-tracking branch 'lenormf/fix-dockerfile'
2017-12-03 18:13:39 +08:00
Maxime Coste
c83f7d5b1e
Merge remote-tracking branch 'lenormf/nim-support'
2017-12-03 18:13:30 +08:00
Frank LENORMAND
f3238f4e65
rc dockerfile: Remove a left-over debug instruction
2017-12-01 17:12:41 +03:00
Maxime Coste
90c91ca3a2
Merge remote-tracking branch 'lenormf/fix-dockerfile'
2017-12-01 16:39:50 +08:00
Frank LENORMAND
e102251880
rc: Implement basic Nim support
2017-11-29 19:15:00 +03:00
Frank LENORMAND
61ab3a1d26
rc: Fix Tupfile
highlighting
2017-11-04 10:56:20 +03:00
Frank LENORMAND
ff557a0cf0
rc: Simplify Dockerfile support, highlight values and additional keywords
2017-11-04 10:45:58 +03: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
7dc800c213
Simplify lookaround use in moon.kak
...
(?=[A-Z]\w*) is strictly the same as (?=[A-Z]) as \w* will always
at least match an empty string.
2017-10-25 10:29:11 +08:00
Maxime Coste
0fa59e5fd2
rc/: Tweak some regexes to be compatible with our impl limitations
...
The upcoming custom implementation does not support arbitrary lookarounds,
and other advanced regex features. Simplify the regexes to avoid those.
2017-10-25 10:27:39 +08:00
Maxime Coste
bf6e5daa08
Use stricter regex syntax
...
boost regex tolerates non-escaped special characters, and escaped
non-special characters. Standardize on stricter syntax, where
special characters must be escaped, and non-special characters must
not.
2017-10-25 10:27:39 +08:00
Maxime Coste
80d661e6a7
rc/: More consistent uses of regex syntax
...
Always use \A \z for subject start/end, always \b for word boundaries
2017-10-25 10:27:25 +08:00
Nicholas Ochiel
d168c75002
vim modeline regex should accept not one but "at least one" whitespace.
2017-10-21 21:04:39 +03:00
Dan Rosén
1310193a0a
Fix typescript highlighter
...
Before this patch keywords are highlighted in comments etc
2017-10-21 09:56:38 +02:00
wheatdog
6f6e76a245
Fix latex.kak
...
Solve #1346
2017-10-17 21:14:08 +08:00
Maxime Coste
209113aa1c
Merge remote-tracking branch 'nochiel/nochiel-fix-autorestore'
2017-10-17 10:30:24 +08:00
Maxime Coste
431e226fc8
Merge remote-tracking branch 'danr/Add-support-for-typescript'
2017-10-15 22:51:44 +08:00
Nicholas Ochiel
24e9b86562
ref vim options.txt
2017-10-15 06:04:19 +03:00
Alex Suraci
c702c915c1
iterm: use 'exec' so pane auto-closes with editor
...
this uses 'export' to set $TMPDIR instead; fish provides an 'export'
function for bash-compatibility, so this should work for both shells.
note that prior to this change, opening new panes with fish did not
work, as fish does not support `FOO=1 bar` syntax.
2017-10-13 16:01:06 -04:00
Nicholas Ochiel
040a096f36
Do not restore old backup files. This check is necessary for cases where
...
- the file was edited with a different editor/program or
- kak didn't restore a backup or
- if old backups weren't purged or
- if autorestore wasn't loaded (e.g. `kak -n`) after backups were generated.
2017-10-12 15:33:21 +03:00
Dan Rosén
ad724ab1a8
Add support for typescript
2017-10-10 10:23:25 +02:00
Maxime Coste
397e5ef0e1
Fix potential bug in clang.kak
2017-10-10 10:53:12 +08:00
Nicholas Ochiel
755cbd4436
Fix: glob for backup files.
2017-09-27 00:34:05 +03:00
Philippe Daouadi
f56c5d687e
Check for gocode, goimports and gogetdoc on go-tools loading
2017-08-30 10:19:13 +02:00
Maxime Coste
c8335a6515
Merge remote-tracking branch 'blastrock/go-tools-error'
2017-08-26 10:47:04 +07:00
Enrico Lumetti
59e5a4126d
editorconfig.kak: fix awk typo
2017-08-23 21:11:46 +02:00
Philippe Daouadi
9fafb1aba1
Show error when using go-jump and jq is not installed
2017-08-21 10:02:47 +02: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
Frank LENORMAND
a2be15801f
rc tupfile: Fix the keywords regex
2017-06-29 13:13:01 +03: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
d113d5232a
rc jedi: Don't create an unused debug/log file
2017-06-09 14:30:58 +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