From 1a9b56ed1f5774a31c3b010e93e750d084cf633d Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Sat, 18 Jul 2026 20:17:17 +0300 Subject: [PATCH] Document the static completion features in the README The static-completion section didn't mention the compliment-parity features (fuzzy matching, ranking, local bindings, :refer completion, special-form filtering) added since 0.7.0. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 7294260..9463d55 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,14 @@ Why here? Because it's very convenient from the user perspective to have a singl This type of completion provides a [compliment custom source](https://github.com/alexander-yakushev/compliment/wiki/Custom-sources) for ClojureScript, so it's easy to plug with the most popular completion framework out there. +It brings the static completion close to what compliment does for Clojure: + +- fuzzy matching (`pr-fn` completes `print-function`, `cs` completes `clojure.string`) +- compliment-style ranking (current-namespace vars first, then `cljs.core`, then namespaces and classes) +- local bindings from the surrounding form, including destructuring (`let`, `loop`, `fn`, `for`, `doseq`, ...) +- vars referred in a `(:require [some.ns :refer [...]])` clause +- special forms offered only at the head of a list + ``` clojure (ns suitable.demo (:require