~eshel/flymake-swi-prolog
source link: https://git.sr.ht/~eshel/flymake-swi-prolog
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
#flymake-swi-prolog
Flymake backend for SWI-Prolog using diagnostics.pl
#Perquisites
Install SWI-Prolog, e.g. from here.
#Installation
Load flymake-swi-prolog.el
into Emacs and add the following forms to your configuration:
(require 'flymake-swi-prolog) (add-hook 'prolog-mode-hook #'flymake-swi-prolog-setup-backend)
Install the required Prolog diagnostics
package with either:
M-x flymake-swi-prolog-ensure-backend
or run from the command line:
$ swipl -g "pack_install(diagnostics)" -t halt
#Usage
Just open a file in prolog-mode
and you should be ready to go.
#Contributing
For questions, requests, patches, please write to
~eshel/[email protected] specifying the name of this repository in
mail subject, e.g. [PATCH flymake-swi-prolog] fix it
.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK