Commit Graph

7249 Commits

Author SHA1 Message Date
Maxime Coste
719997f0ab Do not tag BufferIterator as random access
Boost regex considers that random access means fast distance
computation, which is not the case for BufferIterator where
Buffer::distance is O(num lines between them) which can get
big on large files.

Fixes #462
2015-11-04 01:01:52 +00:00
Maxime Coste
6273aa9443 Rework Buffer::distance implementation 2015-11-04 01:01:52 +00:00
alpha123
97c92368bc Build on FreeBSD 2015-11-03 11:51:27 -07:00
Maxime Coste
e8239feddf Minor cleanup in normal.cc 2015-11-03 13:59:05 +00:00
sinetek
4b8c03afe6 Adding support for DragonFlyBSD. 2015-11-03 01:14:34 +07:00
Maxime Coste
398e9a747a Merge branch 'angt-rc-cfamily' of git://github.com/angt/kakoune 2015-11-02 20:16:20 +00:00
Maxime Coste
e0a16734f6 Update keymap 2015-11-02 19:51:59 +00:00
Maxime Coste
c8d2417646 Support horizontal centering in view commands (using m)
Fixes #442
2015-11-02 19:51:59 +00:00
angt
c4060a790f Add some c-family keywords 2015-11-02 19:12:51 +01:00
Maxime Coste
17eef4a7dc Use explicit lambda captures 2015-11-02 13:44:03 +00:00
Tim Heaney
ba8fbb6718 Typo: referred has another r 2015-11-01 08:03:19 -05:00
Maxime Coste
4380683cad Fix a few out of date informations in interfacing.asciidoc 2015-11-01 11:11:44 +00:00
Maxime Coste
8ae05f3409 Use a coverity-scan branch for explicit scan requests 2015-10-30 13:58:41 +00:00
Maxime Coste
2bf44b6b49 Make word insert completion work better with unicode char 2015-10-30 13:57:46 +00:00
Maxime Coste
92c3aa4d31 Try to make coverity scanning work 2015-10-30 13:13:50 +00:00
Maxime Coste
6a4e9d1a7d Merge branch 'ranked-word-completion' 2015-10-30 13:09:12 +00:00
Maxime Coste
f556ef12c4 Fix preservation of entered text in option insert completer 2015-10-30 13:08:07 +00:00
Maxime Coste
34d7bdbc01 Minor code cleanup in insert_completer.cc 2015-10-30 13:07:48 +00:00
Maxime Coste
8ff4abdc68 Go to correct directory for coverity scan 2015-10-29 13:59:10 +00:00
Maxime Coste
32b51e2cc3 Use ranked matches for option completion as well 2015-10-29 13:57:50 +00:00
Maxime Coste
df982bd146 Merge remote-tracking branch 'lenormf/rc/perl.kak' 2015-10-29 13:45:57 +00:00
Maxime Coste
8030897708 Merge branch 'master' into ranked-word-completion 2015-10-29 13:44:55 +00:00
Maxime Coste
e106592f87 Add coverity scan support to .travis.yml 2015-10-29 13:43:16 +00:00
Maxime Coste
24043bbffe Use an heuristic based match ranking algorithm inspired by what YouCompleteMe does 2015-10-29 13:36:30 +00:00
Frank LENORMAND
753e3d17de Simplify the highlighted regions, fix the ones remaining 2015-10-29 10:00:23 +03:00
Maxime Coste
7581cde87a Merge remote-tracking branch 'lenormf/rc/c-family.kak' 2015-10-28 00:06:25 +00:00
Maxime Coste
88a4a2ccba Merge remote-tracking branch 'lenormf/rc-fix-comment' 2015-10-28 00:05:57 +00:00
Maxime Coste
4b7b04bf59 Fix mouse scrolling up stopping at line 2
Fixes #448
2015-10-28 00:01:25 +00:00
Maxime Coste
89d22f3335 Move more logic into RankedMatch 2015-10-27 21:25:18 +00:00
Frank LENORMAND
cbfc6d3cd0 Allow different type of pre-processing guards to be included in C
headers.

This commit introduces the `c_include_guard_style` option, which can
take one of the following values: "ifdef", "pragma", "none". The
corresponding type of guard will be used accordingly to the value of
this variable.
2015-10-27 17:23:04 +03:00
Maxime Coste
2eba789610 Merge branch 'master' into ranked-word-completion 2015-10-27 13:33:15 +00:00
Frank LENORMAND
f7e976676c Introduce the commenting.kak file
Centralize commenting functions into a single file, and declare
variables used by those functions in language support files. The
functions are `comment-selection` and `comment-line`, users should bind
those functions to the keys of their liking for easy access.
2015-10-25 15:54:17 +03:00
Maxime Coste
8f7c2ac636 Merge remote-tracking branch 'lenormf/rc-fix-format' 2015-10-23 13:50:29 +01:00
Maxime Coste
092cafdaaa Merge remote-tracking branch 'lenormf/rc/perl.kak' 2015-10-23 13:50:13 +01:00
Maxime Coste
40c6edf243 Document exclusive attribute 2015-10-23 13:49:02 +01:00
Maxime Coste
5118e13aee Remove useless std::move 2015-10-23 13:46:55 +01:00
Maxime Coste
e7152bad56 Add an exclusive attribute that overrides existing face 2015-10-23 13:46:41 +01:00
Frank LENORMAND
e5b8c9f4dc Add a basic perl highlighting script 2015-10-23 14:41:49 +03:00
Maxime Coste
1ba37bacd8 Fix optimized linkage 2015-10-23 09:49:06 +01:00
Maxime Coste
c77cb7c777 Extract WordDB::RankedWord as RankedMatch in its own file 2015-10-22 19:49:08 +01:00
Frank LENORMAND
8f432a2eea Introduce formatter.kak to handle formatting.
The modified files used to handle formatting code with the same code,
and a different command, the process is now centralized into a single
file. Language support files should set the `formatcmd` string to
whatever formatter is the most popular in their respective community,
eventually with default options.
2015-10-22 16:41:19 +03:00
Maxime Coste
da7fc3311f Pass ShellContext to commands
Fix #427
2015-10-22 13:59:23 +01:00
Maxime Coste
e51ef6c3c2 Wrap the shell params en env vars in a ShellContext struct 2015-10-22 13:48:57 +01:00
Maxime Coste
7346220e38 Fix :set completion when -add switch is given 2015-10-22 13:29:34 +01:00
Maxime Coste
5938712d1f Support :set -add on strings, using concatenation 2015-10-22 13:21:59 +01:00
Maxime Coste
019b3235b0 Remove legacy WordDB::find_matching method 2015-10-21 20:16:36 +01:00
Maxime Coste
be76ba0461 Merge branch 'master' into ranked-word-completion 2015-10-21 19:21:26 +01:00
Maxime Coste
64b7ccd107 Merge remote-tracking branch 'lenormf/rc/c-family.kak-astyle' 2015-10-21 09:51:21 +01:00
Maxime Coste
16ef5da72f Merge remote-tracking branch 'lenormf/rc-fix-unalias' 2015-10-21 09:51:08 +01:00
Maxime Coste
1f276b3fcf Recognize shell config files as sh scripts 2015-10-21 09:50:31 +01:00