mirror of
https://github.com/urbit/shrub.git
synced 2025-01-02 01:25:55 +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('`')){
|
||||
state.space = false
|
||||
state.space = true
|
||||
return 'operator'
|
||||
}
|
||||
if(stream.sol() && stream.eatWhile(glyph)){
|
||||
@ -131,8 +131,10 @@ CodeMirror.defineMode("hoon", function() {
|
||||
return 'builtin'
|
||||
return 'operator'
|
||||
}
|
||||
if(stream.eat(/[=:.^]/))
|
||||
if(stream.eat(/[=:.^]/)){
|
||||
state.space = true
|
||||
return 'operator'
|
||||
}
|
||||
stream.next()
|
||||
return 'builtin'
|
||||
}
|
||||
@ -154,4 +156,5 @@ CodeMirror.defineMode("hoon", function() {
|
||||
return res
|
||||
});
|
||||
|
||||
CodeMirror.registerHelper("wordChars", "hoon", /[-\\w]/);
|
||||
CodeMirror.defineMIME("text/x-hoon", "hoon");
|
||||
|
Loading…
Reference in New Issue
Block a user