mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-07 07:30:23 +03:00
missing cats
This commit is contained in:
parent
072bb7735b
commit
485a4d8482
12
base/cat/hood/breload/gate.hook
Normal file
12
base/cat/hood/breload/gate.hook
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
::
|
||||||
|
:::: /hook/gate/reload/hood/cat
|
||||||
|
::
|
||||||
|
/? 314
|
||||||
|
::
|
||||||
|
::::
|
||||||
|
!:
|
||||||
|
|= $: [now=@da eny=@uvI bec=beak]
|
||||||
|
[arg=(list term) ~]
|
||||||
|
==
|
||||||
|
:+ %hood-reload-desk %home
|
||||||
|
arg
|
12
base/cat/hood/reload-desk/gate.hook
Normal file
12
base/cat/hood/reload-desk/gate.hook
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
::
|
||||||
|
:::: /hook/gate/reload/hood/cat
|
||||||
|
::
|
||||||
|
/? 314
|
||||||
|
::
|
||||||
|
::::
|
||||||
|
!:
|
||||||
|
|= $: [now=@da eny=@uvI bec=beak]
|
||||||
|
[arg=[desk (list term)] ~]
|
||||||
|
==
|
||||||
|
:- %hood-reload-desk
|
||||||
|
arg
|
11
base/cat/hood/reset/gate.hook
Normal file
11
base/cat/hood/reset/gate.hook
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
::
|
||||||
|
:::: /hook/gate/reset/hood/cat
|
||||||
|
::
|
||||||
|
/? 314
|
||||||
|
::
|
||||||
|
::::
|
||||||
|
!:
|
||||||
|
|= $: [now=@da eny=@uvI bec=beak]
|
||||||
|
[arg=~ ~]
|
||||||
|
==
|
||||||
|
[%hood-reset ~]
|
@ -110,7 +110,7 @@ CodeMirror.defineMode("hoon", function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(stream.eat('`')){
|
if(stream.eat('`')){
|
||||||
state.space = false
|
state.space = true
|
||||||
return 'operator'
|
return 'operator'
|
||||||
}
|
}
|
||||||
if(stream.sol() && stream.eatWhile(glyph)){
|
if(stream.sol() && stream.eatWhile(glyph)){
|
||||||
@ -131,8 +131,10 @@ CodeMirror.defineMode("hoon", function() {
|
|||||||
return 'builtin'
|
return 'builtin'
|
||||||
return 'operator'
|
return 'operator'
|
||||||
}
|
}
|
||||||
if(stream.eat(/[=:.^]/))
|
if(stream.eat(/[=:.^]/)){
|
||||||
|
state.space = true
|
||||||
return 'operator'
|
return 'operator'
|
||||||
|
}
|
||||||
stream.next()
|
stream.next()
|
||||||
return 'builtin'
|
return 'builtin'
|
||||||
}
|
}
|
||||||
@ -154,4 +156,5 @@ CodeMirror.defineMode("hoon", function() {
|
|||||||
return res
|
return res
|
||||||
});
|
});
|
||||||
|
|
||||||
|
CodeMirror.registerHelper("wordChars", "hoon", /[-\\w]/);
|
||||||
CodeMirror.defineMIME("text/x-hoon", "hoon");
|
CodeMirror.defineMIME("text/x-hoon", "hoon");
|
||||||
|
Loading…
Reference in New Issue
Block a user