Compare commits
3 Commits
eb1c15e09a
...
be241284ff
| Author | SHA1 | Date | |
|---|---|---|---|
| be241284ff | |||
| 3ec0813f8a | |||
| 95add5d757 |
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]]
|
||||
|
||||
@@ -22,19 +22,19 @@ return {
|
||||
{ enabled = false, import = "astrocommunity.pack.wgsl" }, -- WebGLShaderLanguage
|
||||
|
||||
-- DAP
|
||||
-- Figure out if needed when you finaly try to use the DAP
|
||||
-- { import = "astrocommunity.debugging.telescope-dap-nvim" },
|
||||
-- { import = "astrocommunity.debugging.nvim-dap-virtual-text" },
|
||||
-- { import = "astrocommunity.debugging.nvim-dap-repl-highlights" },
|
||||
|
||||
-- Others
|
||||
-- { import = "astrocommunity.debugging.nvim-bqf" },
|
||||
{ import = "astrocommunity.debugging.telescope-dap-nvim" },
|
||||
{ import = "astrocommunity.debugging.nvim-dap-virtual-text" },
|
||||
{ import = "astrocommunity.debugging.nvim-dap-repl-highlights" },
|
||||
-- Motions
|
||||
{ import = "astrocommunity.motion.nvim-surround" }, -- Surround
|
||||
{ import = "astrocommunity.motion.nvim-spider" }, -- Move in subwords
|
||||
-- Lsp
|
||||
{ import = "astrocommunity.lsp.lsp-signature-nvim" }, -- Support for lsp signatureHelp
|
||||
{ import = "astrocommunity.lsp.lsplinks-nvim" }, -- Support for document links (needed?)
|
||||
|
||||
-- CVS
|
||||
{ import = "astrocommunity.git.diffview-nvim" }, -- Diff
|
||||
{ import = "astrocommunity.git.neogit"}, -- Git
|
||||
{ import = "astrocommunity.git.neogit" }, -- Git
|
||||
-- Tools
|
||||
{ import = "astrocommunity.editin-support.conform-nvim" },
|
||||
{ import = "astrocommunity.editin-support.refactoring-nvim" },
|
||||
}
|
||||
|
||||
@@ -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