Skip to content

furiel/flycheck-syslogngconf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

flycheck-syslogngconf

flycheck module for syslog-ng configuration files

syslogngconf-mode is hard dependency. For details, please check syslogngconf-mode.

Installation

Using package manager

Add this line to your emacs configuration:

(add-to-list 'package-archives
	     '("bagolyodu" . "https://bagolyodu.dyndns.hu/emacs-packages/") t)

Then you can install flycheck-syslogngconf via package manager. For example with use-package module:

(use-package flycheck-syslogngconf :ensure t)

Using git clone

(use-package flycheck-syslogngconf
  :load-path  "<path to the git clone>")

Enable flycheck mode

To enable flycheck globally:

(global-flycheck-mode)

To enable manually

M-x flycheck-mode

Overriding the executable

If syslog-ng is installed to a non-standard location, you can specify the binary location using:

(set-variable 'flycheck-syslogngconf-executable "<path of the syslog-ng binary>")

For example:

(add-hook 'syslogngconf-mode-hook
          (lambda () (set-variable
                      'flycheck-syslogngconf-executable
                      (concat (syslogng-autodetect-root) "/sbin/syslog-ng" ))))

About

flycheck module for syslog-ng configuration file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published