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
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
Maxime Coste
c8257a58a5
kakrc.kak: set '-' as an additional word char
2017-10-28 13:43:04 +08:00
Maxime Coste
d7671f0cdf
kakrc.kak: Fix static word definition
2017-10-28 13:43:04 +08: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
c95bd83ea1
haskell.kak: remove complex lookarounds
...
Highlighting is going to be slightly less correct, but we get rid
of the last incompatible regex in rc/
2017-10-25 10:29:27 +08:00
Maxime Coste
d09924d24b
asciidoc.kak: use a more tolerant block regex for
...
Get rid of the nasty backreference we were relying on.
2017-10-25 10:29:27 +08:00
Maxime Coste
591ddb86e3
markdown.kak: Remove fenced block support from
...
Its not in the spec, except for code blocks that we handle differently
anyway. More importantly it currently relies on backreference.
2017-10-25 10:29:11 +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
870d2d22d7
haskell.kak: Remove some complex lookarounds
2017-10-25 10:28:59 +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
Maxime Coste
30ce5a0055
Merge remote-tracking branch 'nochiel/nochiel-modelines'
2017-10-23 16:34:17 +08:00
Maxime Coste
214f321951
Merge remote-tracking branch 'danr/Fix-introduced-mistake-in-kakrc-highlighting'
2017-10-23 16:33:26 +08:00
Maxime Coste
6d65d8e778
kakrc.kak: refactor grammar handling
2017-10-23 10:56:45 +08:00
Dan Rosén
577d84217a
Fix introduced mistake in kakrc highlighting
2017-10-22 01:23:12 +02:00
Nicholas Ochiel
d168c75002
vim modeline regex should accept not one but "at least one" whitespace.
2017-10-21 21:04:39 +03:00
Maxime Coste
6740e3cc0c
Add some more keywords to kakrc highlighting
2017-10-21 18:48:35 +08:00
Maxime Coste
e6009f7f9b
Merge remote-tracking branch 'danr/Improve-kakrc-highlighter'
2017-10-21 17:36:08 +08:00
Dan Rosén
5b0f070300
Improve kakrc highlighter
2017-10-21 10:08:50 +02: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
Maxime Coste
f76535613e
Merge remote-tracking branch 'helvetie/ini-comments'
2017-10-20 17:29:02 +08:00
helvetie
7edc1a57a3
ini.kak: add ';' as a valid comment character
2017-10-19 15:05:17 +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