Commit Graph

7427 Commits

Author SHA1 Message Date
Maxime Coste
56611604b2 Make String able to reference external data without copying
Sometimes we really need to have a String instead of a StringView,
but some of those strings might not need to own their data. Make
it possible to explicitely construct a String that does not own
the underlying buffer.

Use it when parsing balanced strings.
2019-03-19 22:00:57 +11:00
Maxime Coste
c2be661785 Fix typo in scratch buffer default content 2019-03-19 21:44:30 +11:00
Aaron Bull Schaefer
ada4e01f97 Document how to view the current value for options 2019-03-18 08:27:08 -07:00
Aaron Bull Schaefer
7c65e463ff Aaron Bull Schaefer 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.
2019-03-18 08:27:08 -07:00
Maxime Coste
f87e844244 Add a text in scratch buffer to make it explicit it wont be saved
Fixes #2759
2019-03-17 10:41:11 +11:00
Maxime Coste
da687f8b7d Merge branch 'patch-1' of http://github.com/andreyorst/kakoune 2019-03-16 12:40:40 +11:00
Maxime Coste
77d75437b8 Merge remote-tracking branch 'eraserhd/use-semantic-face-names' 2019-03-16 12:02:21 +11:00
Maxime Coste
ef45b3470b Merge remote-tracking branch 'alyssais/ruby_' 2019-03-16 11:59:34 +11:00
Maxime Coste
a8ea599372 Remove another unnecessary ; in palete reset escape sequence
Should fix #2779 for real.
2019-03-16 11:57:31 +11:00
Maxime Coste
a8347ed78b Merge remote-tracking branch 'alexherbo2/test-script' 2019-03-16 11:55:28 +11:00
Maxime Coste
525684f4da Make keymap fully constexpr 2019-03-16 11:54:56 +11:00
Alyssa Ross
60dd81d7d8
Highlight all default Ruby symbols correctly 2019-03-15 17:32:49 +00:00
Alyssa Ross
c409bce579
Recognize Ruby identifiers beginning with _
:_foo, @_foo, $_foo, and { _foo: 1 } are all valid Ruby syntax, but were
not recognized by the highlighter.
2019-03-15 16:24:44 +00:00
Frank LENORMAND
2c19c2d84c rc: Use builtin faces 2019-03-14 10:53:13 -04:00
Andrey Orst
e5558aee63
highlight floating point numbers with exponent
Correct highlihgting for `0.38e-18` like numbers
2019-03-13 17:01:17 +03:00
Alex Leferry 2
25630f4c91 Refactor colorize function away from the test script 2019-03-12 23:22:03 +01:00
Maxime Coste
47be98f1fc Remove unnecessary ; from palette reset escape sequence
Fixes #2779
2019-03-13 07:19:20 +11:00
Maxime Coste
bfc2a178f2 Merge remote-tracking branch 'alexherbo2/kakrc-add-force-commands' 2019-03-13 06:51:16 +11:00
Maxime Coste
af38d9230c Merge remote-tracking branch 'Screwtapello/document-edit-flags' 2019-03-13 06:50:15 +11:00
Maxime Coste
a21f55bdb8 Merge remote-tracking branch 'eraserhd/palenight-colorscheme' 2019-03-12 21:35:23 +11:00
Maxime Coste
017b7c970e Merge branch 'patch-1' of https://github.com/andreyorst/kakoune 2019-03-06 22:51:40 +11:00
Maxime Coste
ee16ac3ce1 Merge branch 'travis' of https://github.com/stephengroat/kakoune 2019-03-06 22:50:30 +11:00
Maxime Coste
55c60153df Merge remote-tracking branch 'alexherbo2/rc-markdown' 2019-03-06 22:49:46 +11:00
Maxime Coste
800c2c7128 Merge remote-tracking branch 'occivink/fix-iterm' 2019-03-06 22:48:21 +11:00
Andrey Orst
81fc15057c
Add KDE Konsole terminal to termcmd
Konsole doesn't work well with non-default Kakoune themes, so I've put it last in the list, but in case when no other terminal is available it's good to have it in the list for launching non-kakoune things, like tig
2019-03-06 12:58:57 +03:00
Stephen
b6d1f3901d update travis yml
trusty is now the default
move to travis homebrew addon
2019-03-05 12:38:36 -08:00
Olivier Perret
dc8481776c Various fixes to iterm.kak
The 'terminal' alias wasn't automatically setup
Missing '\' in sed calls
Descriptions of vertical and horizontal split was swapped around
2019-03-05 21:00:01 +01:00
Jason Felice
3e91e9a0b3 Add palenight theme 2019-03-05 09:54:48 -05:00
Alex Leferry 2
7c9053cdec Remove invalid Markdown syntax 2019-03-05 15:07:17 +01:00
Maxime Coste
7c5831780b Fix typo
Thanks to occivink
2019-03-05 21:07:49 +11:00
Maxime Coste
21fa4dcb13 Re-introduce -MP in the C++ compilation rule
It turns out it is important to avoid having to clean when a header
is deleted.
2019-03-05 20:56:44 +11:00
Maxime Coste
8a0e89f326 Merge remote-tracking branch 'laelath/compilation-warnings' 2019-03-05 20:54:14 +11:00
Maxime Coste
e65a7f1310 Merge branch 'patch-1' of https://github.com/bugabinga/kakoune 2019-03-05 20:51:04 +11:00
Maxime Coste
ffb1813759 Merge remote-tracking branch 'krobelus/write-all-note-modified' 2019-03-05 20:50:15 +11:00
Maxime Coste
2fa78d720f Merge remote-tracking branch 'eraserhd/tmux-mac-color-fix' 2019-03-05 20:49:19 +11:00
Maxime Coste
4843149b6a Make error description available as "%val{error}" during catch blocks
Fixes #2761
2019-03-05 20:46:23 +11:00
Maxime Coste
f9d421130f Fix use of invalidated iterators in highlight_range
Fixes #2755
2019-03-05 20:31:40 +11:00
Jason Felice
f140b01b5b Notes on true color and Mac OS 2019-03-02 22:53:15 -05:00
Justin Frank
6a3c3a3f82 -MP compile option isn't needed since header files aren't globbed 2019-02-27 22:46:04 -08:00
Justin Frank
8178400f8d Fixed all reorder warnings 2019-02-27 22:45:31 -08:00
Justin Frank
29342836a6 Fixed Selection being defined as a struct and class 2019-02-27 22:45:31 -08:00
Johannes Altmanninger
b849099472 Document that write-all only writes modified buffers 2019-02-25 10:59:45 +01:00
Johannes Altmanninger
1dad4741fa Johannes Altmanninger 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.
2019-02-24 23:31:28 +01:00
Oliver Jan Krylow
b36ece46c4
rename auto_complete -> autocomplete in docs 2019-02-24 10:45:38 +00:00
Maxime Coste
699d066ebd Merge remote-tracking branch 'dmerejkowsky/tests-summary' 2019-02-18 22:21:59 +11:00
Maxime Coste
6bdefc829d Merge remote-tracking branch 'alexherbo2/rc-markdown-toml' 2019-02-18 22:21:06 +11:00
Alex Leferry 2
35ace812df Markdown: Highlight TOML code blocks 2019-02-18 07:42:49 +01:00
Jason Felice
7cf6eddc30 Add object mode expansions 2019-02-17 20:18:19 -05:00
Maxime Coste
e169a1893b Merge remote-tracking branch 'eraserhd/object-command-submode' 2019-02-17 11:22:02 +11:00
Maxime Coste
206929b403 Merge remote-tracking branch 'Screwtapello/document-edit-flags' 2019-02-17 11:21:50 +11:00