ccls/src
Fangrui Song c06c2ca324 Support multiple -init=
Initialization options are applied (deserialized to the same object) in the following order:

* "initializationOptions" from client
* first -init=
* second -init=
* ...

Scalar options will be overridden but arrays will get concatenated, e.g.

ccls -log-file=/dev/stderr -index . -init='{"clang":{"extraArgs":["-DA"]}}' -init='{"clang":{"extraArgs":["-DB"]}}'

results in clang.extraArgs: ["-DA", "-DB"]
2019-11-09 20:09:13 -08:00
..
messages Support multiple -init= 2019-11-09 20:09:13 -08:00
clang_tu.cc Add ReplyOnce::NotReady and error if didOpen is not seen 2019-11-09 20:09:13 -08:00
clang_tu.hh *.h -> *.hh 2019-11-09 20:09:13 -08:00
config.cc *.h -> *.hh 2019-11-09 20:09:13 -08:00
config.hh Refactor serializer 2019-11-09 20:09:13 -08:00
filesystem.cc *.h -> *.hh 2019-11-09 20:09:13 -08:00
filesystem.hh Add license notice 2019-10-24 01:01:21 -07:00
fuzzy_match.cc *.h -> *.hh 2019-11-09 20:09:13 -08:00
fuzzy_match.hh *.h -> *.hh 2019-11-09 20:09:13 -08:00
hierarchy.hh Remove ls prefix from many LSP interfaces 2019-11-09 20:09:13 -08:00
include_complete.cc Spin IncludeComplete's destructor until scanning completes (#147) 2019-11-09 20:09:13 -08:00
include_complete.hh Spin IncludeComplete's destructor until scanning completes (#147) 2019-11-09 20:09:13 -08:00
indexer.cc Refactor serializer 2019-11-09 20:09:13 -08:00
indexer.hh Refactor serializer 2019-11-09 20:09:13 -08:00
log.cc Add license notice 2019-10-24 01:01:21 -07:00
log.hh Add license notice 2019-10-24 01:01:21 -07:00
lsp.cc Refactor serializer 2019-11-09 20:09:13 -08:00
lsp.hh Refactor serializer 2019-11-09 20:09:13 -08:00
main.cc Support multiple -init= 2019-11-09 20:09:13 -08:00
message_handler.cc Refactor serializer 2019-11-09 20:09:13 -08:00
message_handler.hh Refactor serializer 2019-11-09 20:09:13 -08:00
pipeline.cc Refactor serializer 2019-11-09 20:09:13 -08:00
pipeline.hh Refactor serializer 2019-11-09 20:09:13 -08:00
platform_posix.cc *.h -> *.hh 2019-11-09 20:09:13 -08:00
platform_win.cc *.h -> *.hh 2019-11-09 20:09:13 -08:00
platform.hh *.h -> *.hh 2019-11-09 20:09:13 -08:00
position.cc Refactor serializer 2019-11-09 20:09:13 -08:00
position.hh Refactor serializer 2019-11-09 20:09:13 -08:00
project.cc Refactor serializer 2019-11-09 20:09:13 -08:00
project.hh Remove ls prefix from many LSP interfaces 2019-11-09 20:09:13 -08:00
query.cc query: fix UpdateUses when a new entity is seen; simplify {DeclRef,Use,Usr}Update 2019-11-09 20:09:13 -08:00
query.hh query: fix UpdateUses when a new entity is seen; simplify {DeclRef,Use,Usr}Update 2019-11-09 20:09:13 -08:00
sema_manager.cc Refactor WorkingFiles and CompletionManager 2019-11-09 20:09:13 -08:00
sema_manager.hh Refactor WorkingFiles and CompletionManager 2019-11-09 20:09:13 -08:00
serializer.cc Refactor serializer 2019-11-09 20:09:13 -08:00
serializer.hh Refactor serializer 2019-11-09 20:09:13 -08:00
test.cc Refactor WorkingFiles and CompletionManager 2019-11-09 20:09:13 -08:00
test.hh *.h -> *.hh 2019-11-09 20:09:13 -08:00
threaded_queue.hh *.h -> *.hh 2019-11-09 20:09:13 -08:00
utils.cc Refactor Matcher to use pimpl and merge match.hh into utils.hh 2019-11-09 20:09:13 -08:00
utils.hh Merge maybe.hh into utils.hh 2019-11-09 20:09:13 -08:00
working_files.cc Refactor WorkingFiles and CompletionManager 2019-11-09 20:09:13 -08:00
working_files.hh Refactor WorkingFiles and CompletionManager 2019-11-09 20:09:13 -08:00