From 0b020298aa3dafacd2f6633533ca91fba5698340 Mon Sep 17 00:00:00 2001 From: Ben Iofel Date: Fri, 22 Mar 2024 20:15:16 -0400 Subject: [PATCH] Document shebang deps --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 86819b74..4b243bdd 100644 --- a/README.md +++ b/README.md @@ -177,6 +177,16 @@ endif ``` - Run `Tools > LSP > Enable Language Server Globally... > vala-language-server` +## Specifying dependencies + +If you're using meson, vala-language-server will automatically detect the packages you depend on. + +If you just want to write a quick script without a build system, you can add a shebang line to the top of your .vala file: + +```c +#!/usr/bin/env -S vala --pkg gtk4 +``` + ## Contributing Want to help out? Here are some helpful resources: