lazy clangd

This commit is contained in:
dlond 2025-05-30 20:26:30 +12:00
parent f6d5957079
commit b317778ed1
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ M.clang_filetypes = { 'c', 'cpp', 'objc', 'objcpp', 'cuda' }
local lspconfig = require 'lspconfig' local lspconfig = require 'lspconfig'
local function find_compile_commands() function M.find_compile_commands()
local results = vim.fn.systemlist { 'fd', '-u', '-t', 'f', 'compile_commands.json' } local results = vim.fn.systemlist { 'fd', '-u', '-t', 'f', 'compile_commands.json' }
if vim.tbl_isempty(results) then if vim.tbl_isempty(results) then
return nil return nil