chore(format)
This commit is contained in:
12
init.lua
12
init.lua
@@ -13,14 +13,10 @@ end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
if not pcall(require, "lazy") then
|
||||
vim.api.nvim_echo(
|
||||
{
|
||||
{ ("Unable to load lazy from: %s\n"):format(lazypath), "ErrorMsg" },
|
||||
{ "Press any key to exit...", "MoreMsg" },
|
||||
},
|
||||
true,
|
||||
{}
|
||||
)
|
||||
vim.api.nvim_echo({
|
||||
{ ("Unable to load lazy from: %s\n"):format(lazypath), "ErrorMsg" },
|
||||
{ "Press any key to exit...", "MoreMsg" },
|
||||
}, true, {})
|
||||
vim.fn.getchar()
|
||||
vim.cmd.quit()
|
||||
end
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require("lazy").setup{
|
||||
require("lazy").setup({
|
||||
spec = {
|
||||
-- TODO: remove branch v4 on release
|
||||
{
|
||||
@@ -26,4 +26,4 @@ require("lazy").setup{
|
||||
patterns = {},
|
||||
fallback = true, -- Fallback to git when local plugin doesn't exist
|
||||
},
|
||||
} --[[@as LazyConfig]]
|
||||
}) --[[@as LazyConfig]]
|
||||
|
||||
@@ -36,5 +36,5 @@ return {
|
||||
|
||||
-- CVS
|
||||
{ import = "astrocommunity.git.diffview-nvim" }, -- Diff
|
||||
{ import = "astrocommunity.git.neogit"}, -- Git
|
||||
{ import = "astrocommunity.git.neogit" }, -- Git
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ return {
|
||||
---@diagnostic disable: missing-fields
|
||||
config = {
|
||||
clangd = {
|
||||
filetypes = { 'c', 'cpp', 'objc', 'objcpp', 'cuda' },
|
||||
filetypes = { "c", "cpp", "objc", "objcpp", "cuda" },
|
||||
cmd = {
|
||||
"clangd",
|
||||
"--header-insertion=never", -- Disable auto includes
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---@type LazySpec
|
||||
return {
|
||||
-- { "echasnovski/mini.align", event = "User AstroFile" },
|
||||
{ "tpope/vim-abolish", event = "User AstroFile" },
|
||||
{ "tpope/vim-abolish", event = "User AstroFile" },
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user