-- Author : swytch -- Created : Monday May 2, 2022 21:00:24 CET -- License : GPLv3 -- Description : neovim lsp config file for clangd local M = {} local lsp_root_path = vim.fn.stdpath("data") .. "/lsp_servers/" local clangd_binary = lsp_root_path .. "clangd/clangd/bin/clangd" M.setup = function(opts) opts.settings = { cmd = { clangd_binary, "--background-index", "--suggest-missing-includes", "--clang-tidy", "--header-insertion=iwyu" }, } end return M