This commit is contained in:
dlond 2025-05-25 17:04:57 +12:00
parent d7711c7cdb
commit 769db3c470
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ return {
'clangd',
'--compile-commands-dir=build',
'--query-driver=' .. vim.fn.trim(vim.fn.system 'which clang++'),
'--resource-dir' .. vim.fn.trim(vim.fn.system 'clang++ --print-resource-dir'),
'--resource-dir=' .. vim.fn.trim(vim.fn.system 'clang++ --print-resource-dir'),
},
filetypes = { 'c', 'cpp', 'objc', 'objcpp', 'cuda' },
root_dir = require('lspconfig.util').root_pattern('CMakeLists.txt', '.git'),