Commit Graph

805 Commits

Author SHA1 Message Date
Maxime Coste
eec8239c78 Highlight 'copied' file action in git-commit buffers 2017-05-17 20:19:56 +01:00
Maxime Coste
dfaafcd49a Rename range-faces to range-specs
range-faces are now used to replace-range highlighters, where the string
part is not interpretted as a face but as a display line, so the name was
not relevant anymore.
2017-05-17 19:40:52 +01:00
Frank LENORMAND
d59bafa2c1 rc: Simplify and optimize the alt command 2017-05-16 18:20:19 +03:00
Frank LENORMAND
56837eaece rc: Use POSIX command -v instead of which 2017-05-16 18:20:19 +03:00
Frank LENORMAND
b9cdccd53a rc: Document non-hidden options with -docstring 2017-05-16 14:35:43 +03:00
Dan Rosén
736720f31a Highlight object keys in yaml 2017-05-16 09:30:01 +02:00
Dan Rosén
4f7f7edea0 Add some missing languages to comment.kak 2017-05-16 09:21:30 +02:00
Dan Rosén
5f97117ab4 Remove ad-hoc rules in kakrc highlighter
These are less useful with more static words, and they are
woefully incomplete: no support -docstring for map, set
uses the variable face, but there is no corresponding
highlighter for decl or %opt{..}.
2017-05-15 21:58:57 +02:00
Dan Rosén
1e4958353a Improve kakrc highlighter with more static words 2017-05-15 21:58:57 +02:00
Dan Rosén
80570a0dc7 Fix reference to kakrc highlighter for markdown 2017-05-15 21:58:57 +02:00
Vincent Siliakus
812af8c886 Use only default faces 2017-05-11 18:40:07 +02:00
Vincent Siliakus
848de57f20 Add Elixir highlighter 2017-05-06 08:19:57 +02:00
Frank LENORMAND
9f62c1a552 rc: Use $SHELL instead of spawning bash arbitrarily 2017-04-30 13:38:32 +03:00
Frank LENORMAND
9a138af17f rc: Properly modify tmux's environment with env 2017-04-17 22:55:37 +03:00
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
Enrico Lumetti
05d76ecf9a Add quote to completion characters in haskell 2017-01-22 19:24:46 +01:00
lisael
eeedd4854c Cleanups and added :$ as autoindent trigger 2017-01-20 13:51:25 +01:00
lisael
ffdab1aeb3 added https://github.com/ponylang/ponyc filetype 2017-01-20 04:57:13 +01:00
Alex Leferry 2
4f3c28aa37 fix quote convention 2017-01-15 15:12:57 +01:00
Alex Leferry 2
b66d58b703 remove optional value 2017-01-15 15:07:17 +01:00
Alex Leferry 2
d6cb1b8e53 fix typo 2017-01-15 15:05:01 +01:00
Alex Leferry 2
165227dac2 rename line and block comments options 2017-01-15 14:58:07 +01:00
Alex Leferry 2
98cc81ae07 rename :comment-selection to :comment-block 2017-01-15 14:48:12 +01:00
Alex Leferry 2
1f0ec535bd tweak :comment-line behaviour to comment selected lines 2017-01-15 14:43:45 +01:00
Alex Leferry 2
4ad4b2d41a rename commenting.kak to comment.kak 2017-01-15 14:25:32 +01:00
Maxime Coste
c0afbe8626 Remove MAN_KEEP_FORMATTING for doc.kak
Fixes #1098
2017-01-15 11:26:57 +00:00
Maxime Coste
10ac883b60 Use byte offsets in spell
Fixes #1126
2017-01-15 11:22:47 +00:00
Maxime Coste
474f22c429 Fix trailing space in yaml.kak 2017-01-14 21:05:40 +00:00
Bruno-Sosa
bcdee989d7 Empty commit
Bruno Sosa Copyright Waiver

  I dedicate any and all copyright interest in this software to the
  public domain.  I make this dedication for the benefit of the public at
  large and to the detriment of my heirs and successors.  I intend this
  dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.
2017-01-14 21:54:14 +01:00
Bruno-Sosa
dcfdcf97c8 fix file YAML detection 2017-01-14 21:50:20 +01:00
Maxime Coste
83cb7b12bd Merge remote-tracking branch 'doppioandante/java-indent' 2017-01-14 14:50:52 +00:00
Maxime Coste
700cb7b7fb Merge branch 'master' of git://github.com/tadzik/kakoune 2017-01-14 14:50:16 +00:00
Maxime Coste
ec618357de Fix modeline.kak declaring the same command twice 2017-01-14 14:47:57 +00:00
Enrico Lumetti
dabf78dfe4 Add auto indentation to java files
Adapted from d.kak.
Some missing keywords were added.
2017-01-13 21:36:49 +01:00
Tadeusz “tadzik” Sośnierz
1e6b05fc4c No need for two hooks for a single Perl highlighter. Thanks, casimir! 2017-01-13 16:03:40 +01:00
Tadeusz “tadzik” Sośnierz
a7666efd4f Unhardcode variable declarartion highliting in Perl code, colour them as identifiers instead 2017-01-13 14:59:20 +01:00
Tadeusz “tadzik” Sośnierz
635951e325 Treat .pm files as Perl code 2017-01-13 14:59:20 +01:00
Maxime Coste
5ad4499503 Fix naming conventions in bundled scripts
Do not use _ prefix for hidden commands, use - as a word separator
in command names.
2017-01-13 01:00:43 +00:00
Maxime Coste
91a56c11fe Various auto indent fixes regarding wrong use of x instead of <a-x> 2017-01-13 00:50:03 +00:00
Maxime Coste
5989903e7c Copy comments *before* copying indentation
Fixes #1118
2017-01-11 13:56:48 +00:00
Maxime Coste
faa18b3a8f Merge git://github.com/knubie/kakoune 2017-01-10 13:51:57 +00:00
Maxime Coste
4cfa4062bc Add '-' as completion extra word character for kakrc files 2017-01-10 13:48:04 +00:00
Maxime Coste
343df600cb Merge remote-tracking branch 'alexherbo2/command-names' 2017-01-10 13:44:11 +00:00
Matt Schick
e1833801f8 Change html highlighting to be ref inside of hbs highlighting 2017-01-08 17:29:36 -08:00
Maxime Coste
d2199bc619 Merge branch 'javascript-highlighter-add-template-literals' of git://github.com/schickm/kakoune 2017-01-06 19:36:49 +00:00
Maxime Coste
a8fb280b6d make.kak: highlight gcc/clang style location markers 2017-01-06 17:05:39 +00:00
Matt Schick
0d5cb79801 Add support for ES6 template literals to javascript highlighting 2017-01-06 07:27:21 -08:00
Maxime Coste
60d0813704 Tweak clang menu highlight so that we dont separate backspace from the escaped char 2017-01-04 12:23:25 +00:00
Alex Leferry 2
671b50bb52 update command names 2017-01-04 13:04:27 +01:00
Alex Leferry 2
8f821f0fba update kakrc keywords 2017-01-04 00:30:50 +01:00
Maxime Coste
5763cbb927 Merge branch 'add-handlebars-syntax-highlighters' of git://github.com/haarts/kakoune 2017-01-03 10:31:44 +00:00