]> git.eshelyaron.com Git - sweep.git/commit
ADDED: in-buffer completions for Prolog flags
authorEshel Yaron <me@eshelyaron.com>
Thu, 16 Nov 2023 18:39:09 +0000 (19:39 +0100)
committerEshel Yaron <me@eshelyaron.com>
Thu, 16 Nov 2023 18:43:32 +0000 (19:43 +0100)
commit3fc2f2a361fa7fb182d60b9d3be74a38023e03b4
treeffc9e1e2bffb7fd8dbdd1f363f4bad342f2dfd7d
parent864e9b9fce43ec129e59ebc7e538554fef5c6bf4
ADDED: in-buffer completions for Prolog flags

* sweep.pl (sweep_context_callable_arg/4): Report "flag" context.
(sweep_flags_collection/2): New predicate.
* sweeprolog.el (sweeprolog--flag-completion-at-point): New function.
(sweeprolog--atom-or-functor-completion-at-point): Use it.
* sweeprolog-tests.el (cap-flag-name): New test.
* sweep.texi (Code Completion): Update.
sweep.pl
sweep.texi
sweeprolog-tests.el
sweeprolog.el