~xerool/fennel-ls

Avoid include warnings when compiling. v1 APPLIED

Phil Hagelberg: 1
 Avoid include warnings when compiling.

 2 files changed, 3 insertions(+), 2 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~xerool/fennel-ls/patches/51413/mbox | git am -3
Learn more about email & git

[PATCH] Avoid include warnings when compiling. Export this patch

Also update the readme regarding Emacs; version 30 doesn't need any config.
---
 Makefile  | 3 ++-
 README.md | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index b6c5430..c3c54da 100644
--- a/Makefile
+++ b/Makefile
@@ -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)

diff --git a/README.md b/README.md
index e8be6a9..44d5d14 100644
--- a/README.md
+++ b/README.md
@@ -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"))))
-- 
2.39.2