aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--supported-servers.lua5
2 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7d505d4..144e229 100644
--- a/Makefile
+++ b/Makefile
@@ -10,10 +10,10 @@ check-luacheck:
luacheck --globals=vis -- $(LUA_FILES)
check-format:
- for lf in $(LUA_FILES); do tools/check-format "$${lf}"; done
+ set -e; for lf in $(LUA_FILES); do tools/check-format "$${lf}"; done
format:
lua-format -i $(LUA_FILES)
test:
- for tf in $(TEST_FILES); do "$$tf"; done
+ set -e; for tf in $(TEST_FILES); do "$$tf"; done
diff --git a/supported-servers.lua b/supported-servers.lua
index c5017f2..4f77a3f 100644
--- a/supported-servers.lua
+++ b/supported-servers.lua
@@ -7,7 +7,10 @@ local source_path = source_str:match('(.*/)')
local lspc = dofile(source_path .. 'lspc.lua')
local clangd = {name = 'clangd', cmd = 'clangd'}
-local typescript = { name = 'typescript', cmd = 'typescript-language-server --stdio' }
+local typescript = {
+ name = 'typescript',
+ cmd = 'typescript-language-server --stdio',
+}
return {
cpp = clangd,