Commit graph

4 commits

Author SHA1 Message Date
c56fc66966 make-lsp: Fix quoting on -C and -f, JSON dir fix 2023-10-09 03:02:49 -05:00
abd0a7dd01 make-lsp: Support Makefiles using cc/cxx/c++ 2023-10-09 02:46:36 -05:00
2c0774e4a7 make-lsp: Check for jq command on startup 2023-10-09 02:41:34 -05:00
3c216356b6 [NEW] make-lsp: Generate clangd command JSON for make targets
Currently my silly-cc project kind of sucks, but I need a way to
generate my compile commands for LSP on Makefile-based and
Autotools-based projects.  This shell script should work most of the
time provided your Makefiles aren't silencing the emission of compile
commands with a prepending dash ("-") on targets that we care about.
2023-10-09 02:33:21 -05:00