public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/5] Settings for Zed editor and minor fixups
@ 2026-08-21  5:03 David Gibson
  2026-08-21  5:03 ` [PATCH 1/5] clangd: Add _GNU_SOURCE to default clangd options David Gibson
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: David Gibson @ 2026-08-21  5:03 UTC (permalink / raw)
  To: Stefano Brivio, passt-dev, Laurent Vivier; +Cc: David Gibson

I've been playing with the Zed editor again.  It's default settings
don't quite match passt's style, so add a config file to make it do
the right thing.  Also update some of the config for clangd to
suppress bogus warnings the way Zed invokes it.

Between them these also found a handful of minor but real code warts,
so fix those, too.

David Gibson (5):
  clangd: Add _GNU_SOURCE to default clangd options
  util: Eliminate a stray trailing whitespace
  util: Add missing O_CLOEXEC for !HAS_GETRANDOM path
  util, pasta: Remove some unneeded #includes
  Add Zed editor settings

 .clangd            | 2 +-
 .zed/settings.json | 4 ++++
 pasta.c            | 1 -
 util.c             | 7 ++-----
 4 files changed, 7 insertions(+), 7 deletions(-)
 create mode 100644 .zed/settings.json

-- 
2.53.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-08-21  5:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-21  5:03 [PATCH 0/5] Settings for Zed editor and minor fixups David Gibson
2026-08-21  5:03 ` [PATCH 1/5] clangd: Add _GNU_SOURCE to default clangd options David Gibson
2026-08-21  5:04 ` [PATCH 2/5] util: Eliminate a stray trailing whitespace David Gibson
2026-08-21  5:04 ` [PATCH 3/5] util: Add missing O_CLOEXEC for !HAS_GETRANDOM path David Gibson
2026-08-21  5:04 ` [PATCH 4/5] util, pasta: Remove some unneeded #includes David Gibson
2026-08-21  5:04 ` [PATCH 5/5] Add Zed editor settings David Gibson

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).