Compare commits

...

3 Commits

Author SHA1 Message Date
be241284ff feat(community): added conform and refactoring 2024-03-20 12:05:37 +01:00
3ec0813f8a feat(dap): re added dap tools 2024-03-20 12:05:15 +01:00
95add5d757 chore(format) 2024-03-16 11:21:46 +01:00
5 changed files with 17 additions and 21 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

@@ -22,19 +22,19 @@ return {
{ enabled = false, import = "astrocommunity.pack.wgsl" }, -- WebGLShaderLanguage { enabled = false, import = "astrocommunity.pack.wgsl" }, -- WebGLShaderLanguage
-- DAP -- DAP
-- Figure out if needed when you finaly try to use the DAP { import = "astrocommunity.debugging.telescope-dap-nvim" },
-- { import = "astrocommunity.debugging.telescope-dap-nvim" }, { import = "astrocommunity.debugging.nvim-dap-virtual-text" },
-- { import = "astrocommunity.debugging.nvim-dap-virtual-text" }, { import = "astrocommunity.debugging.nvim-dap-repl-highlights" },
-- { import = "astrocommunity.debugging.nvim-dap-repl-highlights" }, -- Motions
-- Others
-- { import = "astrocommunity.debugging.nvim-bqf" },
{ import = "astrocommunity.motion.nvim-surround" }, -- Surround { import = "astrocommunity.motion.nvim-surround" }, -- Surround
{ import = "astrocommunity.motion.nvim-spider" }, -- Move in subwords { import = "astrocommunity.motion.nvim-spider" }, -- Move in subwords
-- Lsp
{ import = "astrocommunity.lsp.lsp-signature-nvim" }, -- Support for lsp signatureHelp { import = "astrocommunity.lsp.lsp-signature-nvim" }, -- Support for lsp signatureHelp
{ import = "astrocommunity.lsp.lsplinks-nvim" }, -- Support for document links (needed?) { import = "astrocommunity.lsp.lsplinks-nvim" }, -- Support for document links (needed?)
-- CVS -- CVS
{ import = "astrocommunity.git.diffview-nvim" }, -- Diff { 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" },
} }

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" },
} }