This commit is contained in:
dlond 2025-05-30 03:07:51 +12:00
parent de83e49f90
commit 352054c763
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ return {
config = function()
vim.api.nvim_create_autocmd('FileType', {
pattern = M.clang_filetypes,
group = vim.api.nvim_create_autocmd('clangd-setup', { clear = true }),
group = vim.api.nvim_create_augroup('clangd-setup', { clear = true }),
callback = function()
if not vim.lsp.get_clients({ name = 'clangd' })[1] then
local dir = find_compile_commands()