Avoid include warnings when compiling.

Also update the readme regarding Emacs; version 30 doesn't need any config.
This commit is contained in:
Phil Hagelberg 2024-04-27 09:38:28 -07:00 committed by XeroOl
parent a4251e5d21
commit 80a43cab08
2 changed files with 3 additions and 2 deletions

View File

@ -11,8 +11,9 @@ PREFIX ?= /usr/local
BINDIR ?= $(PREFIX)/bin
OPTS=--add-package-path "./src/?.lua" --add-fennel-path "./src/?.fnl"
OPTS+=--skip-include fennel.compiler
.PHONY: clean test install ci selfcheck
.PHONY: all clean test install ci selfcheck
all: $(EXE)

View File

@ -47,7 +47,7 @@ If you are using vim+lspconfig, it is pretty simple:
require('lspconfig').fennel_ls.setup()
```
For Emacs, (eglot, built-in to 29+):
For Emacs 30+, eglot will use fennel-ls automatically. For older versions:
```lisp
(with-eval-after-load 'eglot
(add-to-list 'eglot-server-programs '(fennel-mode . ("fennel-ls"))))