Fixed path to compile_commands.json
This commit is contained in:
parent
3209e01c99
commit
3a700044c4
@ -110,9 +110,9 @@ lsp_installer.on_server_ready(function(server)
|
||||
}
|
||||
|
||||
-- (optional) Customize the options passed to the server
|
||||
-- if server.name == "tsserver" then
|
||||
-- opts.root_dir = function() ... end
|
||||
-- end
|
||||
if server.name == "clangd" then
|
||||
opts.cmd = { "clangd" , "--compile-commands-dir=build_nvim"}
|
||||
end
|
||||
|
||||
-- This setup() function is exactly the same as lspconfig's setup function (:help lspconfig-quickstart)
|
||||
server:setup(opts)
|
||||
|
Loading…
x
Reference in New Issue
Block a user