mirror of https://github.com/Wilfred/difftastic/
parent
ffcb39e041
commit
defc084637
@ -0,0 +1,20 @@
|
||||
# Taken from the Elvish homepage https://elv.sh
|
||||
|
||||
curl https://api.github.com/repos/elves/elvish/issues |
|
||||
from-json | all (one) |
|
||||
each {|x| echo (exact-num $x[number]): $x[title] } |
|
||||
head -n 5
|
||||
|
||||
if $false { echo good } else { echo bad }
|
||||
|
||||
for x [lorem ipsum] {
|
||||
echo $x.rs
|
||||
}
|
||||
|
||||
try {
|
||||
fail 'bad error'
|
||||
} except e {
|
||||
echo error $e
|
||||
} else {
|
||||
echo ok
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
# Taken from the Elvish homepage https://elv.sh
|
||||
|
||||
curl https://api.github.com/repos/elves/elvish/issues |
|
||||
from-json | all (one) |
|
||||
each {|x| echo (exact-num $x[number]): $x[title] } |
|
||||
head -n 7
|
||||
|
||||
if $true { echo good } else { echo bad }
|
||||
|
||||
for x [lorem ipsum] {
|
||||
echo $x.pdf
|
||||
}
|
||||
|
||||
try {
|
||||
fail 'bad error'
|
||||
} except e {
|
||||
echo error $e
|
||||
} else {
|
||||
echo ok
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
../tree-sitter-elvish/queries/highlights.scm
|
||||
@ -0,0 +1 @@
|
||||
tree-sitter-elvish/src
|
||||
Loading…
Reference in New Issue