diff --git a/init.lua b/init.lua index 51c4aaa..b2f4fca 100644 --- a/init.lua +++ b/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 diff --git a/lua/lazy_setup.lua b/lua/lazy_setup.lua index cbfd74c..5066722 100644 --- a/lua/lazy_setup.lua +++ b/lua/lazy_setup.lua @@ -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]] diff --git a/lua/plugins/05-community.lua b/lua/plugins/05-community.lua index aec3c2c..4878496 100644 --- a/lua/plugins/05-community.lua +++ b/lua/plugins/05-community.lua @@ -36,5 +36,5 @@ return { -- CVS { import = "astrocommunity.git.diffview-nvim" }, -- Diff - { import = "astrocommunity.git.neogit"}, -- Git + { import = "astrocommunity.git.neogit" }, -- Git } diff --git a/lua/plugins/20-lsp.lua b/lua/plugins/20-lsp.lua index 6a6dbc2..778b94d 100644 --- a/lua/plugins/20-lsp.lua +++ b/lua/plugins/20-lsp.lua @@ -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 diff --git a/lua/plugins/50-user.lua b/lua/plugins/50-user.lua index 5435b42..8d30069 100644 --- a/lua/plugins/50-user.lua +++ b/lua/plugins/50-user.lua @@ -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" }, }