Commit Graph

113 Commits

Author SHA1 Message Date
d58014d81b Implement forward versions for open and close
This already exists for the toggle methods and it's quite convenient.
This commit reproduce this behavior for:
- `origami-open-node'
- `origami-open-node-recursively'
- `origami-close-node'
- `origami-close-node-recursively'
2018-05-03 19:16:59 +02:00
1f38085c8f Merge pull request #37 from purcell/master
Couple of small fixes
2018-01-01 15:53:28 +00:00
5630536d04 Support indirect buffers 2017-01-29 16:05:25 +00:00
c74e77e760 Revert C++ to c-style-parser 2017-01-29 15:45:21 +00:00
666b72a132 Improve commands section in readme 2017-01-28 10:31:11 +00:00
a77d7f1634 Add python parser
Closes #22
2016-09-24 10:18:53 +01:00
fdd8fc306f Push mark before jumping 2016-09-24 10:18:53 +01:00
7e0b8ccafc Use cl-lib in place of cl 2016-08-25 23:30:55 +12:00
c4bf2ea7a0 Declare defgroup more conventionally
- Add missing parent group
- No need to enumerate members
- "for Emacs" is redundant
2016-08-25 23:25:54 +12:00
b571187d68 Merge pull request #30 from syohex/wrong-macro
Correct macro name
2016-07-10 17:58:03 +01:00
cf14807ff3 Correct macro name
'when-let' is a function which is introduced at Emacs 25. In this case,
'-when-let' of dash macro should be used.
2016-07-11 00:28:01 +09:00
1a957be171 Add more interactive movement commands 2016-07-09 17:50:23 +01:00
714fba2a9c Add support for c preprocessor #if 2016-07-03 16:28:45 +01:00
af481d2b42 Use more general #if 2016-07-03 16:28:33 +01:00
f608e09be3 Reuse existing machinery 2016-07-03 16:21:41 +01:00
b9ecf4b355 Hacked support for Makros in C and C++ mode 2016-06-06 02:52:41 +02:00
4e98f118c3 Add display customization 2016-03-13 21:13:54 +00:00
9b9356cd63 Change default values for customization options 2016-03-13 21:13:33 +00:00
eafd97fc70 Recompute header ranges when folding.
Previously header ranges could be broken to extend over previous lines.
The easiest way to reproduce is to put the caret at ^ in this line:

    fn ^foo() { … }

And insert a newline; the header will cover both the “fn “ and “foo() {
… }” lines.

This hacky patch recomputes the header range whenever a modification
happens inside it.
2015-10-20 13:17:33 -07:00
d372bd1af1 Allow dots plus header mode
Removed origami-fold-display-mode; instead display is controlled via
new customs origami-show-fold-header and origami-fold-replacement.

Replacement text can be customized, or set to “” to effectively disable.
2015-10-11 13:08:19 -07:00
47b4e2830e Add header style for fold display
Header mode is optional, enabled via origami-fold-display-mode.
Rendering is similar to vimish-fold’s style.
2015-10-11 12:23:48 -07:00
56140b4d3f Add marker support and buffer-local parser override 2015-08-22 12:50:02 +01:00
b4ff0c40f6 Doc new features 2015-08-22 12:49:46 +01:00
9a0722e052 Generalize marker parser 2015-08-22 12:49:33 +01:00
6f9367575a Per-buffer folding styles and explicit folding on triple-braces. 2015-08-13 16:48:10 +02:00
a44b0660f0 Colons can appear in elisp function names 2015-05-20 21:09:05 +01:00
49ae22e18a Add indent parser 2015-04-26 14:57:43 +01:00
5398602a97 Add todo 2015-04-26 14:57:27 +01:00
fb1db05c3e Improve doc 2015-04-26 14:49:24 +01:00
6677218b96 Update docs 2015-04-26 14:42:10 +01:00
54e7502b11 Add explicit python-mode support 2015-04-26 14:41:57 +01:00
579112c406 Make indent-parser the default 2015-04-26 14:25:41 +01:00
a8eb81e09c Factor in newlines 2015-04-26 13:21:16 +01:00
2b07b5c6fd Create basic indent parser 2015-04-26 11:40:34 +01:00
f28a9209d9 Provide global origami mode 2015-04-25 15:20:15 +01:00
e81d69ad8e Add go and php to parsers alist 2015-04-25 15:20:06 +01:00
27b28c8e16 Fold javadoc also 2015-04-08 21:31:57 +01:00
e9577c8a8d Merge pull request #10 from andschwa/url
Change URL to repo's home page
2015-04-04 12:16:50 +01:00
fe8f93c33a Change URL to repo's home page 2015-04-03 20:04:13 -07:00
f880c5dac5 Show node when jumping to compile/grep/occur results 2015-03-29 15:14:03 +01:00
d81d57047e Add melpa recommendation to readme 2015-01-17 15:44:56 +00:00
4c7846a01a Add out of the box support for js 2014-11-22 21:57:01 +00:00
1cc58ab689 Make isearch reveal folds 2014-11-22 10:26:26 +00:00
7e878a2251 Add origami-toggle-all-nodes 2014-11-16 18:09:19 +00:00
ec68e37557 Add autoload cookie 2014-11-16 14:26:35 +00:00
842b5c3a8d Fix compilation warnings 2014-11-16 14:12:06 +00:00
39b3129f37 Add comparsions to readme 2014-11-16 12:46:08 +00:00
2e5d1d9126 Make parsers create consistent ranges 2014-11-15 21:15:28 +00:00
e61e3670bc Change readme list to a table 2014-11-15 18:39:48 +00:00
dca4a20a30 Write a README 2014-11-15 18:30:26 +00:00