chore(format)
This commit is contained in:
8
init.lua
8
init.lua
@@ -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
|
||||||
|
|||||||
@@ -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]]
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user