Maxime Coste
363a0c3a0d
man.kak: Fix behaviour when called with no params with Posix shells
...
Seems dash nevers falls back for ${@-$blah}, it does not considers $@
to be empty. Use ${1-$blah} instead as we never have more than one
parameter.
2017-12-06 13:23:39 +08: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
Maxime Coste
35d2b2b4bc
c-family.kak: Use regex custom text object to simplify some indent
2017-12-03 17:48:04 +08:00
Maxime Coste
1a38849086
c-family.kak: indent after parenthesis at end of line
2017-12-03 17:47:44 +08:00
Frank LENORMAND
f3238f4e65
rc dockerfile: Remove a left-over debug instruction
2017-12-01 17:12:41 +03:00
Maxime Coste
e9e3dc862c
Merge git://github.com/valerdi/kakoune
2017-12-01 16:40:31 +08:00
Maxime Coste
90c91ca3a2
Merge remote-tracking branch 'lenormf/fix-dockerfile'
2017-12-01 16:39:50 +08:00
valerdi
4d4c6aa82b
added AbstractString to keywords
2017-11-30 15:44:12 +01:00
Frank LENORMAND
e102251880
rc: Implement basic Nim support
2017-11-29 19:15:00 +03:00
Maxime Coste
74b0c98769
Merge remote-tracking branch 'occivink/comment'
2017-11-24 16:29:30 +08:00
Olivier Perret
ee117b9499
set registers directly instead of expanding options in exec
2017-11-23 10:30:10 +01:00
Frank LENORMAND
58ccf6b295
rc python: Highlight built-in exceptions
2017-11-18 11:56:47 +03:00
Maxime Coste
386f595a49
screen.kak: use define-command
full name instead of def
alias
2017-11-16 12:56:42 +08:00
Maxime Coste
281890ea7a
Merge remote-tracking branch 'nochiel/nochiel-screen'
2017-11-16 12:56:09 +08:00
Nicholas Ochiel
133fcb0ce4
code review: typos.
2017-11-15 17:42:37 +03:00
Nicholas Ochiel
d9a574acd5
Integration with GNU screen; based on tmux.kak
...
- Hack: kak sets `/proc/self/fd/0 -> /dev/null`. Get the client process tty because Screen needs to know the controlling terminal. Else Screen will use the last known tty and will open new windows on a different terminal if one is connected.
2017-11-15 06:10:26 +03:00
Maxime Coste
77b0ee1e19
Merge remote-tracking branch 'lenormf/extend-python-highlighters'
2017-11-14 18:08:27 +08:00
Frank LENORMAND
105d7a1276
rc python: Extend highlighted keywords and numbers
2017-11-14 12:50:20 +03:00
Maxime Coste
2ab9f65b36
c-family.kak: Use <a-S> in various auto indent hooks
2017-11-14 13:32:46 +08:00
Maxime Coste
9c964e97f0
c-family.kak: Highlight character literals later
...
That way it overrides integer literal highlighters in the case where
they conflict.
2017-11-14 11:45:30 +08:00
fsub
ee695ecf95
c-familiy.kak: improve highlighting of C++ literals
2017-11-12 18:16:20 +01:00
Maxime Coste
add7f7e76b
Revert "c-family.kak: Remove invalid 'compl' keyword from C++ highlight"
...
This reverts commit f8dee65d6e
.
compl is actually the alternate keyword for `~`.
2017-11-11 09:54:32 +08:00
Maxime Coste
f8dee65d6e
c-family.kak: Remove invalid 'compl' keyword from C++ highlight
2017-11-09 10:43:46 +08:00
Maxime Coste
5791632a98
c-family.kak: use space separated words list
2017-11-09 10:25:03 +08:00
Maxime Coste
a131edb9b3
Merge remote-tracking branch 'fsub/c-family'
2017-11-09 10:09:58 +08:00
Maxime Coste
8aa35c0724
doc.kak: Use a github compatible anchor generation
...
Convert session names to lowercase and replace spaces with minus
to generate anchor names.
2017-11-08 20:15:46 +08:00
Maxime Coste
b8fdcff7b0
doc.kak: anchor/section completion support
2017-11-08 17:20:37 +08:00
Maxime Coste
b63f16e7a2
doc.kak: Support anchors and internal links
...
Underline links, support jumping to a specific anchor either in
the current page or another one, use those new features in some
pages.
2017-11-08 16:32:49 +08:00
Maxime Coste
d6b5240bdf
doc.kak: Remove unused lines
2017-11-06 20:53:50 +08:00
Maxime Coste
73182de20c
doc.kak: Support jumping on links using <ret>
2017-11-06 20:52:24 +08:00
Maxime Coste
19cda837ff
doc.kak: Simplify completion script
2017-11-06 20:47:12 +08:00
Delapouite
29e2a73638
Fix lint.kak evaluate-commands → eval
2017-11-06 10:51:55 +01:00
fsub
db15f7adc5
c-family.kak: Add missing C++ keywords, attributes, and types
2017-11-05 10:11:59 +01:00
fsub
1ad83745c2
c-family.kak: Sort keywords, attributes, values, and decorators
2017-11-05 10:11:59 +01:00
Maxime Coste
b5de3064e0
Merge remote-tracking branch 'lenormf/fix-tupfile'
2017-11-05 12:22:18 +08:00
Tim Allen
f9351d65eb
rust.kak: Support Rust's documentation comments.
...
As well as ordinary `//` line-comments, Rust regards `///` comments
as documentation applying to the following item, and `//!` comments as
documentation applying to the enclosing item, so we should copy those
to new lines, too.
2017-11-04 21:54:48 +11: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
Olivier Perret
16f42fe3a6
refactor comment.kak
...
* move most of the kakoune implementation outside of the shell scope
to avoid unnecessary escaping
* let kakoune do the option expansions to avoid injection of special
characters
* split block commenting options into two and do the < to <lt>
conversion directly
* show error messages directly in the buffer rather than in *debug*
Fixes #1600 and #875
2017-11-03 13:20:02 +01:00
Olivier Perret
00d8716c79
commenting: move rust to the C-style group
2017-11-03 13:13:42 +01:00
Maxime Coste
9b216e0e79
Merge remote-tracking branch 'lenormf/fix-rc-aliases'
2017-11-03 19:32:30 +08: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
Kylie McClain
79f725a558
sh: support mksh
2017-11-02 23:23:54 -04:00
Maxime Coste
b3daf6b746
doc.kak: Support rendering _italic_ text as well
2017-11-02 17:42:16 +08:00
Maxime Coste
4fabba3d12
doc.kak: Render documentation internally instead of relying on man
...
doc.kak now behaves as a basic asciidoc renderer. Asciidoc is unfortunately
still a dependency to generate the manpage of the `kak` command.
2017-11-02 10:03:24 +08:00
Maxime Coste
90865b65cd
asciidoc.kak: Highlight ^=+
syntax sections
2017-11-02 09:52:18 +08:00
Maxime Coste
424b2389cb
kakrc.kak: Fix highlighting of key words at start of buffer
2017-11-02 01:28:37 +08:00
Maxime Coste
5e6077acc2
html.kak: Change </...> align hook to only run after inserting '>'
...
Improve the hook to support nesting of tags as well.
2017-10-30 17:04:54 +11:00