From 935aeb5756de2024697194c83fe0f16951818b1a Mon Sep 17 00:00:00 2001 From: Jannik Buhr Date: Sat, 6 Jul 2024 13:54:50 +0200 Subject: [PATCH] feat: add vim extension --- lua/otter/tools/extensions.lua | 1 + tests/debug-example.sh | 1 - tests/examples/00.lua | 2 ++ 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/otter/tools/extensions.lua b/lua/otter/tools/extensions.lua index 2f12855..450b4a5 100644 --- a/lua/otter/tools/extensions.lua +++ b/lua/otter/tools/extensions.lua @@ -36,4 +36,5 @@ return { webc = "webc", yaml = "yml", zig = "zig", + vim = "vim", } diff --git a/tests/debug-example.sh b/tests/debug-example.sh index 2b8d110..499a59c 100755 --- a/tests/debug-example.sh +++ b/tests/debug-example.sh @@ -13,5 +13,4 @@ if [ -z "$1" ]; then exit 1 fi -# nvim ./tests/examples/*$1* -c ":lua require'otter'.dev_setup()" nvim ./tests/examples/*$1* -c ":lua require'otter'.activate()" diff --git a/tests/examples/00.lua b/tests/examples/00.lua index b5fe142..e02e625 100644 --- a/tests/examples/00.lua +++ b/tests/examples/00.lua @@ -2,4 +2,6 @@ print("hello from lua") vim.cmd([[ let x = 10 + let y = 20 + let z = x + y ]])