mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-30 12:03:59 +01:00
Autocomplete URLs of other requests
This commit is contained in:
1 parent
0b494bbfbf
commit
8de917ea5e
5 files changed
+32
-15
No files matched your search
@@ -1,5 +1,4 @@
|
||||
import { LanguageSupport, LRLanguage } from '@codemirror/language';
|
||||
import { completions } from './completion';
|
||||
import { parser } from './url';
|
||||
|
||||
const urlLanguage = LRLanguage.define({
|
||||
@@ -7,8 +6,6 @@ const urlLanguage = LRLanguage.define({
|
||||
languageData: {},
|
||||
});
|
||||
|
||||
const completion = urlLanguage.data.of({ autocomplete: completions });
|
||||
|
||||
export function url() {
|
||||
return new LanguageSupport(urlLanguage, [completion]);
|
||||
return new LanguageSupport(urlLanguage, []);
|
||||
}
|
||||
Reference in new issue
Block a user