aboutsummaryrefslogtreecommitdiffstats
path: root/vim.yml
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2022-08-15 21:03:06 +0200
committerGitHub <noreply@github.com>2022-08-15 21:03:06 +0200
commit3c62386a396ae0c1cd7adbaacc379eb4af072a65 (patch)
tree4d00d20958839a04e6a996c11b97724c762e491a /vim.yml
parentchore: update generated code (#295) (diff)
downloadmason-3c62386a396ae0c1cd7adbaacc379eb4af072a65.tar
mason-3c62386a396ae0c1cd7adbaacc379eb4af072a65.tar.gz
mason-3c62386a396ae0c1cd7adbaacc379eb4af072a65.tar.bz2
mason-3c62386a396ae0c1cd7adbaacc379eb4af072a65.tar.lz
mason-3c62386a396ae0c1cd7adbaacc379eb4af072a65.tar.xz
mason-3c62386a396ae0c1cd7adbaacc379eb4af072a65.tar.zst
mason-3c62386a396ae0c1cd7adbaacc379eb4af072a65.zip
refactor: introduce selene, harden type defs, and use proper EmmyLua syntax (#296)
Diffstat (limited to 'vim.yml')
-rw-r--r--vim.yml65
1 files changed, 65 insertions, 0 deletions
diff --git a/vim.yml b/vim.yml
new file mode 100644
index 00000000..c5c582b6
--- /dev/null
+++ b/vim.yml
@@ -0,0 +1,65 @@
+---
+globals:
+ jit.os:
+ type: string
+ property: read-only
+ package.config:
+ type: string
+ property: read-only
+ vim:
+ any: true
+ async_test:
+ args:
+ - type: function
+ assert.wait_for:
+ args:
+ - type: function
+ InstallHandleGenerator:
+ args:
+ - type: string
+ InstallContextGenerator:
+ args:
+ - type: any
+ - type: table
+ required: false
+ mockx.throws:
+ args: []
+ mockx.just_runs:
+ args: []
+ mockx.returns:
+ args:
+ - type: any
+
+ describe:
+ args:
+ - type: string
+ - type: function
+ before_each:
+ args:
+ - type: function
+ it:
+ args:
+ - type: string
+ - type: function
+ assert.equals:
+ args:
+ - type: any
+ - type: any
+ assert.same:
+ args:
+ - type: any
+ - type: any
+ assert.is_true:
+ args:
+ - type: any
+ assert.is_false:
+ args:
+ - type: any
+ assert.has_error:
+ args:
+ - type: function
+ assert.is_nil:
+ args:
+ - type: any
+ assert.spy:
+ any: true