Update generated neovim config
This commit is contained in:
@ -0,0 +1,9 @@
|
||||
@defer (on viewport) {
|
||||
<calendar-cmp />
|
||||
} @placeholder (minimum 100ms) {
|
||||
<small-component />
|
||||
} @loading (after 100s; minimum 200ms){
|
||||
<loading-spinner />
|
||||
} @error {
|
||||
<error-message />
|
||||
}
|
||||
@ -0,0 +1,5 @@
|
||||
@for (item of items; track item.id) {
|
||||
<li>{{ item.name }}</li>
|
||||
} @empty {
|
||||
<p>No items</p>
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
@if (someCondition) {
|
||||
<p>someCondition is true</p>
|
||||
} @else {
|
||||
<p>someCondition is false</p>
|
||||
}
|
||||
|
||||
<div>
|
||||
@if (someOther) {
|
||||
<span>True</span>
|
||||
|
||||
@if (nestedCondition) {
|
||||
<span>Nested</span>
|
||||
}
|
||||
}
|
||||
</div>
|
||||
@ -0,0 +1,13 @@
|
||||
<div>
|
||||
@switch (obj.property) {
|
||||
@case (1) {
|
||||
<p>Case 1</p>
|
||||
}
|
||||
@case (2) {
|
||||
<p>Case 2</p>
|
||||
}
|
||||
@default {
|
||||
<p>Default</p>
|
||||
}
|
||||
}
|
||||
</div>
|
||||
Reference in New Issue
Block a user