mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
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:
committed by
Andrew Kaster
parent
8867146327
commit
51f5da00d7
@@ -71,7 +71,7 @@ def Settings(**kwargs): # noqa: N802
|
|||||||
return {}
|
return {}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'flags': compilation_info.compiler_flags_,
|
'flags': list(compilation_info.compiler_flags_),
|
||||||
'include_paths_relative_to_dir': DIR_OF_THIS_SCRIPT,
|
'include_paths_relative_to_dir': DIR_OF_THIS_SCRIPT,
|
||||||
'override_filename': filename
|
'override_filename': filename
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user