The following section of ALE’s wiki page might be helpful:
this post was submitted on 12 Jul 2023
6 points (100.0% liked)
VIM - Vi Improved
825 readers
1 users here now
VIM - Vi Improved, text editor community
Please use English.
founded 4 years ago
MODERATORS
I saw that but where do I put compile_commands.json
? It isn't working
my compile_commands.json for reference:
[
{ "directory": "/home/user/watch",
"command": "/usr/bin/gcc $( pkg-config --cflags gtk4 ) -o program main.c $( pkg-config --libs gtk4 )",
"file": "main.c" }
]
Seems like you solved it with the Makefile option but it is odd that compile_commands.json
is not parsed (I can confirm this on my machine). Anyway thanks for providing a solution :)