Commit Graph

2227 Commits

Author SHA1 Message Date
Maxime Coste
06fc329739 Rewrite real_path, try to find an existing directory in the given path
Never throw, return the given filename in the worst case.
2014-07-30 00:03:01 +01:00
Maxime Coste
6e4b0f5781 make.kak: Support fatal errors in errnext / errprev 2014-07-28 19:40:34 +01:00
Maxime Coste
8ed16bb2e9 In non interactive interactive mode, disable user key mappings
exec and eval now accepts a -with-maps to use them. But by default
they are disabled, so that all the indent scripts work even if you
remap basic keys.

Fixes #217
2014-07-27 20:18:09 +01:00
Maxime Coste
7c10660f9a Fix resize handling in ncurses UI 2014-07-26 22:38:10 +01:00
Maxime Coste
8d6e8bc06f Display a [no-hooks] tag in the mode line when hooks are disabled 2014-07-25 23:47:47 +01:00
Maxime Coste
6813440212 Fix Selection::insert when replacing with empty string at the end of the buffer 2014-07-25 23:47:11 +01:00
Maxime Coste
731277a425 Disable hooks on a per context basis, and propagate that to Insert mode
using \ before entering insert mode will disable hooks during the whole
insert session rather than only the entering phase. That gives a nice
way of pasting text into kakoune.
2014-07-24 19:18:39 +01:00
Maxime Coste
826bf22eef fix align with multiple columns 2014-07-22 00:41:10 +01:00
Maxime Coste
bc48d9260d Fix Menu use of j/k keys when editing filter 2014-07-22 18:39:04 +01:00
Maxime Coste
3c021672d2 Add completion support for rmhooks 2014-07-21 21:14:32 +01:00
Alex Leferry 2
4801ee22a2 source all .kak in autoload/ 2014-07-19 13:41:26 +01:00
Maxime Coste
50abc18c8e Add some more force inlines to some buffer methods 2014-07-19 00:18:16 +01:00
Maxime Coste
6c581b7054 Update README since removal of single region highlighter 2014-07-19 00:17:42 +01:00
Maxime Coste
f4e3df817f Clear status line on normal mode command 2014-07-17 19:37:30 +01:00
Maxime Coste
4a6a02af03 Merge remote-tracking branch 'alexherbo2/kakrc-fixes' 2014-07-17 19:36:59 +01:00
Maxime Coste
880a8becb6 Fix ncurses flickering of the menu and info box 2014-07-16 23:11:18 +01:00
Alex Leferry 2
73ab9cfe71 ruby.kak: fix identifier highlighting 2014-07-16 14:22:18 +02:00
Alex Leferry 2
c4a6f5fa96 ruby.kak: indent on opener / closer tokens 2014-07-16 14:22:15 +02:00
Alex Leferry 2
cd656ae4eb javascript.kak: fix indent on closer token 2014-07-16 13:56:40 +02:00
Maxime Coste
032b621150 Use strongly typed enum for Face Attribute, add Dim 2014-07-15 20:11:47 +01:00
Maxime Coste
e6699c66ed Fix comment parsing error in CommandManager 2014-07-15 13:15:21 +01:00
Maxime Coste
ac5cbba0ae Remove region highlighter, rename multi_regions to regions, cleanup 2014-07-14 21:42:19 +01:00
Maxime Coste
ec37adc523 Fix bug in nested highlighting 2014-07-14 21:41:29 +01:00
Maxime Coste
85d971f062 Port sh.kak to multi_regions 2014-07-14 20:59:36 +01:00
Maxime Coste
d5d76721b0 Avoid infinite loop in MultiRegionHighlighter when regexes generate empty matches 2014-07-14 20:46:46 +01:00
Alex Leferry 2
12cdfb316a underline (MatchingChar|Search) faces 2014-07-14 20:23:56 +01:00
Maxime Coste
b96f653b6c Fix numbering with '#' register 2014-07-14 19:00:54 +01:00
Maxime Coste
563156992f Merge remote-tracking branch 'alexherbo2/javascript-rc' 2014-07-13 16:59:12 +01:00
Maxime Coste
518c494104 Rename 'macro' face to more general 'meta'
As it is used in python/ruby for 'import' which is not really
a macro.
2014-07-13 16:57:49 +01:00
Maxime Coste
e788417e3b Use a region for c++ macro highlighting 2014-07-13 16:55:34 +01:00
Maxime Coste
cbfceba149 Do not resolve faces in highlighter factories, defer to actual highlighting 2014-07-13 16:52:51 +01:00
Maxime Coste
d78ece490f Rename RegexColorizer to RegexHighlighter 2014-07-12 13:57:16 +01:00
Maxime Coste
72ccb9bce6 Refactor RegexColorizers face handling 2014-07-12 11:19:35 +01:00
Maxime Coste
d0d4108085 Rename :colalias to :face and update documentation 2014-07-12 10:55:50 +01:00
Maxime Coste
608e188960 Support attributes in face specifications 2014-07-11 00:44:59 +01:00
Alex Leferry 2
fdfb65194c highlight '$' identifiers 2014-07-11 01:38:24 +02:00
Maxime Coste
a32b49acd1 Rename ColorPair to Face and ColorRegistry to FaceRegistry
Face also stores the attributes
2014-07-11 00:27:43 +01:00
Maxime Coste
42611aef1e Fix select_number 2014-07-10 19:22:14 +01:00
Maxime Coste
b6979e2d2c Add docstring for normal mode commands and display them if autoinfo >= 2 2014-07-10 19:22:14 +01:00
Maxime Coste
4c3bd68876 Change autoinfo option to be an integer, allowing different levels 2014-07-10 19:22:14 +01:00
Maxime Coste
81d3eadd09 :edit! without argument reload current buffer 2014-07-10 19:22:14 +01:00
Maxime Coste
7a080ffb41 Merge pull request #194 from alexherbo2/ruby-rc
ruby.kak: code maintenance
2014-07-10 19:16:02 +01:00
Maxime Coste
d157ba06cf Merge pull request #193 from alexherbo2/javascript-rc
javascript.kak: highlight comments
2014-07-10 19:15:51 +01:00
Alex Leferry 2
4b23919e92 highlight symbols in hash syntax as identifiers 2014-07-10 19:16:20 +02:00
Alex Leferry 2
bbc1e1f5c2 minor style fix 2014-07-10 16:23:15 +02:00
Alex Leferry 2
1356e9cb6b fix nested literals highlighting 2014-07-10 16:03:57 +02:00
Alex Leferry 2
84c960ea7c highlight multi-line comments 2014-07-10 01:40:04 +02:00
Alex Leferry 2
2aab87f28c fix single line comments highlighting 2014-07-10 01:40:02 +02:00
Maxime Coste
9952704eaf Fix :map scope completion 2014-07-08 00:53:06 +01:00
Maxime Coste
4e4680c9c6 Merge remote-tracking branch 'alexherbo2/json-rc' 2014-07-08 00:18:35 +01:00