summaryrefslogtreecommitdiff
path: root/lsp.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-08 09:45:58 -0500
committerpommicket <pommicket@gmail.com>2023-01-08 09:45:58 -0500
commit2d2922637d08bb156cfdcbaaba00a974e6e7a8cf (patch)
tree09fe8a64402245bb3618595f3a10a2e6bbafe22e /lsp.h
parent498b670de076909452c0fd6bc4629aca8974d9f7 (diff)
make 0 not a valid document ID
Diffstat (limited to 'lsp.h')
-rw-r--r--lsp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp.h b/lsp.h
index 68e90e6..1e11180 100644
--- a/lsp.h
+++ b/lsp.h
@@ -8,7 +8,7 @@
#include "ds.h"
#include "os.h"
-// an ID specific to a path. 0 is a valid document ID, currently.
+// an ID specific to a path. a document's ID is never 0 (thanks to lsp_create).
typedef u32 LSPDocumentID;
// ID of an LSP server. a server's ID is never 0.
typedef u32 LSPID;