Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/convco.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: commit

on:
on: # yamllint disable-line rule:truthy
push:
branches: [ main ]
pull_request:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/nomerge.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: commit

on:
on: # yamllint disable-line rule:truthy
pull_request:
branches: [main]

Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: 'Lint YAML'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd call this lint.

on: # yamllint disable-line rule:truthy
- pull_request
jobs:
yamllint:
name: 'Lint YAML'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This I'd call yamllint.

runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: 'Yamllint'
uses: karancode/yamllint-github-action@master
with:
yamllint_strict: true
yamllint_comment: false
11 changes: 11 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---

extends: default

rules:
braces:
level: warning
max-spaces-inside: 1
brackets:
level: warning
max-spaces-inside: 1
9 changes: 5 additions & 4 deletions themes/black.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
colourful: false

filekinds:
Expand Down Expand Up @@ -102,9 +103,9 @@ broken_symlink: {foreground: "#000"}
broken_path_overlay: {foreground: "#000"}

filenames:
# Custom filename-based overrides
# Cargo.toml: {icon: {glyph: 🦀}}
# Custom filename-based overrides
# Cargo.toml: {icon: {glyph: 🦀}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In these cases the indentation is intentional as you would just need to uncomment the example code and it would already be at the right indentation level. So this and other similar comments should stay this way.


extensions:
# Custom extension-based overrides
# rs: {filename: {foreground: Red}, icon: {glyph: 🦀}}
# Custom extension-based overrides
# rs: {filename: {foreground: Red}, icon: {glyph: 🦀}}
1 change: 1 addition & 0 deletions themes/catppuccin.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
colourful: true

filekinds:
Expand Down
9 changes: 5 additions & 4 deletions themes/default.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
colourful: true

filekinds:
Expand Down Expand Up @@ -102,9 +103,9 @@ broken_symlink: {foreground: Red}
broken_path_overlay: {foreground: Default, is_underline: true}

filenames:
# Custom filename-based overrides
# Cargo.toml: {icon: {glyph: 🦀}}
# Custom filename-based overrides
# Cargo.toml: {icon: {glyph: 🦀}}

extensions:
# Custom extension-based overrides
# rs: {filename: {foreground: Red}, icon: {glyph: 🦀}}
# Custom extension-based overrides
# rs: {filename: {foreground: Red}, icon: {glyph: 🦀}}
1 change: 1 addition & 0 deletions themes/dracula.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
colourful: true
# yellow #F1FA8C
# red #FF5555
Expand Down
9 changes: 5 additions & 4 deletions themes/frosty.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# colors:
# - light icy blue: #E0F7FA
# - snow white: #FFFFFF
Expand Down Expand Up @@ -111,9 +112,9 @@ broken_symlink: {foreground: "#FF8A80"}
broken_path_overlay: {foreground: "#607D8B"}

filenames:
# Custom filename-based overrides
# Cargo.toml: {icon: {glyph: 🦀}}
# Custom filename-based overrides
# Cargo.toml: {icon: {glyph: 🦀}}

extensions:
# Custom extension-based overrides
# rs: {filename: {foreground: Red}, icon: {glyph: 🦀}}
# Custom extension-based overrides
# rs: {filename: {foreground: Red}, icon: {glyph: 🦀}}
1 change: 1 addition & 0 deletions themes/gruvbox-dark.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
colourful: true

filekinds:
Expand Down
1 change: 1 addition & 0 deletions themes/gruvbox-light.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
colourful: true

filekinds:
Expand Down
2 changes: 1 addition & 1 deletion themes/one_dark.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
colourful: true

filekinds:
Expand Down Expand Up @@ -100,4 +101,3 @@ symlink_path: {foreground: "#56B6C2"}
control_char: {foreground: "#61AFEF"}
broken_symlink: {foreground: "#E06C75"}
broken_path_overlay: {foreground: "#5C6370"}

1 change: 1 addition & 0 deletions themes/rose-pine-dawn.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
colourful: true

# Colors are in format of:
Expand Down
1 change: 1 addition & 0 deletions themes/rose-pine-moon.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
colourful: true

# Colors are in format of:
Expand Down
1 change: 1 addition & 0 deletions themes/rose-pine.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
colourful: true

# Colors are in format of:
Expand Down
1 change: 1 addition & 0 deletions themes/tokyonight.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
colourful: true

filekinds:
Expand Down
9 changes: 5 additions & 4 deletions themes/white.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
colourful: false

filekinds:
Expand Down Expand Up @@ -102,9 +103,9 @@ broken_symlink: {foreground: "#fff"}
broken_path_overlay: {foreground: "#fff"}

filenames:
# Custom filename-based overrides
# Cargo.toml: {icon: {glyph: 🦀}}
# Custom filename-based overrides
# Cargo.toml: {icon: {glyph: 🦀}}

extensions:
# Custom extension-based overrides
# rs: {filename: {foreground: Red}, icon: {glyph: 🦀}}
# Custom extension-based overrides
# rs: {filename: {foreground: Red}, icon: {glyph: 🦀}}