5

~eshel/flymake-swi-prolog

 2 years ago
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.
neoserver,ios ssh client

#flymake-swi-prolog

Flymake backend for SWI-Prolog using diagnostics.pl

diagnostics

#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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK