Skip to content

Commit

Permalink
clean up a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
adalessa committed Jun 22, 2024
1 parent fb8d142 commit 8aaf614
Show file tree
Hide file tree
Showing 12 changed files with 54 additions and 253 deletions.
3 changes: 0 additions & 3 deletions .envrc

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/main.yml

This file was deleted.

1 change: 1 addition & 0 deletions .neoconf.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"neodev": {
"library": {
"plugins": [
"telescope.nvim",
"plenary.nvim"
]
}
Expand Down
6 changes: 0 additions & 6 deletions .stylua.toml

This file was deleted.

31 changes: 0 additions & 31 deletions TODO.md

This file was deleted.

156 changes: 0 additions & 156 deletions devenv.lock

This file was deleted.

25 changes: 0 additions & 25 deletions devenv.nix

This file was deleted.

3 changes: 0 additions & 3 deletions devenv.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions lua/laravel/tinker/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ local split = Split({
},
})

vim.api.nvim_create_autocmd({"BufEnter"}, {
vim.api.nvim_create_autocmd({ "BufEnter" }, {
pattern = "*.tinker",
group = group,
callback = function(ev)
Expand All @@ -30,7 +30,7 @@ vim.api.nvim_create_autocmd({"BufEnter"}, {
end
});

vim.api.nvim_create_autocmd({"BufWinLeave"}, {
vim.api.nvim_create_autocmd({ "BufWinLeave" }, {
pattern = "*.tinker",
group = group,
callback = function()
Expand All @@ -52,7 +52,7 @@ vim.api.nvim_create_autocmd({ "BufWritePost" }, {
local line = raw_line:gsub("^%s*(.-)%s*$", "%1")
return line ~= "" and line:sub(1, 2) ~= "//" and line:sub(1, 2) ~= "/*"
and line:sub(1, 2) ~= "*/" and line:sub(1, 1) ~= "*"
and line:sub(1, 1) ~= "#"
and line:sub(1, 1) ~= "#"
end, lines)

if #lines == 0 then
Expand Down
1 change: 1 addition & 0 deletions selene.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
std="vim"
3 changes: 3 additions & 0 deletions stylua.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
indent_type = "Spaces"
indent_width = 2
column_width = 120
46 changes: 46 additions & 0 deletions vim.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[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.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.spy.args]]
type = "any"

[[assert.stub.args]]
type = "any"

0 comments on commit 8aaf614

Please sign in to comment.