Updating all files to use stylua

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2023-08-31 12:14:37 +02:00
parent 4e07e36ca7
commit 2eaafbc10e
27 changed files with 788 additions and 737 deletions

View File

@@ -1,27 +1,27 @@
local status, cmdline = pcall(require, "fine-cmdline")
if not status then
return
return
end
cmdline.setup({
cmdline = {
enable_keymaps = true,
smart_history = true,
prompt = "> ",
},
popup = {
position = {
row = "10%",
col = "50%",
},
size = {
width = "80%",
},
border = {
style = "rounded",
},
win_options = {
winhighlight = "Normal:Normal,FloatBorder:FloatBorder",
},
},
cmdline = {
enable_keymaps = true,
smart_history = true,
prompt = "> ",
},
popup = {
position = {
row = "10%",
col = "50%",
},
size = {
width = "80%",
},
border = {
style = "rounded",
},
win_options = {
winhighlight = "Normal:Normal,FloatBorder:FloatBorder",
},
},
})

View File

@@ -1,52 +1,52 @@
local status, keyseer = pcall(require, "keyseer")
if not status then
return
return
end
keyseer.setup({
debug = false,
initial_mode = "n",
include_builtin_keymaps = true,
include_global_keymaps = true,
include_buffer_keymaps = true,
include_modified_keypresses = false,
ignore_whichkey_conflicts = true,
debug = false,
initial_mode = "n",
include_builtin_keymaps = true,
include_global_keymaps = true,
include_buffer_keymaps = true,
include_modified_keypresses = false,
ignore_whichkey_conflicts = true,
ui = {
border = "double",
margin = { 1, 0, 1, 0 },
winblend = 0,
size = {
width = 65,
height = 10,
ui = {
border = "double",
margin = { 1, 0, 1, 0 },
winblend = 0,
size = {
width = 65,
height = 10,
},
icons = {
keyseer = "",
},
show_header = true,
},
icons = {
keyseer = "",
keyboard = {
layout = "qwertz",
keycap_padding = { 0, 1, 0, 1 },
highlight_padding = { 0, 0, 0, 0 },
key_labels = {
["Up"] = "",
["Down"] = "",
["Left"] = "",
["Right"] = "",
["<F1>"] = "F1",
["<F2>"] = "F2",
["<F3>"] = "F3",
["<F4>"] = "F4",
["<F5>"] = "F5",
["<F6>"] = "F6",
["<F7>"] = "F7",
["<F8>"] = "F8",
["<F9>"] = "F9",
["<F10>"] = "F10",
-- ["<space>"] = "SPC",
-- ["<cr>"] = "RET",
-- ["<tab>"] = "TAB",
},
},
show_header = true,
},
keyboard = {
layout = "qwertz",
keycap_padding = { 0, 1, 0, 1 },
highlight_padding = { 0, 0, 0, 0 },
key_labels = {
["Up"] = "",
["Down"] = "",
["Left"] = "",
["Right"] = "",
["<F1>"] = "F1",
["<F2>"] = "F2",
["<F3>"] = "F3",
["<F4>"] = "F4",
["<F5>"] = "F5",
["<F6>"] = "F6",
["<F7>"] = "F7",
["<F8>"] = "F8",
["<F9>"] = "F9",
["<F10>"] = "F10",
-- ["<space>"] = "SPC",
-- ["<cr>"] = "RET",
-- ["<tab>"] = "TAB",
},
},
})

View File

@@ -1,58 +1,58 @@
local setup, neogit = pcall(require, "neogit")
if not setup then
return
return
end
neogit.setup({
auto_refresh = true,
remember_settings = true,
disable_insert_on_commit = false,
commit_popup = {
kind = "split",
},
preview_buffer = {
kind = "split",
},
popup = {
kind = "split",
},
signs = {
section = { "", "" },
item = { "", "" },
hunk = { "", "" },
},
integrations = {
diffview = true,
},
sections = {
untracked = {
folded = false,
},
unstaged = {
folded = false,
},
staged = {
folded = false,
},
stashes = {
folded = true,
},
unpulled = {
folded = true,
hidden = false,
},
unmerged = {
folded = false,
hidden = false,
},
recent = {
folded = true,
},
},
mappings = {
status = {
["p"] = "PushPopup",
["P"] = "PullPopup",
},
},
auto_refresh = true,
remember_settings = true,
disable_insert_on_commit = false,
commit_popup = {
kind = "split",
},
preview_buffer = {
kind = "split",
},
popup = {
kind = "split",
},
signs = {
section = { "", "" },
item = { "", "" },
hunk = { "", "" },
},
integrations = {
diffview = true,
},
sections = {
untracked = {
folded = false,
},
unstaged = {
folded = false,
},
staged = {
folded = false,
},
stashes = {
folded = true,
},
unpulled = {
folded = true,
hidden = false,
},
unmerged = {
folded = false,
hidden = false,
},
recent = {
folded = true,
},
},
mappings = {
status = {
["p"] = "PushPopup",
["P"] = "PullPopup",
},
},
})

View File

@@ -4,15 +4,15 @@ if not status then
end
neorg.setup({
load = {
["core.defaults"] = {},
["core.concealer"] = {},
["core.dirman"] = {
config = {
workspaces = {
main = "~/neorg/main",
},
},
},
},
load = {
["core.defaults"] = {},
["core.concealer"] = {},
["core.dirman"] = {
config = {
workspaces = {
main = "~/neorg/main",
},
},
},
},
})

View File

@@ -1,17 +1,17 @@
local setup, nvimcord = pcall(require, 'nvimcord')
local setup, nvimcord = pcall(require, "nvimcord")
if not setup then
return
end
nvimcord.setup {
nvimcord.setup({
autostart = false,
client_id = '954365489214291979',
client_id = "954365489214291979",
large_file_icon = false,
log_level = vim.log.levels.DEBUG,
workspace_name = function()
return vim.cmd [[pwd]]
return vim.cmd([[pwd]])
end,
workspace_url = function()
return ''
return ""
end,
}
})

View File

@@ -3,7 +3,7 @@ if not status then
return
end
toggleterm.setup {
toggleterm.setup({
shell = "pwsh.exe -nologo",
start_in_insert = true,
}
})