1
1
Fork 0
Commit graph

69 commits

Author SHA1 Message Date
Campbell Barton
95df3ea6e9 Use private naming convention for mode management functions 2022-11-29 14:51:13 +11:00
Campbell Barton
a9e8e8cfd8 Cleanup: require pcase for pcase-dolist 2022-08-01 09:52:36 +10:00
Campbell Barton
eff83d2c66 Cleanup: sharp-quote functions 2022-08-01 08:38:01 +10:00
Campbell Barton
d3ff25a722 Cleanup: use pcase-dolist 2022-07-10 19:33:22 +10:00
Campbell Barton
71c487204b Cleanup: quiet single quote warnings 2022-07-10 19:33:01 +10:00
Campbell Barton
0015b2c9c1 Change URL to codeberg 2022-07-08 12:11:46 +10:00
Campbell Barton
3dd29cfbf2 Cleanup: use brief SPDX license 2022-02-11 16:48:07 +11:00
Campbell Barton
0593a1a77d Cleanup: docstrings 2021-10-29 17:02:27 +11:00
Campbell Barton
b2f1c058be Cleanup: remove redundant group 2021-10-29 17:02:27 +11:00
Campbell Barton
54ab1d6aba Fix bracket display highlighting a character next to (point)
The fall-back for a missing end makes sense for a tinted
background but not for single bracket highlighting.
2021-10-29 17:02:27 +11:00
Campbell Barton
a1c03970a0 Remove unnecessary requirement seq 2021-10-29 17:02:27 +11:00
Campbell Barton
d080364c64 Use a string for hl-block-bracket characters 2021-10-29 17:02:27 +11:00
Campbell Barton
2fb1cc165b Simplify local bracket variable use 2021-10-05 23:00:34 +11:00
Campbell Barton
a165ce51fb Fix bracket draw style highlighting point-min/max 2021-10-05 23:00:34 +11:00
Campbell Barton
81c692d654 Cleanup: define a group with defgroup 2021-10-05 22:59:06 +11:00
Campbell Barton
59458a4b2b Initialize brackets from the syntax table
This causes elisp brackets to work by default,
since the default bracket isn't considered a bracket,
which falls back to all brackets.
2021-10-05 22:27:25 +11:00
Campbell Barton
618c0a78ef Correct bracket face 2021-10-05 22:22:33 +11:00
Campbell Barton
7e0c6954f9 readme: document draw styles 2021-10-05 12:47:52 +11:00
Campbell Barton
859d3cac49 readme: update example 2021-10-05 12:44:40 +11:00
Campbell Barton
3c49f80ada Cleanup: replace 'if' with 'cond'
Personal preference.
2021-10-05 12:25:43 +11:00
Campbell Barton
bd54144b34 Cleanup: re-organize sections 2021-10-04 15:36:52 +11:00
Campbell Barton
497b0ac639 Cleanup: re-order custom settings 2021-10-04 15:34:31 +11:00
Campbell Barton
bb35a6c56b Add hl-block-single-level & hl-block-style
Support highlighting surrounding brackets as an alternative to tinting
the background color.
2021-10-04 15:33:33 +11:00
Campbell Barton
f2ec1f167a Correct type of hl-block-color-tint 2021-10-04 15:00:07 +11:00
Campbell Barton
333490cf2d Add hl-block-multi-line option
Useful to avoid over-nesting for languages that use S-expressions.
2021-10-04 15:00:07 +11:00
Campbell Barton
c6341f404e Cleanup: store range data in cons cells instead of lists 2021-10-01 22:54:26 +10:00
Campbell Barton
4a73d23ae2 Cleanup: over wide doc-string 2021-10-01 14:55:06 +10:00
Campbell Barton
27e3ab4195 Cleanup: minor naming changes 2021-09-26 10:22:56 +10:00
Campbell Barton
5436b8b210 Cleanup: minor changes to internal logic
- Remove cl-mapcar usage (prefer to avoid common lisp API's)
- Remove seq-map-index (prefer simple dolist)
- Use vector for colors instead of lists
  (vectors make more sense for colors).
2021-09-26 10:22:56 +10:00
Campbell Barton
4e28df960d Remove local variables when disabling the mode 2021-09-25 20:46:26 +10:00
Campbell Barton
59cdbd4d27 Use "push" instead of add-to-list
The order in the list is not important, push is faster.
2021-09-25 17:46:25 +10:00
Campbell Barton
ed4a599ead Cleanup: quiet checkdoc & package lint warnings 2021-09-25 17:37:46 +10:00
Campbell Barton
72840769e9 Cleanup: remove use of 'post-command-hook'
This is heavy (running after every command),
instead use a global timer which is kept enabled
when the mode is enabled.
2021-09-25 17:37:46 +10:00
Campbell Barton
e7ab79e713 Cleanup: add code-sections 2021-09-21 11:19:57 +10:00
Campbell Barton
dc5b0153bb Cleanup: byte-code compilation warnings 2021-09-21 11:14:51 +10:00
Campbell Barton
0ea43d3202 Cleanup: disable auto-load for internal function 2021-06-17 23:24:50 +10:00
Campbell Barton
717b4f743c Cleanup: use group for hl-block-mode
Quiets warnings when running with nativecomp.
2021-03-20 21:51:25 +11:00
Campbell Barton
05a8c5119c readme: link to melpa, tweaks to syntax highlighting 2021-02-14 21:27:55 +11:00
Campbell Barton
82f42045c1 Enable lexical binding 2020-11-26 19:18:28 +11:00
Campbell Barton
6c74034246 Update URL 2020-10-13 10:05:21 +11:00
Campbell Barton
6dc75e71b0 Fix global-hl-block-mode activating with the minibuffer 2020-04-04 18:02:40 +11:00
Campbell Barton
6a8f871d7a Add .elisp-autofmt to enable auto-formatting 2020-01-18 14:10:50 +11:00
Campbell Barton
0f1abe46d5 Apply auto-format 2020-01-18 14:10:46 +11:00
Campbell Barton
6f9dfee5f7 Cleanup: use two space indentation 2020-01-06 15:48:47 +11:00
Campbell Barton
28c9950a90 Fix for emacs 27, change in line highlighting 2020-01-06 15:48:47 +11:00
Campbell Barton
da2870d1d7 Update readme.rst 2020-01-06 15:48:47 +11:00
10sr
74b5a89360 FIx typo 2020-01-06 15:48:47 +11:00
Campbell Barton
00914d2938 Reduce default delay to 200ms 2020-01-06 15:48:47 +11:00
riscy
ed833baa1a add global mode to usage docs 2019-05-18 21:51:29 -07:00
riscy
047f9a972c fix byte-compile nag 2019-05-18 21:51:29 -07:00