Compare commits

...

5 Commits

3 changed files with 18 additions and 6 deletions

View File

@@ -9,12 +9,16 @@ return {
{ enabled = true, import = "astrocommunity.pack.cpp" },
{ enabled = true, import = "astrocommunity.pack.lua" },
{ enabled = true, import = "astrocommunity.pack.markdown" },
{ enabled = home, import = "astrocommunity.pack.rust" },
{ enabled = home, import = "astrocommunity.pack.bash" },
{ enabled = home, import = "astrocommunity.pack.rust" },
{ enabled = work, import = "astrocommunity.pack.cs" },
{ enabled = work, import = "astrocommunity.pack.ps1" },
{ enabled = false, import = "astrocommunity.pack.html-css" },
{ enabled = false, import = "astrocommunity.pack.java" },
{ enabled = false, import = "astrocommunity.pack.proto" },
{ enabled = false, import = "astrocommunity.pack.wgsl" }, -- WebGLShaderLanguage
-- DAP
@@ -25,7 +29,10 @@ return {
-- Others
-- { import = "astrocommunity.debugging.nvim-bqf" },
{ import = "astrocommunity.motion.mini-surround" }, -- Surround
{ import = "astrocommunity.motion.nvim-surround" }, -- Surround
{ import = "astrocommunity.motion.nvim-spider" }, -- Move in subwords
{ 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

View File

@@ -5,7 +5,7 @@ return {
opts = {
features = {
autoformat = false,
inlay_hints = true,
inlay_hints = false, -- BUG: upstream https://github.com/neovim/neovim/issues/27645
},
formatting = {
format_on_save = {
@@ -16,7 +16,7 @@ return {
mappings = {
n = {
gh = {
require("clangd_extensions.switch_source_header").switch_source_header,
function() require("clangd_extensions.switch_source_header").switch_source_header() end,
desc = "Switch to matching source or header file",
cond = "textDocument/switchSourceHeader",
},
@@ -25,7 +25,12 @@ return {
---@diagnostic disable: missing-fields
config = {
clangd = {
cmd = { "clangd", "--header-insertion=never" }, -- Disable auto includes
filetypes = { 'c', 'cpp', 'objc', 'objcpp', 'cuda' },
cmd = {
"clangd",
"--header-insertion=never", -- Disable auto includes
"--enable-config", -- Enable .clangd and clangd.yaml files
},
},
},
},

View File

@@ -1,5 +1,5 @@
---@type LazySpec
return {
{ "echasnovski/mini.align", event = "User AstroFile" },
-- { "echasnovski/mini.align", event = "User AstroFile" },
{ "tpope/vim-abolish", event = "User AstroFile" },
}