refactor: Update stylua.toml and format
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
vim.api.nvim_create_autocmd('WinEnter', {
|
vim.api.nvim_create_autocmd("WinEnter", {
|
||||||
once = true,
|
once = true,
|
||||||
command = [[ set laststatus=0 ]],
|
command = [[ set laststatus=0 ]],
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -213,9 +213,9 @@ wk.add {
|
|||||||
require("neotest").run.run()
|
require("neotest").run.run()
|
||||||
end, "Run nearest test"),
|
end, "Run nearest test"),
|
||||||
set_key.cmd("tT", function()
|
set_key.cmd("tT", function()
|
||||||
require("neotest").run.run({strategy = "dap"})
|
require("neotest").run.run { strategy = "dap" }
|
||||||
end, "Debug nearest test"),
|
end, "Debug nearest test"),
|
||||||
set_key.cmd("ta", function()
|
set_key.cmd("ta", function()
|
||||||
require("neotest").run.run(vim.fn.expand("%"))
|
require("neotest").run.run(vim.fn.expand "%")
|
||||||
end, "Run all tests in file"),
|
end, "Run all tests in file"),
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,2 +1,4 @@
|
|||||||
quote_style = "AutoPreferSingle"
|
quote_style = "AutoPreferDouble"
|
||||||
call_parentheses = "None"
|
call_parentheses = "None"
|
||||||
|
indent_type = "Spaces"
|
||||||
|
indent_width = 2
|
||||||
|
|||||||
Reference in New Issue
Block a user