diff options
| author | Stephanie Gredell <s.raide@gmail.com> | 2026-02-08 13:11:22 -0800 |
|---|---|---|
| committer | Stephanie Gredell <s.raide@gmail.com> | 2026-02-08 17:22:07 -0800 |
| commit | 17be2bff90a22d8bafc102e3ca1730bb05026841 (patch) | |
| tree | 2ece5692956be9b03bc4453371fd8f105d8a10b4 /syntax | |
| parent | 489e132d4aec29970e0981ee12252d3925ad49c3 (diff) | |
| download | a4-17be2bff90a22d8bafc102e3ca1730bb05026841.tar.xz a4-17be2bff90a22d8bafc102e3ca1730bb05026841.zip | |
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
Diffstat (limited to 'syntax')
| -rw-r--r-- | syntax/99prompt.vim | 14 |
1 files changed, 14 insertions, 0 deletions
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" |
