elkowar / elkowar/yuck.vim

Some details about indentation

Open
#3 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
76
Forks
4
PR merge metrics
No merged PRs in 30d

Description

As you ask in #2

I think the screenshots below are a good representation of the current work of the indentation plugin. In each case I just start a new line with "o" in the normal mode.

![image](https://user-images.githubusercontent.com/72071763/198854134-ccfb11bc-d1cb-431f-be63-ce8dfd6b55ab.png)
![image](https://user-images.githubusercontent.com/72071763/198854148-709d2a27-1395-491c-947c-867ad7288b17.png)
![image](https://user-images.githubusercontent.com/72071763/198854173-f4e2e253-6b41-47ab-a270-de3df501acad.png)
![image](https://user-images.githubusercontent.com/72071763/198854176-80578835-907a-469e-aa8a-642c291c4733.png)
![image](https://user-images.githubusercontent.com/72071763/198854183-d2e7e0d6-1b41-45fa-9dac-5d39b981fd59.png)
![image](https://user-images.githubusercontent.com/72071763/198854194-99ce6f7d-ec8a-419c-a5c1-113e1f1dd13f.png)
![image](https://user-images.githubusercontent.com/72071763/198854203-afb1f24a-80a1-4873-ab88-aa511a24619f.png)
![image](https://user-images.githubusercontent.com/72071763/198854209-00f3489f-a6ab-4c3c-9388-1e97578ab815.png)

Here is a code snippet to reproduce the problem:
```yuck
(defwindow bar
:monitor 0
:geometry (geometry :x "0%"
:y "20px"
;:width "90%"
:height "1070px"
:anchor "right center")
:exclusive true
:stacking "fg"
"example content")

(defwidget bar [screen]
(centerbox
:orientation "h"
:class "bar"
(eventbox
:onscroll "swaymsg workspace $([[ {} = 'up' ]] && echo 'prev' || echo 'next')"
(box :halign "start"
:space-evenly false
(workspaces)
(mode)
(window)))
(box :halign "center"
:hexpand true
:space-evenly false
(disk)
(ram)
(cpu)
(temp)
(pkg)
(network))
(box :halign "end"
:hexpand true
:space-evenly false
(music)
(volume)
(time))))
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.