From 17be2bff90a22d8bafc102e3ca1730bb05026841 Mon Sep 17 00:00:00 2001 From: Stephanie Gredell Date: Sun, 8 Feb 2026 13:11:22 -0800 Subject: Add ability to reference files in prompt buffer - type @ in the prompt to fuzzy-search and reference project files, content gets resolved and injected into LLMcontext - moved completion provider logic out of cmp.lua into agents and files domain modules - added completions registry to support multiple trigger characters (# rules, @ files) - added tests for file discovery, fuzzy matching, and the completions registry --- syntax/99prompt.vim | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 syntax/99prompt.vim (limited to 'syntax') diff --git a/syntax/99prompt.vim b/syntax/99prompt.vim new file mode 100644 index 0000000..31e4b7b --- /dev/null +++ b/syntax/99prompt.vim @@ -0,0 +1,14 @@ +" Syntax file for 99 prompt window +" Highlights #rules in cyan and @files in goldenrod + +if exists("b:current_syntax") + finish +endif + +syntax match 99RuleRef /#\S\+/ +syntax match 99FileRef /@\S\+/ + +highlight default 99RuleRef guifg=#00FFFF ctermfg=cyan +highlight default 99FileRef guifg=#DAA520 ctermfg=178 + +let b:current_syntax = "99prompt" -- cgit v1.3-3-g829e