refactor: move things

This commit is contained in:
isabel 2024-10-29 21:54:48 +00:00
parent 75b60f6ec4
commit c3567238aa
No known key found for this signature in database
GPG key ID: 08A97B9A107A1798
4 changed files with 58 additions and 7 deletions

View file

@ -171,7 +171,6 @@ return {
{
"rustaceanvim",
ft = "rust",
after = rq("rust"),
},
{

View file

@ -194,12 +194,9 @@ symlinkJoin {
postBuild = ''
wrapProgram $out/bin/nvim \
--prefix PATH : ${makeBinPath externalDeps} \
--add-flags '-u' \
--add-flags 'NORC' \
--add-flags '--cmd' \
--add-flags '"lua vim.loader.enable()"' \
--add-flags '--cmd' \
--add-flags '"set packpath^=${packDir} | set runtimepath^=${packDir}"' \
--add-flags '-u NORC' \
--add-flags '--cmd "lua vim.loader.enable()"' \
--add-flags '--cmd "set packpath^=${packDir} | set runtimepath^=${packDir}"' \
--set 'NVIM_APPNAME=${pname}'
ln -s $out/bin/nvim $out/bin/${pname}

55
vim.toml Normal file
View file

@ -0,0 +1,55 @@
[selene]
base = "lua51"
name = "vim"
[vim]
any = true
[[describe.args]]
type = "string"
[[describe.args]]
type = "function"
[[it.args]]
type = "string"
[[it.args]]
type = "function"
[[before_each.args]]
type = "function"
[[after_each.args]]
type = "function"
[assert.is_not]
any = true
[assert.matches]
any = true
[assert.has_error]
any = true
[[assert.equals.args]]
type = "any"
[[assert.equals.args]]
type = "any"
[[assert.equals.args]]
type = "any"
required = false
[[assert.same.args]]
type = "any"
[[assert.same.args]]
type = "any"
[[assert.truthy.args]]
type = "any"
[[assert.falsy.args]]
type = "any"
[[assert.spy.args]]
type = "any"
[[assert.stub.args]]
type = "any"