doom-emacs/lisp
TEC bbf8934fd3
tweak(cli): use fancier string-dist suggestion alg
To improve the quality of "did you mean?"-style suggestions, shift from
using Ratcliff-Obershelp similarity to the Restricted
Damerau-Levenshtein string distance (also known as Optimal String
Alignment).

This code is a translation of a Julia implementation that I wrote a
while ago:
https://github.com/tecosaur/DataToolkitBase.jl/blob/v0.4.1/src/model/utils.jl#L40-L107

See https://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance#Optimal_string_alignment_distance
and https://en.wikipedia.org/wiki/Gestalt_pattern_matching for more
information on these algorithms.
2024-05-21 17:16:46 +02:00
..
cli tweak(cli): use fancier string-dist suggestion alg 2024-05-21 17:16:46 +02:00
lib fix(lib): doom/sudo-find-file: expand given path 2024-05-21 17:16:44 +02:00
demos.org refactor(emacs-lisp): elisp-demos: reorganize Doom demos 2024-05-21 17:16:37 +02:00
doom-cli.el fix(cli): ensure $EMACSDIR/lisp/cli is in $DOOMPATH 2024-05-21 17:16:43 +02:00
doom-editor.el fix: exclude indent detection in derived modes 2024-05-21 17:16:45 +02:00
doom-keybinds.el refactor!: deprecate IS-* OS constants 2024-05-21 17:16:36 +02:00
doom-lib.el fix(lib): appease byte-compiler-sama 2024-05-21 17:16:31 +02:00
doom-modules.el fix: void-variable doom-modules-load-path error 2024-05-21 17:16:43 +02:00
doom-packages.el nit: general reformatting & minor comment revision 2024-05-21 17:15:54 +02:00
doom-profiles.el refactor: s/doom-modules-dirs/doom-module-load-path/ 2024-05-21 17:16:39 +02:00
doom-projects.el refactor!: deprecate IS-* OS constants 2024-05-21 17:16:36 +02:00
doom-start.el refactor!: deprecate IS-* OS constants 2024-05-21 17:16:36 +02:00
doom-ui.el fix: premature use of emoji fontset in <=28.1 2024-05-21 17:16:21 +02:00
doom.el nit: fix s/make/bake typo 2024-05-21 17:16:37 +02:00
init.el fix: add :depth field to modules 2022-09-24 18:46:21 +02:00
packages.el refactor: remove all-the-icons 2024-05-21 17:16:42 +02:00