style(nvim): format with stylua
This commit is contained in:
parent
5653be9041
commit
9a9bae1333
@ -16,7 +16,6 @@ M.setup = function()
|
|||||||
command = "StripTrailSpace",
|
command = "StripTrailSpace",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
-- NOTE: Disables status column elements in Terminal buffer
|
-- NOTE: Disables status column elements in Terminal buffer
|
||||||
vim.api.nvim_create_autocmd("TermOpen", {
|
vim.api.nvim_create_autocmd("TermOpen", {
|
||||||
group = augroup,
|
group = augroup,
|
||||||
@ -26,7 +25,7 @@ M.setup = function()
|
|||||||
vim.api.nvim_set_option_value("number", false, { scope = "local" })
|
vim.api.nvim_set_option_value("number", false, { scope = "local" })
|
||||||
vim.api.nvim_set_option_value("relativenumber", false, { scope = "local" })
|
vim.api.nvim_set_option_value("relativenumber", false, { scope = "local" })
|
||||||
vim.cmd.startinsert()
|
vim.cmd.startinsert()
|
||||||
end
|
end,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -75,8 +75,7 @@ M.setup = function()
|
|||||||
end, { silent = true, desc = "Insert Literal Tab" })
|
end, { silent = true, desc = "Insert Literal Tab" })
|
||||||
|
|
||||||
-- Binding to keep S-Space in terminals from not sending <Space>
|
-- Binding to keep S-Space in terminals from not sending <Space>
|
||||||
vim.keymap.set("t", "<S-Space>", "<Space>",
|
vim.keymap.set("t", "<S-Space>", "<Space>", { silent = true, desc = "Terminal: Hack S-Space to Space" })
|
||||||
{ silent = true, desc = "Terminal: Hack S-Space to Space" })
|
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
@ -61,7 +61,6 @@ return {
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
---@param sources table?
|
---@param sources table?
|
||||||
local standard_sources = function(sources)
|
local standard_sources = function(sources)
|
||||||
sources = sources or {}
|
sources = sources or {}
|
||||||
|
@ -16,7 +16,7 @@ return {
|
|||||||
require("image").setup({
|
require("image").setup({
|
||||||
window_overlap_clear_enabled = true,
|
window_overlap_clear_enabled = true,
|
||||||
})
|
})
|
||||||
end
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"nvim-neorg/neorg",
|
"nvim-neorg/neorg",
|
||||||
@ -26,7 +26,7 @@ return {
|
|||||||
keys = {
|
keys = {
|
||||||
{ "<leader>o", desc = "> Neorg" },
|
{ "<leader>o", desc = "> Neorg" },
|
||||||
{ "<leader>oj", ":Neorg journal custom<CR>", desc = "Neorg: Journal" },
|
{ "<leader>oj", ":Neorg journal custom<CR>", desc = "Neorg: Journal" },
|
||||||
{ "<leader>ot", ":Neorg toc<CR>", desc = "Neorg: Table of Contents" }
|
{ "<leader>ot", ":Neorg toc<CR>", desc = "Neorg: Table of Contents" },
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require("neorg").setup({
|
require("neorg").setup({
|
||||||
@ -34,25 +34,25 @@ return {
|
|||||||
["core.defaults"] = {},
|
["core.defaults"] = {},
|
||||||
["core.completion"] = {
|
["core.completion"] = {
|
||||||
config = {
|
config = {
|
||||||
engine = "nvim-cmp"
|
engine = "nvim-cmp",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
["core.neorgcmd"] = {},
|
["core.neorgcmd"] = {},
|
||||||
["core.summary"] = {},
|
["core.summary"] = {},
|
||||||
["core.journal"] = {
|
["core.journal"] = {
|
||||||
config = {
|
config = {
|
||||||
stategy = "flat"
|
stategy = "flat",
|
||||||
},
|
},
|
||||||
workspace = "default"
|
workspace = "default",
|
||||||
},
|
},
|
||||||
["core.dirman"] = {
|
["core.dirman"] = {
|
||||||
config = {
|
config = {
|
||||||
default_workspace = "default",
|
default_workspace = "default",
|
||||||
workspaces = {
|
workspaces = {
|
||||||
default = "~/Notes"
|
default = "~/Notes",
|
||||||
|
},
|
||||||
|
index = "index.norg",
|
||||||
},
|
},
|
||||||
index = "index.norg"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
["core.concealer"] = {
|
["core.concealer"] = {
|
||||||
config = {
|
config = {
|
||||||
@ -64,24 +64,24 @@ return {
|
|||||||
content_only = true,
|
content_only = true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
["core.integrations.treesitter"] = {
|
["core.integrations.treesitter"] = {
|
||||||
config = {
|
config = {
|
||||||
configure_parsers = true,
|
configure_parsers = true,
|
||||||
install_parsers = true
|
install_parsers = true,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
["core.qol.todo_items"] = {
|
["core.qol.todo_items"] = {
|
||||||
config = {
|
config = {
|
||||||
create_todo_items = true,
|
create_todo_items = true,
|
||||||
create_todo_parents = true
|
create_todo_parents = true,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
["core.ui"] = {},
|
["core.ui"] = {},
|
||||||
["core.ui.calendar"] = {}
|
["core.ui.calendar"] = {},
|
||||||
}
|
},
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user