From a775cf5df2b7f8a77b66b4fe2939799e2d7eb292 Mon Sep 17 00:00:00 2001 From: Muescha <184316+muescha@users.noreply.github.com> Date: Mon, 8 Aug 2022 15:52:54 +0200 Subject: [PATCH] add info about pathwatcher to EmmyLua Spoon --- Source/EmmyLua.spoon/init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/EmmyLua.spoon/init.lua b/Source/EmmyLua.spoon/init.lua index 4090df96..284c17d6 100644 --- a/Source/EmmyLua.spoon/init.lua +++ b/Source/EmmyLua.spoon/init.lua @@ -4,6 +4,8 @@ --- under ~/.hammerspoon/Spoons/EmmyLua.spoon/annotations. --- Annotations will only be generated if they don't exist yet or are out of date. --- +--- Note: Load this Spoon before any pathwatchers are defined to avoid unintended behaviour (for example multiple reloads when the annotions are created). +--- --- In order to get auto completion in your editor, you need to have one of the following LSP servers properly configured: --- * [lua-language-server](https://github.com/sumneko/lua-language-server) (recommended) --- * [EmmyLua-LanguageServer](https://github.com/EmmyLua/EmmyLua-LanguageServer)