chore(format)

This commit is contained in:
2024-03-16 11:21:46 +01:00
parent eb1c15e09a
commit 95add5d757
5 changed files with 9 additions and 13 deletions

View File

@@ -13,14 +13,10 @@ end
vim.opt.rtp:prepend(lazypath) vim.opt.rtp:prepend(lazypath)
if not pcall(require, "lazy") then if not pcall(require, "lazy") then
vim.api.nvim_echo( vim.api.nvim_echo({
{ { ("Unable to load lazy from: %s\n"):format(lazypath), "ErrorMsg" },
{ ("Unable to load lazy from: %s\n"):format(lazypath), "ErrorMsg" }, { "Press any key to exit...", "MoreMsg" },
{ "Press any key to exit...", "MoreMsg" }, }, true, {})
},
true,
{}
)
vim.fn.getchar() vim.fn.getchar()
vim.cmd.quit() vim.cmd.quit()
end end

View File

@@ -1,4 +1,4 @@
require("lazy").setup{ require("lazy").setup({
spec = { spec = {
-- TODO: remove branch v4 on release -- TODO: remove branch v4 on release
{ {
@@ -26,4 +26,4 @@ require("lazy").setup{
patterns = {}, patterns = {},
fallback = true, -- Fallback to git when local plugin doesn't exist fallback = true, -- Fallback to git when local plugin doesn't exist
}, },
} --[[@as LazyConfig]] }) --[[@as LazyConfig]]

View File

@@ -36,5 +36,5 @@ return {
-- CVS -- CVS
{ import = "astrocommunity.git.diffview-nvim" }, -- Diff { import = "astrocommunity.git.diffview-nvim" }, -- Diff
{ import = "astrocommunity.git.neogit"}, -- Git { import = "astrocommunity.git.neogit" }, -- Git
} }

View File

@@ -25,7 +25,7 @@ return {
---@diagnostic disable: missing-fields ---@diagnostic disable: missing-fields
config = { config = {
clangd = { clangd = {
filetypes = { 'c', 'cpp', 'objc', 'objcpp', 'cuda' }, filetypes = { "c", "cpp", "objc", "objcpp", "cuda" },
cmd = { cmd = {
"clangd", "clangd",
"--header-insertion=never", -- Disable auto includes "--header-insertion=never", -- Disable auto includes

View File

@@ -1,5 +1,5 @@
---@type LazySpec ---@type LazySpec
return { return {
-- { "echasnovski/mini.align", event = "User AstroFile" }, -- { "echasnovski/mini.align", event = "User AstroFile" },
{ "tpope/vim-abolish", event = "User AstroFile" }, { "tpope/vim-abolish", event = "User AstroFile" },
} }