Meta: Make YCM return flags as Python list

As per YCM's own .ycm_extra_conf.py:
```python
final_flags = list( compilation_info.compiler_flags_ )
```
Before this change clangd would crash.
This commit is contained in:
Antoni Duda 2024-07-06 11:25:37 +02:00 committed by Andrew Kaster
parent 8867146327
commit 51f5da00d7

View File

@ -71,7 +71,7 @@ def Settings(**kwargs): # noqa: N802
return {}
return {
'flags': compilation_info.compiler_flags_,
'flags': list(compilation_info.compiler_flags_),
'include_paths_relative_to_dir': DIR_OF_THIS_SCRIPT,
'override_filename': filename
}