1 2 3 4 5
vim.lsp.start({ name = 'clangd', cmd = {'clangd'}, root_dir = vim.fs.dirname(vim.fs.find({'Makefile', 'main.c'}, { upward = true })[1]), })