Delapouite
b3f2a7e46e
Refine info titles to distinguish f/t (select) and F/T (extend)
2017-07-05 20:23:02 +02:00
Delapouite
8ed29dbd7a
Docs: add missing PromptIdle hook mentions
2017-07-05 13:45:45 +02:00
Frank LENORMAND
50b635ce2d
rc c-family: Add a hook to the insert group
2017-06-29 13:29:48 +03:00
Frank LENORMAND
a2be15801f
rc tupfile: Fix the keywords regex
2017-06-29 13:13:01 +03:00
Frank LENORMAND
e1e3cfaf45
contrib Tupfile: Adapt to upstream changes
2017-06-29 13:12:49 +03:00
Maxime Coste
620e718087
Formatting tweak
2017-06-29 09:31:02 +01:00
Maxime Coste
eb2984807c
Remove some dead code
2017-06-29 07:43:20 +01:00
Maxime Coste
e95fab0e7a
Code style tweak
2017-06-29 07:36:07 +01:00
Maxime Coste
14958a7c94
Validating an empty command in prompt reruns the last command
...
This is more consistent with other prompts like regexes or shells,
and has proven useful from time to time.
2017-06-29 07:33:16 +01:00
Maxime Coste
9bbab690ba
Merge remote-tracking branch 'danr/Expose-last-entered-command-in-register'
2017-06-29 07:29:32 +01:00
Maxime Coste
cc946764ed
Consider non-files buffers as never modified
2017-06-28 06:48:24 +01:00
Maxime Coste
641acc5943
Do not allow repeating last insert when we are not in normal mode
...
<a-;>. is not accepted anymore. Note that <a-;> are not repeatable
currently anyway (That could be fixed, athough not trivial).
Fixes #1469
2017-06-27 09:57:10 +01:00
Maxime Coste
ce8078ad73
Ensure cursor stays visible with wrapped line bigger than window
...
Fixes #1459
2017-06-27 09:29:25 +01:00
Maxime Coste
169426dc3c
Merge remote-tracking branch 'Delapouite/hook-expansions'
2017-06-26 22:05:23 +01:00
Delapouite
a932b6b21e
Add error message when using format command with no formatcmd specified
2017-06-26 22:10:04 +02:00
Delapouite
21e8da7c37
Docs: add more details about hooks
2017-06-26 18:50:22 +02:00
Maxime Coste
e9c0c05548
Fix reference highlighter not forwarding compute_display_setup
2017-06-26 16:50:12 +01:00
Maxime Coste
475e8849a1
Fix replacing last eol with a single eol
2017-06-26 16:16:46 +01:00
Maxime Coste
f41d78083a
Use the extra_word_chars option in word based normal commands
...
the completion_extra_word_chars is now gone, superseeded by
extra_word_chars that gets used both for completion and for normal mode.
Fixes #1304
2017-06-26 15:28:41 +01:00
Maxime Coste
dc378aed72
Pass a context instead of just the buffer to selector functions
2017-06-26 14:56:50 +01:00
Maxime Coste
477f0700f0
Remove useless Vector, use a ConstArrayView instead
2017-06-26 14:40:01 +01:00
Maxime Coste
268c214f56
Change completion_extra_word_char to be a list of codepoints instead of a string
2017-06-26 14:39:17 +01:00
Maxime Coste
1a64ba18d3
Always use the base LineNumber face for the line number separator
...
Fixes #1431 as we can now just hide the wrapped line numbers by
setting the LineNumberWrapped foreground and background to the
LineNumber background.
2017-06-26 13:45:56 +01:00
Maxime Coste
f788333778
Formatting fix
2017-06-26 12:18:02 +01:00
Maxime Coste
4864c8cecb
Disable -Wunknown-attributes
2017-06-26 11:27:35 +01:00
Maxime Coste
4e7a357a47
Fix various undefined behaviours detected by UBSan
2017-06-26 11:27:18 +01:00
Maxime Coste
8a2ece78b7
Remember count when repeating last insert
...
Fixes #1465
2017-06-25 07:25:31 +01:00
Maxime Coste
718adc9c88
Merge remote-tracking branch 'lenormf/fix-formatter'
2017-06-25 07:22:34 +01:00
Maxime Coste
c6eddefb0d
Slight code refactoring and perf improvement in vector option to string
2017-06-24 12:24:24 +01:00
Frank LENORMAND
6376aa6206
rc formatter: Make sure the formatter returned successfully
...
The previous implementation used to replace the contents of the buffer with
whatever the `formatcmd` was returning, regardless of the exit code of the
command, which led to the buffer being wiped out on error.
This commit does the formatting in a temporary file, and only replaces the
current buffer with the contents of the -formatted- temporary file if the
`formatcmd` returned successfully.
Fixes #1357
2017-06-23 15:12:23 +03:00
Maxime Coste
dc1b039282
Add ctags command renaming info in the startup message
2017-06-23 10:23:26 +01:00
Maxime Coste
45ac100c21
Merge remote-tracking branch 'lenormf/fix-ctags-command-names'
2017-06-23 10:22:15 +01:00
Maxime Coste
430e4495f0
Merge remote-tracking branch 'nuao/autoshowcompl_opt'
2017-06-23 10:20:34 +01:00
Maxime Coste
9d4f5a49e0
Merge remote-tracking branch 'lenormf/debug-commands'
2017-06-23 10:19:45 +01:00
Maxime Coste
806d885eaf
Do not set idle timers when running in a transient context
2017-06-23 10:01:24 +01:00
Maxime Coste
7ceb768a2e
Use an HashMap to store options in option manager
...
Turns out looking for options can get pretty slow, so O(1) lookup
seems better.
This should improve the performance of the #1460 issue
2017-06-23 09:54:21 +01:00
Maxime Coste
fb22349249
Merge remote-tracking branch 'lenormf/fix-faq'
2017-06-23 07:18:55 +01:00
Frank LENORMAND
f57a4e589e
doc: Explain why a
modifies the selection and i
doesn't
2017-06-22 12:44:47 +03:00
Frank LENORMAND
9e53e00552
doc: Mention the proper environment variable for pagers
2017-06-22 12:44:39 +03:00
Maxime Coste
d9edd3f013
Merge remote-tracking branch 'dianne/string-highlighter-fix'
2017-06-21 16:56:06 +01:00
Dianne Wagner
e2d1233b54
Dianne Wagner 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-06-18 22:41:19 -07:00
Dianne Wagner
57cb2d0682
apply '"' highlighting fix to haskell as well
2017-06-18 19:18:14 -07:00
Dianne Wagner
3ae0d86b27
rust highlighter: '"' is not the start of a string
...
this uses the string opening regex from the c-family highlighter to prevent
highlighting the rest of the file as a string on encountering the character
literal '"'
2017-06-18 18:39:45 -07:00
nuao
4da5426e2a
nuao 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-06-17 20:27:56 +01:00
nuao
ddc846cf89
Use user-supplied autoshowcompl option's value.
2017-06-17 18:07:45 +01:00
Maxime Coste
657e30db1c
Use already stored coordinates in show_whitespaces
2017-06-17 14:48:59 +01:00
Maxime Coste
400f52c438
Merge remote-tracking branch 'EliteTK/fix-show_whitespaces-tab'
2017-06-17 14:47:18 +01:00
Tomasz Kramkowski
bd65719698
Correctly handle tabs when show_whitespaces is added
...
Tabs now align to tab stops instead of always spanning 8 spaces when
show_whitespaces is added as a highlighter.
This fixes issue #1453 .
A regression test is also provided.
2017-06-17 11:46:39 +01:00
Tomasz Kramkowski
a37ccf4238
Tomasz Kramkowski 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-06-17 11:44:48 +01:00
Frank LENORMAND
dbabb19d81
src: Add profile-hash-maps
to the debug
command's docstring
2017-06-17 11:29:09 +03:00