Commit Graph

741 Commits

Author SHA1 Message Date
Maxime Coste
1f74ca1a4f Merge remote-tracking branch 'lenormf/fix-iterm2' 2017-04-10 20:24:48 +01:00
Frank LENORMAND
a244c10167 rc: Forward $TMPDIR to iterm subprocesses 2017-04-10 22:17:59 +03:00
Frank LENORMAND
b6d055a87b rc: Export $TMPDIR to new tmux processes
`tmux` will start new processes (e.g. when creating panes or windows)
with the same environment it was started with, which means that if the
$TMPDIR variable was overriden for the kakoune server from within
`tmux`, newly created panes/windows won't have access to the server
socket to sustain a session.

This commit fixes the issue by always exporting the $TMPDIR variable
from the parent `tmux` environment to the new processes.

Fixes #1319
2017-04-09 09:20:25 +03:00
Alex Leferry 2
08c4fac07f rc/ranger: use $kak_hook_param_capture_N 2017-04-01 22:46:31 +02:00
Maxime Coste
fa7f29a120 spell.kak: preserve spelling language from :spell in :spell-replace 2017-03-28 08:32:21 +01: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
Martin Chaine
b5a9979bfb also handle enums explicitly 2017-03-07 09:55:22 +01:00
Martin Chaine
b5f6a9b227 escape pipe from closure in the description 2017-03-06 22:30:59 +01:00
Delapouite
cdb076603c Add Symbol, async and await highlighting for javascript.kak 2017-03-05 19:25:15 +01:00
Maxime Coste
bdb3da6b36 Merge remote-tracking branch 'casimir/patch-1' 2017-03-03 21:33:20 +00:00
Maxime Coste
a0c301ac42 Merge remote-tracking branch 'lenormf/fix-autorestore' 2017-03-03 21:13:53 +00:00
Maxime Coste
7d07064a41 Merge remote-tracking branch 'alexherbo2/rc-ocaml' 2017-03-03 21:11:06 +00:00
Maxime Coste
96625fc7ae Merge remote-tracking branch 'alexherbo2/rc-ruby' 2017-03-03 21:11:00 +00:00
Frank LENORMAND
947b518f03 rc: add a spell-next command 2017-03-01 22:16:28 +03:00
Frank LENORMAND
4ba7c7a2c4 rc: POSIX and cosmetic fixes in the spell script` 2017-03-01 16:14:02 +03:00
Martin Chaine
d232064a0b add racer completion for rust 2017-03-01 13:11:35 +01:00
Frank LENORMAND
0fd41540d1 rc: Don't print errors when no buffer backup exist 2017-03-01 14:55:29 +03:00
Alex Leferry 2
63f9f9bbc9 highlight hash access symbols 2017-02-28 09:48:17 +01:00
Alex Leferry 2
c0e402c06f add rc/ocaml.kak 2017-02-27 22:05:27 +01:00
Maxime Coste
72bea292f8 Merge remote-tracking branch 'lenormf/fix-autorestore' 2017-02-27 20:15:25 +00:00
Frank LENORMAND
5f5706eda3 rc: POSIXify the modeline.kak script
Fixes #893
2017-02-26 10:27:56 +03:00
Frank LENORMAND
c379c5cbdc rc: Simplify/POSIXify the autorestore.kak script
This commit allows buffers that were not previously written to disk to
be restored if a backup has been generated in their name. Consequently,
we got rid of a few non-POSIX calls to `find` (using `-maxdepth` or
`-delete`), and of the logic that detected the newest backup (which
didn't seem a good reason enough to steer away from a portable command).

Fixes #1236
2017-02-24 14:48:49 +03:00
Maxime Coste
964252d396 Merge remote-tracking branch 'omar-polo/master' 2017-02-22 09:43:03 +00:00
Omar Polo
129424daea improved haskell comment regex 2017-02-21 21:26:05 +01:00
Maxime Coste
186eed0906 jedi.kak: python 3 compat fix 2017-02-20 20:13:48 +00:00
Maxime Coste
edc2a88643 Rename BufNew and BufOpen hooks to BufNewFile and BufOpenFile
Fixes #1225
2017-02-19 13:08:06 +00:00
Maxime Coste
b456de78a7 pony.kak: Remove redundant BufNew/BufOpen hooks
BufCreate will be called in any case.
2017-02-19 13:04:19 +00:00
Maxime Coste
55bd3b7949 Merge remote-tracking branch 'tmiller/add-elm-support' 2017-02-13 20:28:29 +00:00
Maxime Coste
14fa89e642 Merge remote-tracking branch 'lenormf/fix-doc-ansi-sequences' 2017-02-13 20:27:38 +00:00
Maxime Coste
f7d794d047 Merge remote-tracking branch 'nicholastmosher/faces' 2017-02-13 20:25:41 +00:00
Maxime Coste
5b1229709d Fix make.kak handling of 'Entering directory' and absolute paths
Fixes #1212
2017-02-13 13:52:51 +00:00
Tom Miller
ec77784d98 Add elm language support
Using Haskell's language file as a starting point this add support for
Elm.
2017-02-13 07:52:01 -06:00
Frank LENORMAND
0532251aaf Make sure no ANSI sequences are in the data returned by man
The Debian implementation of `man-db` does not strip ANSI sequences out
of the file, even though the documentation says it would do so. The
commit that originally closed this issue wasn't related to the problem
experienced, this one hopefully addresses it.

This commit also addresses an issue with the `-i` flag in BSD `sed`
which expects an argument (the GNU implementation doesn't).

Fixes #1098
2017-02-10 13:30:06 +03:00
Nick Mosher
e1927fa9c4 Adds faces module and function. Renames identifier face to variable. 2017-02-09 21:43:29 -05:00
Alex Leferry 2
d029af86af fix regex highlighting 2017-02-09 23:00:36 +01:00
Maxime Coste
033ded15ae Add proper heredoc highlighting support to sh.kak 2017-02-06 23:00:20 +00:00
Maxime Coste
f3feecbe15 Merge remote-tracking branch 'alexherbo2/rc-scss' 2017-02-03 13:46:27 +00:00
Maxime Coste
99b7d83ca3 Highlight c-family include paths as identifiers 2017-02-03 13:35:45 +00:00
Alex Leferry 2
1fecb99a4d support in-line comments 2017-02-01 13:56:24 +01:00
Maxime Coste
6e39e8371a Improve POSIX sed compatibility in lint.kak
Fixes #1072
2017-01-31 22:42:43 +00:00
Maxime Coste
159c143757 Fix autorestore script when we have multiple restore files 2017-01-30 00:10:31 +00:00
Maxime Coste
565d835d57 Fix option name in haskell.kak 2017-01-29 16:10:48 +00:00
Maxime Coste
5cb0fb13aa Merge remote-tracking branch 'doppioandante/haskell-extra-chars' 2017-01-29 14:47:30 +00:00
Maxime Coste
e2d24701fa Merge remote-tracking branch '4d47/php-comments' 2017-01-29 14:43:59 +00:00
Mathieu Gagnon
ee9482d90d Add octothorpe to php comment highlighters 2017-01-29 06:28:28 -05:00
Mathieu Gagnon
97d99358d1 Set commenting options for php
The defaults are working but using c-family style is more idiomatic,
it also enable support for `comment-selection`.
2017-01-29 06:23:11 -05:00
Maxime Coste
1048036d3c Merge remote-tracking branch 'alexherbo2/rc-comment' 2017-01-25 21:18:48 +00:00
Maxime Coste
d3ecc9f311 More tolerant recognition of underlined titles in asciidoc highlight 2017-01-25 00:24:41 +00:00