]> gitweb.factorcode.org Git - factor.git/commit
syntax: Add REUSE: word to easily USE: but reload.
authorDoug Coleman <doug.coleman@gmail.com>
Tue, 21 Dec 2021 21:27:18 +0000 (15:27 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Tue, 21 Dec 2021 21:27:18 +0000 (15:27 -0600)
commitf93602c02915dc97014f77ffbdef778376002996
treefa0178bb907ad8b78386a2431bfd129ef562c643
parent507a22111e605804dede90e00abdd80c73826b04
syntax: Add REUSE: word to easily USE: but reload.

My use case is specifically for load-all with editors. The last
editor on macOS is Xcode and I use vscode, and once you have
``USE: editors.visual-studio-code`` then the next time it's a no-op.

``REUSE: editors.visual-studio-code`` is the same thing but with
two extra characters, as opposed to ``"editors.visual-studio-code" reload``
which requires a lot more typing.

We could have ``EDIT:``, ``EDIT-DOCS:``, ``EDIT-TESTS:`` etc if this REUSE:
word is successful.
core/bootstrap/syntax.factor
core/syntax/syntax.factor
misc/fuel/factor-mode.el