repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

merged

454ccf9bd516ffeb0f485474777b749f0605fab3

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (204)

+2850 / −7075 text lines · all files grouped into 32 bars · 1 binary (striped old/new sizes in 64-byte units, not churn) · lines and sizes scale separately

Diff layout

.gitignore

Modified

+5 / −0 text lines

11bootstripper
22neovim/plugin
3bootstripper/bootstripper.com.dbg
4bootstripper/cosmopolitan
5bootstripper/win32/cross9
6tresor/box_do_key
7nushell/zoxide.nu

EJ-PC-00363.symlinks

Modified

+13 / −16 text lines

11neovim
22~/AppData/Local/nvim
4git/.gitconfig
4git/gitconfig
55~/.gitconfig
7git/.gitconfig.EJ-PC-00363
7git/gitconfig.EJ-PC-00363
88~/.gitconfig.include
1010starship/starship.toml.EJ-PC-00363
1111~/.config/starship.toml
13vale/.vale.ini
14~/.vale.ini
16vale/vale
17~/.config/vale
19alacritty/alacritty.yml
13alacritty/alacritty.windows.yml
2014~/AppData/Roaming/alacritty/alacritty.yml
22alacritty/alacritty
23~/.config/alacritty
16alacritty/alacritty_common.yml
17~/.config/alacritty/alacritty_common.yml
25nushell
26~/.config/nushell
28topgrade/topgrade.toml
19topgrade/topgrade.windows.toml
2920~/AppData/Roaming/topgrade.toml
3122nushell
32~/AppData/Roaming/nushell
23~/AppData/Roaming/nushell/nu/config
3425bottom
3526~/AppData/Roaming/bottom
4031subversion/config
4132~/AppData/Roaming/Subversion/config
34cargo/config.toml
35~/.cargo/config.toml
37indexa/config.windows.toml
38~/AppData/Roaming/indexa/config.toml

README.md

Modified

+106 / −2 text lines

11# bugabingas personal dotfiles, 33rd attempt
3Rough plan: Build a [cosmopolitan] install executable for true cross-plattform bootrap of my configuration.
3Shared configuration files between some Linux and some Windows hosts.
5[cosmopolitan]: https://justine.lol/cosmopolitan/index.html
5## bootstrapping a new host
6
71. Install git
81. Install a JDK
91. git clone git@github.com:bugabinga/dotfiles
101. `cd dotfiles`
111. `java bootstripper.java .`
13> Pay attention to already existing symlinks!
15## rough goals
17- minimal amount of dependencies
18 This helps in setting up new host.
19 But it is really hard to achieve when hosts are allowed to be Windows and Linux AND [OpenBSD] ...
20 The current state is a compromise reached after some experimentation.
21- editing and applying configs is "natural"
22 Natural in this context is to mean: as if there was no dotfiles repository used for sharing.
23 This is achieved by symlinking the files from the dotfiles repository into their normal locations.
24 So when it comes time to edit a confg file, you can stay blissfully unaware of the dotfiles repository.
26## handling per host differences
28There are two classes of differences in configurations between platforms (specifically Linux and Windows in my case).
30### differing locations of config files
32For example, [NeoVim] stores its configuration at `~/.config/nvim` in Linux and at `~/AppData/Roaming/nvim` in Windows.
33In order to handle theses differences each host gets its own symlink file wiht the naming pattern `(hostname).symlinks`.
34The format of this file is:
35```
36path to configuration file/directory relative to dotfiles root
37absolute path of symlink on host
38```
39Each symlink path pair is to be delimited by a newline.
40Example:
41```
42neovim
43~/.config/nvim
45foo/bar.conf
46~/.config/foobar.conf
47```
48This file will be parsed by [bootstripper] in order to create those symlinks.
50### differing values in configration files
52Most often, these come down to different paths of stuff, that get refered to in config files.
53For example, [topgrade], an abstraction over a bunch of package managers and updaters, might want to know the location of your git repositories, so it can pull them for you.
54Some programs, e.g. [NeoVim], have rich configuration languages that are powerful enough for you to resolve those differences with conditionals.
55However some programs, e.g. [topgrade], offer only declarative configuration languages, which make it impossible to resolve this problem in the config.
56I tried solving this problem with some kind of a templating engine.
57But I quickly gave up on that, because it was too annoying to manage.
58Specifically, editing configuration stopped being "natural", meaning you cannot simply open and edit the file at the location you expect the config to be anymore.
59This natural flow is the reason symlinks are used.
60With templating in the mix, an intermediary step is necessary, between editing and applying config.
61Too much work.
62Instead, I use the `(hostname).symlink` files to resolve such cases.
63That means, that config files are completely independent per host, and as such some duplication of configuration occurs.
64A tradeoff well worth it in my opinion.
66## secrets
68Secrets are encrypted and saved as file into the `tresor` folder.
69The name of these file is a random UUID, which I map to their original purpose somewhere else.
70Those secret files are decrypted either by [bootstripper] or on demand in my scripts.
72## the trouble with bootstrapping dotfiles
74Most of my previous attempts at managing my configuration files failed because it is tricky to share them between Windows and Unix systems.
75If all my hosts were Unix(y), I would write a POSIX shell script and be done with it.
76But that does not work for Windows.
78Since I find it important to be able to setup my configuration files on any fresh new host, it is important to have as few dependencies as possible.
79However, with Windows in the mix, this is pretty hard, so I settled on a compromise: JDK.
81Things I tried in the past to solve this problem:
83- dotfiles managers (e.g. [chezmoi])
84 > too much work
85- writing a bootstrap/installer with [cosmopolitan]
86 > extremely cool tech. unfortunatelly I am not a C programmer so I struggled a lot.
87 > also, the resulting binary rewrites itself on first run. How do I keep a file version controlled that is allowed to change on first use, but should not result in a new modification...?
88 > furthermore, managing the [cosmopolitan] toolchain for windows made extra work.
89- use POSIX shell for Unix, use PowerShell for Windows
90 > too much work. maintaining the same program in 2 different languages ... depressing not because you have to write twice, but because you have to test twice.
91- Pretend Windows is Unix by only interfacing with it through [WSL].
92 > Windows is not Unix. [WSL] is cute, even useful for cross-compilation and testing. But when I am on Windows I want to use Windows, when I am on Linux I want to use Linux. Fighting the platform constantly is too tiring.
94Things I have not tried (yet?):
96- Use a language with a pleasant cross-compile story ([golang], [Rust], [ziglang]) and version control a binary for those platforms I care about.
97- Use [PowerShell Core] and maybe a script per platform to install it. This could be nice if [PowerShell Core] would replace [PowerShell Windows] and it was my main shell.
99[NeoVim]: https://neovim.io/
100[topgrade]: https://github.com/r-darwish/topgrade
101[bootstripper]: https://github.com/bugabinga/dotfiles/blob/trunk/bootstripper.java
102[chezmoi]: https://github.com/twpayne/chezmoi
103[golang]: https://golang.org/
104[Rust]: https://www.rust-lang.org/
105[ziglang]: https://ziglang.org/
106[WSL]: https://docs.microsoft.com/en-us/windows/wsl/about
107[PowerShell Core]: https://github.com/PowerShell/PowerShell
108[PowerShell Windows]: https://de.wikipedia.org/wiki/PowerShell
109[OpenBSD]: https://www.openbsd.org/

TODO.md

Modified

+51 / −4 text lines

1# TODO
1# To-Do
3- remove cosmopolitan from git
4- add download script for cross9 and cosmopolitan
5- what do we do about ssh and gpg keys? or secrets in general?
3## Commands to remember
4
5- sd: search and replace
6- fd: find files recursively
7- diskonaut: explore file system visually for large files
8- btm (bottom): system overview
9- rg: search file contents
10- bat: show file content
11- mdcat: render markdown in the terminal
12- tokei: count lines of code
13- hyperfine: benchmark tool
14- menyoki: capture screenshots, record gifs
15- rpick: Choose something out of predefined model using fancy algorithms
16- tldr: tool documentation
17- grex: regular expression pattern generator
18- xh: make HTTP requests
19- watchexec: filesystem watcher
20- viu: view images in terminal (blocky approximation)
21- licensor: print a license text
22- pastel: manage colors
23- hexyl: terminal hex viewer
24- gib: generate gitignore files
25- ix (indexa): global file search
26- silicon: code pretty picture generator
27- eva: calculator
28- bandwhich: show network traffic information
29- so: search Stack Exchange
30- prose: simple text (markdown, emails, paragraphs) formatter
31- linky: check markdown for broken links
32- comrak: render markdown to html
34## Stuff to do
36- [ ] rewrite bootstripper and java commmands with zig. how to run them? precompile? zig run?
37- [ ] encrypt box key
39## Done
41- [x] how to abstract configs differences per platform? templates are painful to work with.
42- [x] abstract indexa config for windows / linux
43- [x] kill thy babbies: remove obsolete java commands. nu has builtins now for checksums and for random uuids
44- [x] use [systemd user] instance to manage env vars
45- [x] what to do about ssh and GPG keys? or secrets in general?
46 - [x] say goodbye to GPG, too hard to manage.
47- [x] how to handle java tools in `tools` cross platform?
48- [x] sumneko on linux
49- [x] is there something like glow but in rust?
50- [x] get indexa config into dotfiles?
52[systemd user]: https://wiki.archlinux.org/title/Systemd/User

alacritty/Alacritty.desktop

Added
new file mode 100644

+17 / −0 text lines

1[Desktop Entry]
2Type=Application
3TryExec=alacritty
4Exec=alacritty
5Icon=Alacritty
6Terminal=false
7Categories=System;TerminalEmulator;
8
9Name=Alacritty
10GenericName=Terminal
11Comment=A fast, cross-platform, OpenGL terminal emulator
12StartupWMClass=Alacritty
13Actions=New;
15[Desktop Action New]
16Name=New Terminal
17Exec=alacritty

alacritty/alacritty-simple.svg

Added
new file mode 100644

+2 / −0 text lines

1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<svg xmlns:osb="http://www.openswatchbook.org/uri/2009/osb" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="64" height="64" viewBox="0 0 64 64" version="1.1" xml:space="preserve" style="clip-rule:evenodd;fill-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41420996;enable-background:new" id="svg3967" sodipodi:docname="alacritty.svg" inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata id="metadata3971"><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/><dc:title/></cc:Work></rdf:RDF></metadata><sodipodi:namedview pagecolor="#1b1b1b" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="1" inkscape:pageshadow="2" inkscape:window-width="1912" inkscape:window-height="2051" id="namedview3969" showgrid="true" inkscape:pagecheckerboard="false" showguides="false" inkscape:guide-bbox="true" inkscape:measure-start="35.0647,26.4746" inkscape:measure-end="23.3668,17.3739" inkscape:lockguides="false" inkscape:snap-page="false" inkscape:zoom="16.123347" inkscape:cx="29.021205" inkscape:cy="30.792291" inkscape:window-x="1912" inkscape:window-y="48" inkscape:window-maximized="0" inkscape:current-layer="layer1" inkscape:snap-smooth-nodes="false" fit-margin-top="0" fit-margin-left="0" fit-margin-right="0" fit-margin-bottom="0" showborder="true" inkscape:showpageshadow="false" inkscape:object-nodes="true" viewbox-y="-0.5" inkscape:snap-to-guides="false" inkscape:snap-grids="false"><sodipodi:guide position="52,8.2500022" orientation="1,0" id="guide959" inkscape:locked="false" inkscape:label="A Right" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,48.250002" orientation="0,1" id="guide961" inkscape:locked="false" inkscape:label="A Top" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="14,8.2500022" orientation="1,0" id="guide963" inkscape:locked="false" inkscape:label="A Left" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,24.750002" orientation="1,0" id="guide965" inkscape:locked="false" inkscape:label="Vertical Center" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,24.750002" orientation="0,1" id="guide967" inkscape:locked="false" inkscape:label="Horizontal Center" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="28.813,21.500002" orientation="1,0" id="guide969" inkscape:locked="false" inkscape:label="Flame Left" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="37.187,21.500002" orientation="1,0" id="guide971" inkscape:locked="false" inkscape:label="Flame Right" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="29.5,48.250002" orientation="1,0" id="guide973" inkscape:locked="false" inkscape:label="A Top Left" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="36.5,48.250002" orientation="1,0" id="guide975" inkscape:locked="false" inkscape:label="A Top Right" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="20.5,8.2500022" orientation="1,0" id="guide977" inkscape:locked="false" inkscape:label="Width A Left" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="45.5,8.2500022" orientation="1,0" id="guide979" inkscape:locked="false" inkscape:label="Width A Right" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="14,8.2500022" orientation="0,1" id="guide981" inkscape:locked="false" inkscape:label="A Bottom" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,12.688002" orientation="0,1" id="guide983" inkscape:locked="false" inkscape:label="Flame Curve Intersect" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="34.5,12.688002" orientation="1,0" id="guide985" inkscape:locked="false" inkscape:label="Right Flame Curve" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="31.5,12.688002" orientation="1,0" id="guide987" inkscape:locked="false" inkscape:label="Left Flame Curve" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,15.855002" orientation="-0.93245628,0.36128283" id="guide3628" inkscape:locked="false" inkscape:label="Inner Flame Angle Right" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,15.855002" orientation="-0.93245628,-0.36128283" id="guide3630" inkscape:locked="false" inkscape:label="Inner Flame Angle Left" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,21.500002" orientation="0,1" id="guide3644" inkscape:locked="false" inkscape:label="Flame Center" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="29.813,24.080519" orientation="1,0" id="guide3646" inkscape:locked="false" inkscape:label="Inner Flame Left" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="36.187,24.080519" orientation="1,0" id="guide3648" inkscape:locked="false" inkscape:label="Inner Flame Right" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,32.305002" orientation="0,1" id="guide3650" inkscape:locked="false" inkscape:label="Flame Top" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,5.0000022" orientation="0,1" id="guide3652" inkscape:locked="false" inkscape:label="Flame Bottom" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,53.750002" orientation="0,1" id="guide3936" inkscape:locked="false" inkscape:label="Term Top" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,3.0000022" orientation="0,1" id="guide3938" inkscape:locked="false" inkscape:label="Term Bottom" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="63,24.750002" orientation="1,0" id="guide3940" inkscape:locked="false" inkscape:label="Term Right" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="3.0000001,24.750002" orientation="1,0" id="guide3942" inkscape:locked="false" inkscape:label="Term Left" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="1.4777768e-07,56.750002" orientation="0,1" id="guide15457" inkscape:locked="false" inkscape:label="Outline Top" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="1.4777768e-07,56.750002" orientation="1,0" id="guide15459" inkscape:locked="false" inkscape:label="Outline Left" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="66,2.2454491e-06" orientation="0,1" id="guide15461" inkscape:locked="false" inkscape:label="Outline Bottom" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="66,2.2454491e-06" orientation="1,0" id="guide15463" inkscape:locked="false" inkscape:label="Outline Right" inkscape:color="rgb(0,0,255)"/></sodipodi:namedview><defs id="defs3965"><linearGradient id="red-orange" x1="0.025171699" y1="0.079489581" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0,473.895,-473.895,0,547.884,192.222)"><stop offset="0" style="stop-color:#ec2802;stop-opacity:1" id="stop926"/><stop offset="1" style="stop-color:#fcb200;stop-opacity:1" id="stop928"/></linearGradient><linearGradient id="linearGradient5362" osb:paint="solid"><stop style="stop-color:#aaaaaa;stop-opacity:1;" offset="0" id="stop5360"/></linearGradient><linearGradient inkscape:collect="always" xlink:href="#red-orange" id="linearGradient11006" x1="19.0625" y1="0" x2="19" y2="43.25" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.4018804,0,0,1.3482131,21.364273,-32.960592)"/><clipPath clipPathUnits="userSpaceOnUse" id="clipPath3639"><path inkscape:connector-curvature="0" id="path3641" d="M 14.813062,26.75 19,15.945 23.186938,26.75 19,43.25 Z" style="fill:none;stroke:#000000;stroke-width:0.03779528;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1.41420996;stroke-dasharray:none;stroke-opacity:1"/></clipPath><filter inkscape:collect="always" style="color-interpolation-filters:sRGB" id="filter1378" x="-0.096199476" width="1.192399" y="-0.074239448" height="1.1484789"><feGaussianBlur inkscape:collect="always" stdDeviation="1.0020779" id="feGaussianBlur1380"/></filter></defs><g inkscape:groupmode="layer" id="layer1" inkscape:label="Main" style="display:inline" transform="translate(-16,35.820639)" sodipodi:insensitive="true"><g id="g4199"><path clip-path="none" sodipodi:nodetypes="ccccccc" inkscape:connector-curvature="0" id="path5352" d="M 43.566236,2.9721345 42.175119,6.3426951 C 45.913195,17.853356 45.913195,17.853356 48,27.894557 50.086805,17.853356 50.086805,17.853356 53.824881,6.3426951 L 52.433764,2.9721345 48,-7.7705098 Z" style="clip-rule:evenodd;fill:#069efe;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.26960364;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1.41420996;stroke-dasharray:none;stroke-opacity:0.4330357;paint-order:stroke markers fill"/><path sodipodi:nodetypes="cccccccc" inkscape:connector-curvature="0" id="path5336" d="m 43.09342,-32.960595 h 9.81316 l 21.729148,53.92852 H 65.523505 L 48,-20.221038 30.476495,20.967925 h -9.112223 z" style="clip-rule:evenodd;fill:url(#linearGradient11006);fill-opacity:1;fill-rule:evenodd;stroke:url(#linearGradient10962);stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1.41420996;stroke-dasharray:none;stroke-opacity:1"/><path transform="matrix(1.3912031,0,0,1.3379446,21.567141,-29.104025)" clip-path="url(#clipPath3639)" style="clip-rule:evenodd;display:inline;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers fill stroke;filter:url(#filter1378)" d="M 19,32.395 31.5,0 6.5,0.13313911 Z" id="path9580" inkscape:connector-curvature="0" sodipodi:nodetypes="cccc"/></g></g></svg>No final newline

alacritty/alacritty.linux.yml

Added
new file mode 100644

+32 / −0 text lines

1# Linux configuration for alacritty
2# Import common configuration for all platforms.
3# Subsequent configuration in this file will overwrite the common configuration.
4import:
5 - ~/.config/alacritty/alacritty_common.yml
6font:
7 normal:
8 family: BlexMono Nerd Font
9 style: Regular
10 bold:
11 style: Bold
12 italic:
13 style: Italic
14 size: 11.0
15working_directory: /home/oli
16key_bindings:
17 - {
18 key: Comma,
19 mods: Control,
20 command:
21 {
22 program: "alacritty",
23 args:
24 [
25 "--title",
26 "Edit Alacritty Configuration",
27 "--command",
28 "nvim ~/.config/alacritty/alacritty.yml",
29 ],
30 },
31 }
32 - { key: Return, mods: Alt, action: None }

alacritty/alacritty.windows.yml

Added
new file mode 100644

+33 / −0 text lines

1# Windows configuration for alacritty
2# Import common configuration for all platforms.
3# Subsequent configuration in this file will overwrite the common configuration.
4import:
5 - ~/.config/alacritty/alacritty_common.yml
6# Font configuration (changes require restart)
7font:
8 normal:
9 family: BlexMono NF
10 style: Medium
11 bold:
12 style: Bold
13 italic:
14 style: Italic
15 size: 13.0
16working_directory: C:\\Users\\okr
17key_bindings:
18 - {
19 key: Comma,
20 mods: Control,
21 command:
22 {
23 program: "alacritty",
24 args:
25 [
26 "--title",
27 "Edit Alacritty Configuration",
28 "--command",
29 "nvim C:/Users/okr/AppData/Roaming/alacritty/alacritty.yml",
30 ],
31 },
32 }
33 - { key: Return, mods: Alt, action: None }

alacritty/alacritty.yml

Deleted
deleted file mode 100644

+0 / −35 text lines

1# Windows configuration for alacritty
2# Import common configuration for all platforms.
3# Subsequent configuration in this file will overwrite the common configuration.
4import:
5 - ~/.config/alacritty/alacritty_common.yml
6window:
7 startup_mode: Fullscreen
8# Font configuration (changes require restart)
9font:
10 normal:
11 family: BlexMono NF
12 style: Medium
13 bold:
14 style: Bold
15 italic:
16 style: Italic
17 size: 13.0
18working_directory: C:\\Users\\okr
19key_bindings:
20 - {
21 key: Comma,
22 mods: Control,
23 command:
24 {
25 program: "alacritty",
26 args:
27 [
28 "--title",
29 "Edit Alacritty Configuration",
30 "--command",
31 "nvim C:/Users/okr/AppData/Roaming/alacritty/alacritty.yml",
32 ],
33 },
34 }
35 - { key: Return, mods: Alt, action: None }

alacritty/alacritty/alacritty_common.yml

Deleted
deleted file mode 100644

+0 / −274 text lines

1# Bugabinga configuration for alacritty.
2# "common" refers to those parts of the configuration, which are cross platform.
3# This file is expected to be imported into the the canonical configuration file on the
4# respective OS.
5# On Windows: ~/AppData/Roaming/alacritty.yml
6# On Linux: ~/.config/alacritty/alacritty.yml
7
8window:
9 padding:
10 x: 16
11 y: 16
12 dynamic_padding: false
13 dynamic_title: false
14cursor:
15 style:
16 shape: Block
17 blinking: Off
18mouse:
19 hide_when_typing: true
20key_bindings:
21 - { key: T, mods: Control|Shift, action: SpawnNewInstance }
22 - { key: W, mods: Control|Shift, action: Quit }
23shell:
24 program: nu
25schemes:
26 ayu_dark: &ayu_dark
27 primary:
28 background: '#0A0E14'
29 foreground: '#B3B1AD'
30 normal:
31 black: '#01060E'
32 red: '#EA6C73'
33 green: '#91B362'
34 yellow: '#F9AF4F'
35 blue: '#53BDFA'
36 magenta: '#FAE994'
37 cyan: '#90E1C6'
38 white: '#C7C7C7'
39 bright:
40 black: '#686868'
41 red: '#F07178'
42 green: '#C2D94C'
43 yellow: '#FFB454'
44 blue: '#59C2FF'
45 magenta: '#FFEE99'
46 cyan: '#95E6CB'
47 white: '#FFFFFF'
48 ayu_mirage: &ayu_mirage
49 primary:
50 background: '#202734'
51 foreground: '#CBCCC6'
52 normal:
53 black: '#191E2A'
54 red: '#FF3333'
55 green: '#BAE67E'
56 yellow: '#FFA759'
57 blue: '#73D0FF'
58 magenta: '#FFD580'
59 cyan: '#95E6CB'
60 white: '#C7C7C7'
61 bright:
62 black: '#686868'
63 red: '#F27983'
64 green: '#A6CC70'
65 yellow: '#FFCC66'
66 blue: '#5CCFE6'
67 magenta: '#FFEE99'
68 cyan: '#95E6CB'
69 white: '#FFFFFF'
70 argonaut: &argonaut
71 primary:
72 background: '#292C3E'
73 foreground: '#EBEBEB'
74 cursor:
75 text: '#FF261E'
76 cursor: '#FF261E'
77 normal:
78 black: '#0d0d0d'
79 red: '#FF301B'
80 green: '#A0E521'
81 yellow: '#FFC620'
82 blue: '#1BA6FA'
83 magenta: '#8763B8'
84 cyan: '#21DEEF'
85 white: '#EBEBEB'
86 bright:
87 black: '#6D7070'
88 red: '#FF4352'
89 green: '#B8E466'
90 yellow: '#FFD750'
91 blue: '#1BA6FA'
92 magenta: '#A578EA'
93 cyan: '#73FBF1'
94 white: '#FEFEF8'
95 papercolor: &papercolor
96 primary:
97 background: "#eeeeee"
98 foreground: "#878787"
99 cursor:
100 text: "#eeeeee"
101 cursor: "#878787"
102 normal:
103 black: "#eeeeee"
104 red: "#af0000"
105 green: "#008700"
106 yellow: "#5f8700"
107 blue: "#0087af"
108 magenta: "#878787"
109 cyan: "#005f87"
110 white: "#444444"
111 bright:
112 black: "#bcbcbc"
113 red: "#d70000"
114 green: "#d70087"
115 yellow: "#8700af"
116 blue: "#d75f00"
117 magenta: "#d75f00"
118 cyan: "#005faf"
119 white: "#005f87"
120 afterglow: &afterglow
121 primary:
122 background: "#2c2c2c"
123 foreground: "#d6d6d6"
124 dim_foreground: "#dbdbdb"
125 bright_foreground: "#d9d9d9"
126 dim_background: "#202020" # not sure
127 bright_background: "#3a3a3a" # not sure
128 cursor:
129 text: "#2c2c2c"
130 cursor: "#d9d9d9"
131 normal:
132 black: "#1c1c1c"
133 red: "#bc5653"
134 green: "#909d63"
135 yellow: "#ebc17a"
136 blue: "#7eaac7"
137 magenta: "#aa6292"
138 cyan: "#86d3ce"
139 white: "#cacaca"
140 bright:
141 black: "#636363"
142 red: "#bc5653"
143 green: "#909d63"
144 yellow: "#ebc17a"
145 blue: "#7eaac7"
146 magenta: "#aa6292"
147 cyan: "#86d3ce"
148 white: "#f7f7f7"
149 dim:
150 black: "#232323"
151 red: "#74423f"
152 green: "#5e6547"
153 yellow: "#8b7653"
154 blue: "#556b79"
155 magenta: "#6e4962"
156 cyan: "#5c8482"
157 white: "#828282"
158 ir_black: &ir_black
159 primary:
160 background: '#000000'
161 foreground: '#ffffff'
162 cursor:
163 text: '#ffffff'
164 cursor: '#ffffff'
165 normal:
166 black: '#4e4e4e'
167 red: '#ff6c60'
168 green: '#a8ff60'
169 yellow: '#ffffb6'
170 blue: '#96cbfe'
171 magenta: '#ff73fd'
172 cyan: '#c6c5fe'
173 white: '#eeeeee'
174 bright:
175 black: '#7c7c7c'
176 red: '#ffb6b0'
177 green: '#ceffab'
178 yellow: '#ffffcb'
179 blue: '#b5dcfe'
180 magenta: '#ff9cfe'
181 cyan: '#dfdffe'
182 white: '#ffffff'
183 nord: &nord
184 primary:
185 background: '#2E3440'
186 foreground: '#D8DEE9'
187 normal:
188 black: '#3B4252'
189 red: '#BF616A'
190 green: '#A3BE8C'
191 yellow: '#EBCB8B'
192 blue: '#81A1C1'
193 magenta: '#B48EAD'
194 cyan: '#88C0D0'
195 white: '#E5E9F0'
196 bright:
197 black: '#4C566A'
198 red: '#BF616A'
199 green: '#A3BE8C'
200 yellow: '#EBCB8B'
201 blue: '#81A1C1'
202 magenta: '#B48EAD'
203 cyan: '#8FBCBB'
204 white: '#ECEFF4'
205 seoul256_dark: &seoul256_dark
206 primary:
207 background: '#3a3a3a'
208 foreground: '#d0d0d0'
209 normal:
210 black: '#4e4e4e'
211 red: '#d68787'
212 green: '#5f865f'
213 yellow: '#d8af5f'
214 blue: '#85add4'
215 magenta: '#d7afaf'
216 cyan: '#87afaf'
217 white: '#d0d0d0'
218 bright:
219 black: '#626262'
220 red: '#d75f87'
221 green: '#87af87'
222 yellow: '#ffd787'
223 blue: '#add4fb'
224 magenta: '#ffafaf'
225 cyan: '#87d7d7'
226 white: '#e4e4e4'
227 seoul256_light: &seoul256_light
228 primary:
229 background: '#dadada'
230 foreground: '#4e4e4e'
231 normal:
232 black: '#4e4e4e'
233 red: '#af5f5f'
234 green: '#5f885f'
235 yellow: '#af8760'
236 blue: '#5f87ae'
237 magenta: '#875f87'
238 cyan: '#5f8787'
239 white: '#e4e4e4'
240 bright:
241 black: '#3a3a3a'
242 red: '#870100'
243 green: '#005f00'
244 yellow: '#d8865f'
245 blue: '#0087af'
246 magenta: '#87025f'
247 cyan: '#008787'
248 white: '#eeeeee'
249 taerminal: &taerminal
250 primary:
251 background: '#26282a'
252 foreground: '#f0f0f0'
253 cursor:
254 background: '#f0f0f0'
255 foreground: '#26282a'
256 normal:
257 black: '#26282a'
258 red: '#ff8878'
259 green: '#b4fb73'
260 yellow: '#fffcb7'
261 blue: '#8bbce5'
262 magenta: '#ffb2fe'
263 cyan: '#a2e1f8'
264 white: '#f1f1f1'
265 bright:
266 black: '#6f6f6f'
267 red: '#fe978b'
268 green: '#d6fcba'
269 yellow: '#fffed5'
270 blue: '#c2e3ff'
271 magenta: '#ffc6ff'
272 cyan: '#c0e9f8'
273 white: '#ffffff'
274colors: *nord

alacritty/alacritty_common.yml

Added
new file mode 100644

+274 / −0 text lines

1# Bugabinga configuration for alacritty.
2# "common" refers to those parts of the configuration, which are cross platform.
3# This file is expected to be imported into the the canonical configuration file on the
4# respective OS.
5# On Windows: ~/AppData/Roaming/alacritty.yml
6# On Linux: ~/.config/alacritty/alacritty.yml
7
8window:
9 padding:
10 x: 16
11 y: 16
12 dynamic_padding: false
13 dynamic_title: false
14cursor:
15 style:
16 shape: Block
17 blinking: Off
18mouse:
19 hide_when_typing: true
20key_bindings:
21 - { key: T, mods: Control|Shift, action: SpawnNewInstance }
22 - { key: W, mods: Control|Shift, action: Quit }
23shell:
24 program: nu
25schemes:
26 ayu_dark: &ayu_dark
27 primary:
28 background: '#0A0E14'
29 foreground: '#B3B1AD'
30 normal:
31 black: '#01060E'
32 red: '#EA6C73'
33 green: '#91B362'
34 yellow: '#F9AF4F'
35 blue: '#53BDFA'
36 magenta: '#FAE994'
37 cyan: '#90E1C6'
38 white: '#C7C7C7'
39 bright:
40 black: '#686868'
41 red: '#F07178'
42 green: '#C2D94C'
43 yellow: '#FFB454'
44 blue: '#59C2FF'
45 magenta: '#FFEE99'
46 cyan: '#95E6CB'
47 white: '#FFFFFF'
48 ayu_mirage: &ayu_mirage
49 primary:
50 background: '#202734'
51 foreground: '#CBCCC6'
52 normal:
53 black: '#191E2A'
54 red: '#FF3333'
55 green: '#BAE67E'
56 yellow: '#FFA759'
57 blue: '#73D0FF'
58 magenta: '#FFD580'
59 cyan: '#95E6CB'
60 white: '#C7C7C7'
61 bright:
62 black: '#686868'
63 red: '#F27983'
64 green: '#A6CC70'
65 yellow: '#FFCC66'
66 blue: '#5CCFE6'
67 magenta: '#FFEE99'
68 cyan: '#95E6CB'
69 white: '#FFFFFF'
70 argonaut: &argonaut
71 primary:
72 background: '#292C3E'
73 foreground: '#EBEBEB'
74 cursor:
75 text: '#FF261E'
76 cursor: '#FF261E'
77 normal:
78 black: '#0d0d0d'
79 red: '#FF301B'
80 green: '#A0E521'
81 yellow: '#FFC620'
82 blue: '#1BA6FA'
83 magenta: '#8763B8'
84 cyan: '#21DEEF'
85 white: '#EBEBEB'
86 bright:
87 black: '#6D7070'
88 red: '#FF4352'
89 green: '#B8E466'
90 yellow: '#FFD750'
91 blue: '#1BA6FA'
92 magenta: '#A578EA'
93 cyan: '#73FBF1'
94 white: '#FEFEF8'
95 papercolor: &papercolor
96 primary:
97 background: "#eeeeee"
98 foreground: "#878787"
99 cursor:
100 text: "#eeeeee"
101 cursor: "#878787"
102 normal:
103 black: "#eeeeee"
104 red: "#af0000"
105 green: "#008700"
106 yellow: "#5f8700"
107 blue: "#0087af"
108 magenta: "#878787"
109 cyan: "#005f87"
110 white: "#444444"
111 bright:
112 black: "#bcbcbc"
113 red: "#d70000"
114 green: "#d70087"
115 yellow: "#8700af"
116 blue: "#d75f00"
117 magenta: "#d75f00"
118 cyan: "#005faf"
119 white: "#005f87"
120 afterglow: &afterglow
121 primary:
122 background: "#2c2c2c"
123 foreground: "#d6d6d6"
124 dim_foreground: "#dbdbdb"
125 bright_foreground: "#d9d9d9"
126 dim_background: "#202020" # not sure
127 bright_background: "#3a3a3a" # not sure
128 cursor:
129 text: "#2c2c2c"
130 cursor: "#d9d9d9"
131 normal:
132 black: "#1c1c1c"
133 red: "#bc5653"
134 green: "#909d63"
135 yellow: "#ebc17a"
136 blue: "#7eaac7"
137 magenta: "#aa6292"
138 cyan: "#86d3ce"
139 white: "#cacaca"
140 bright:
141 black: "#636363"
142 red: "#bc5653"
143 green: "#909d63"
144 yellow: "#ebc17a"
145 blue: "#7eaac7"
146 magenta: "#aa6292"
147 cyan: "#86d3ce"
148 white: "#f7f7f7"
149 dim:
150 black: "#232323"
151 red: "#74423f"
152 green: "#5e6547"
153 yellow: "#8b7653"
154 blue: "#556b79"
155 magenta: "#6e4962"
156 cyan: "#5c8482"
157 white: "#828282"
158 ir_black: &ir_black
159 primary:
160 background: '#000000'
161 foreground: '#ffffff'
162 cursor:
163 text: '#ffffff'
164 cursor: '#ffffff'
165 normal:
166 black: '#4e4e4e'
167 red: '#ff6c60'
168 green: '#a8ff60'
169 yellow: '#ffffb6'
170 blue: '#96cbfe'
171 magenta: '#ff73fd'
172 cyan: '#c6c5fe'
173 white: '#eeeeee'
174 bright:
175 black: '#7c7c7c'
176 red: '#ffb6b0'
177 green: '#ceffab'
178 yellow: '#ffffcb'
179 blue: '#b5dcfe'
180 magenta: '#ff9cfe'
181 cyan: '#dfdffe'
182 white: '#ffffff'
183 nord: &nord
184 primary:
185 background: '#2E3440'
186 foreground: '#D8DEE9'
187 normal:
188 black: '#3B4252'
189 red: '#BF616A'
190 green: '#A3BE8C'
191 yellow: '#EBCB8B'
192 blue: '#81A1C1'
193 magenta: '#B48EAD'
194 cyan: '#88C0D0'
195 white: '#E5E9F0'
196 bright:
197 black: '#4C566A'
198 red: '#BF616A'
199 green: '#A3BE8C'
200 yellow: '#EBCB8B'
201 blue: '#81A1C1'
202 magenta: '#B48EAD'
203 cyan: '#8FBCBB'
204 white: '#ECEFF4'
205 seoul256_dark: &seoul256_dark
206 primary:
207 background: '#3a3a3a'
208 foreground: '#d0d0d0'
209 normal:
210 black: '#4e4e4e'
211 red: '#d68787'
212 green: '#5f865f'
213 yellow: '#d8af5f'
214 blue: '#85add4'
215 magenta: '#d7afaf'
216 cyan: '#87afaf'
217 white: '#d0d0d0'
218 bright:
219 black: '#626262'
220 red: '#d75f87'
221 green: '#87af87'
222 yellow: '#ffd787'
223 blue: '#add4fb'
224 magenta: '#ffafaf'
225 cyan: '#87d7d7'
226 white: '#e4e4e4'
227 seoul256_light: &seoul256_light
228 primary:
229 background: '#dadada'
230 foreground: '#4e4e4e'
231 normal:
232 black: '#4e4e4e'
233 red: '#af5f5f'
234 green: '#5f885f'
235 yellow: '#af8760'
236 blue: '#5f87ae'
237 magenta: '#875f87'
238 cyan: '#5f8787'
239 white: '#e4e4e4'
240 bright:
241 black: '#3a3a3a'
242 red: '#870100'
243 green: '#005f00'
244 yellow: '#d8865f'
245 blue: '#0087af'
246 magenta: '#87025f'
247 cyan: '#008787'
248 white: '#eeeeee'
249 taerminal: &taerminal
250 primary:
251 background: '#26282a'
252 foreground: '#f0f0f0'
253 cursor:
254 background: '#f0f0f0'
255 foreground: '#26282a'
256 normal:
257 black: '#26282a'
258 red: '#ff8878'
259 green: '#b4fb73'
260 yellow: '#fffcb7'
261 blue: '#8bbce5'
262 magenta: '#ffb2fe'
263 cyan: '#a2e1f8'
264 white: '#f1f1f1'
265 bright:
266 black: '#6f6f6f'
267 red: '#fe978b'
268 green: '#d6fcba'
269 yellow: '#fffed5'
270 blue: '#c2e3ff'
271 magenta: '#ffc6ff'
272 cyan: '#c0e9f8'
273 white: '#ffffff'
274colors: *nord

bootstripper.java

Added
new file mode 100644

+124 / −0 text lines

1import java.nio.file.*;
2import java.io.*;
3import java.util.*;
4
5class bootstripper{
6 public static void main(String[] arguments) throws Exception {
7 if(arguments.length == 0){
8 usage();
9 fail();
10 }
11 var dorkfiles_root = Path.of(arguments[0]).toRealPath();
12 System.out.printf("Assuming dorkfiles root repo in %s.%n", emphasize_local(dorkfiles_root.toString()));
13 decrypt_secrets(dorkfiles_root.resolve("secrets"));
14 var hostname = hostname();
15 System.out.printf("Hostname: %s%n", emphasize_global(hostname));
16 var symlinks_file = hostname + ".symlinks";
17 create_symlinks(dorkfiles_root.resolve(symlinks_file));
18 }
19 static void decrypt_secrets(Path secrets_root) throws Exception {
20 System.out.printf("%s:Decrypting files in %s folder.%n", emphasize_global("TODO"), emphasize_local(secrets_root.getFileName().toString()));
21 }
22 static void create_symlinks(Path symlinks_file) throws Exception {
23 System.out.printf("Creating symlinks as defined in %s file.%n", emphasize_local(symlinks_file.getFileName().toString()));
24 var lines = Files.readAllLines(symlinks_file);
25 String source = null;
26 String target = null;
27 for(String line : lines){
28 if(line.isBlank()) continue;
29 if (source == null) source = line;
30 else if (target == null) target = line;
31 if(source != null && target != null){
32 link(source, target);
33 source = null;
34 target = null;
35 }
36 }
37 }
38 static void link(String source, String target) throws Exception {
39 var home = System.getProperty("user.home");
40 var source_path = Path.of(source.replace("~", home)).toAbsolutePath();
41 var target_path = Path.of(target.replace("~", home)).toAbsolutePath();
42 var is_directory = Files.isDirectory(source_path);
43 if(Files.exists(target_path, LinkOption.NOFOLLOW_LINKS)){
44 if(Files.exists(target_path)) {
45 System.out.printf("%n✅ %s already exists!%nNot linking %s.%n", emphasize_global(target_path.toString()), emphasize_local(source_path.toString()));
46 return;
47 }
48 else {
49 System.out.printf("❌ %s exists, but it points into nirvana. Removing broken link!%n", target_path.toString());
50 Files.delete(target_path);
51 }
52 }
53 System.out.printf("🔗 %s ➔ %s.%n", emphasize_local(source_path.toString()), emphasize_local(target_path.toString()));
54 Files.createDirectories(target_path.getParent());
55 try{
56 Files.createSymbolicLink(target_path, source_path);
57 }
58 catch (Exception __) {
59 /*
60 * Creating symbolic links on Windows only recently became possible without admin rights.
61 * However, most tools (including JDK) have not yet adapted to this change and still require admin rights.
62 * Until that is fixed, we escape to a system tool that is known to behave correcty in this regard.
63 */
64 var operating_system = System.getProperty("os.name");
65 if(operating_system.toLowerCase().contains("win")){
66 var process = new ProcessBuilder();
67 var command = process.command();
68 command.add("cmd.exe");
69 command.add("/c");
70 command.add("mklink");
71 if(is_directory){
72 command.add("/d");
73 }
74 command.add(target_path.toString());
75 command.add(source_path.toString());
76 process.inheritIO()
77 .start()
78 .onExit()
79 .join();
80 }
81 else {
82 __.printStackTrace();
83 fail("Could not create symbolic link!");
84 }
85 }
86 }
87 static String hostname() throws Exception {
88 var process = new ProcessBuilder()
89 .command("hostname")
90 .start()
91 .onExit()
92 .join();
93 try(var reader = new InputStreamReader(process.getInputStream()))
94 {
95 int character = -1;
96 var output = new StringBuilder();
97 while((character = reader.read()) != -1){
98 if(character == '\n' || character == '\r') continue;
99 output.append((char)character);
100 }
101 return output.toString();
102 }
103 }
104 static void usage() {
105 System.out.printf("Bootstraps bugabingas %s.%n", emphasize_local("dorkfiles"));
106 System.out.printf("%s: java bootstripper.java <dotfiles root path>%n", emphasize_global("Usage"));
107 }
108 static void exit() {
109 System.exit(0);
110 }
111 static String emphasize_global(String message) {
112 return "\033[4m" + message + "\033[0m";
113 }
114 static String emphasize_local(String message) {
115 return "\033[3m" + message + "\033[0m";
116 }
117 static void fail(String message, Object... arguments) {
118 System.out.printf(message, arguments);
119 System.exit(-1);
120 }
121 static void fail() {
122 System.exit(-1);
123 }
124}

cargo/config.toml

Added
new file mode 100644

+23 / −0 text lines

1[build]
2# enable a cache for crates between builds
3rustc-wrapper = "sccache"
4# since we only care for builds for our own machine, let's benefit from thise juicy modern cpu features
5rustflags = [ "-C","target-cpu=native" ]
6
7# let's have some fun with "omgz performance rice dat cake"
8[profile.release]
9# link time optimization is slow, but allows inter-crate analysis
10lto = "fat"
11# similarly, crates get split into chunks while compiling in order to maximize throughput
12# but we don't care about compile wall time here, only RAWR PERFF
13# less chunks affors more opportunity for optimiziations
14codegen-units = 1
16[target.x86_64-pc-windows-msvc]
17# apparently, the LLVM linker is faster than others...
18linker = "lld-link.exe"
20[target.x86_64-unknown-linux-gnu]
21rustflags = [
22 "-C", "linker=clang",
23]

git/.gitconfig

Deleted
deleted file mode 100644

+0 / −53 text lines

1# This is Git's per-user configuration file.
2[user]
3 name = Oliver Jan Krylow
4 email = olver@bugabinga.net
5
6[core]
7 editor = nvim
8 quotepath = false
9 autocrlf = input
10 pager = delta
12[diff]
13 colorMoved = default
14 tool = nvimdiff
16[difftool]
17 prompt = false
19[difftool "nvimdiff"]
20 cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
22[merge]
23 tool = nvimmerge
25[mergetool]
26 prompt = true
28[mergetool "nvimmerge"]
29 cmd = "nvim -d \"$LOCAL\" \"$MERGED\" \"$REMOTE\" -c 'wincmd w' -c 'wincmd J'"
31[pull]
32 rebase = false
34[interactive]
35 diffFilter = delta --color-only
37[delta]
38 side-by-side = true
39 line-numbers = true
40 decorations = true
41 navigate = true
42 syntax-theme = none
44[interactive]
45 diffFilter = delta --color-only
47[init]
48 defaultBranch = trunk
50# In order to have host-specific configuration, I include additional settings here.
51# On each host a different file might be symlinked into '.gitconfig.include'.
52[include]
53 path = .gitconfig.include

git/.gitconfig.EJ-PC-00363

Deleted
deleted file mode 100644

+0 / −7 text lines

1#vim: ft=gitconfig
2[user]
3 name = Oliver Krylow
4 email = o.krylow@isp-insoft.de
5
6[credential]
7 helper = manager-core

git/gitconfig

Added
new file mode 100644

+58 / −0 text lines

1# vim: ft=gitconfig
2# This is Git's per-user configuration file.
3[user]
4 name = Oliver Jan Krylow
5 email = olver@bugabinga.net
6
7[core]
8 editor = nvim
9 quotepath = false
10 autocrlf = input
11 pager = delta
12 safecrlf = false
14[diff]
15 colorMoved = default
16 tool = nvimdiff
18[difftool]
19 prompt = false
21[difftool "nvimdiff"]
22 cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
24[merge]
25 tool = nvimmerge
27[mergetool]
28 prompt = true
30[mergetool "nvimmerge"]
31 cmd = "nvim -d \"$LOCAL\" \"$MERGED\" \"$REMOTE\" -c 'wincmd w' -c 'wincmd J'"
33[pull]
34 rebase = false
36[interactive]
37 diffFilter = delta --color-only
39[delta]
40 side-by-side = true
41 line-numbers = true
42 decorations = true
43 navigate = true
44 syntax-theme = none
46[interactive]
47 diffFilter = delta --color-only
49[init]
50 defaultBranch = trunk
52[commit]
53 verbose = true
55# In order to have host-specific configuration, I include additional settings here.
56# On each host a different file might be symlinked into '.gitconfig.include'.
57[include]
58 path = .gitconfig.include

git/gitconfig.EJ-PC-00363

Added
new file mode 100644

+7 / −0 text lines

1#vim: ft=gitconfig
2[user]
3 name = Oliver Krylow
4 email = o.krylow@isp-insoft.de
5
6[credential]
7 helper = manager-core

git/gitconfig.linux

Added
new file mode 100644

+7 / −0 text lines

1#vim: ft=gitconfig
2[sendemail]
3smtpserver = box.bugabinga.net
4smtpuser = oliver@bugabinga.net
5smtpencryption = tls
6smtpserverport = 587
7annotate = yes

icc/thinkpad_x230.icc

Added
new file mode 100644

Binary size (old → new): 0 → 6376 bytes.

indexa/config.linux.toml

Added
new file mode 100644

+141 / −0 text lines

1[flags]
2# Default values for command-line flags.
3# Flags provided to CLI will override this group of options.
4
5# Initial query.
6# query = "blah blah"
7
8# Whether to search case-sensitively.
9# Defaults to smart case.
10# case_sensitive = false
12# Whether to search case-insensitively.
13# Defaults to smart case.
14# ignore_case = false
16# Whether to search in path.
17# match_path = false
19# Whether to search in path when query contains path separators.
20auto_match_path = true
22# Whether to enable regex.
23# regex = true
25# Number of threads to use.
26# Defaults to the number of available CPUs - 1.
27# threads = 4
29[database]
30# Location of database file. Defaults to {user's data directory}/indexa/database.db
31# location = "/path/to/database/database.db"
33# File/directory statuses to index.
34# basename, path and extension are implicitly specified.
35index = [
36 # "size",
37 # "mode",
38 # "created",
39 # "modified",
40 # "accessed",
41]
43# File/directory statuses to enable fast sorting for.
44# basename is implicitly specified.
45fast_sort = [
46 # "path",
47 # "extension",
48 # "size",
49 # "mode",
50 # "created",
51 # "modified",
52 # "accessed",
53]
55# Root directories to index. Defaults to / on Unix and %HOMEDRIVE%\ (usually C:\) on Windows.
56dirs = [
57 "/"
58 ]
60# Whether to ignore hidden files/directories.
61ignore_hidden = false
63[ui]
64# File/directory status to sort by.
65sort_by = "basename"
66# sort_by = "path"
67# sort_by = "extension"
68# sort_by = "size"
69# sort_by = "mode"
70# sort_by = "created"
71# sort_by = "modified"
72# sort_by = "accessed"
74# Sort order.
75sort_order = "ascending"
76# sort_order = "descending"
78# Whether to sort directories before files.
79sort_dirs_before_files = true
81# Whether to show size in human readable format.
82human_readable_size = true
84# Datetime format for Created, Modified, and Accessed columns.
85datetime_format = "%Y-%m-%d %R"
87# Margin between columns.
88column_spacing = 2
90# Columns from left to right.
91# Columns with width specified will have fixed widths.
92# Remaining screen width is evenly distributed among other columns.
93[[ui.columns]]
94status = "basename"
96[[ui.columns]]
97status = "size"
98width = 10
100[[ui.columns]]
101status = "modified"
102width = 16
104[[ui.columns]]
105status = "path"
107[ui.unix]
108# Format of mode column.
109mode_format = "symbolic"
110# mode_format = "octal"
112[ui.windows]
113# Format of mode column.
114# mode_format = "traditional"
115mode_format = "powershell"
117[ui.colors]
118# Colors in one of following formats:
119# - Color name
120# reset, black, white, red, green, yellow, blue, magenta, cyan, gray, darkgray,
121# lightred, lightgreen, lightyellow, lightblue, lightmagenta, lightcyan
122# - RGB e.g. "66, 135, 245"
123# - Hex e.g. "#e43", "#fcba03"
125# Text (selected line)
126selected_fg = "lightblue"
127# Background (selected line)
128selected_bg = "reset"
130# Text (matched substring)
131matched_fg = "black"
132# Background (matched substring)
133matched_bg = "lightblue"
135# Text (error message)
136error_fg = "red"
137# Background (error message)
138error_bg = "reset"
140# Prompt
141prompt = "lightblue"

indexa/config.windows.toml

Added
new file mode 100644

+135 / −0 text lines

1[flags]
2# Default values for command-line flags.
3# Flags provided to CLI will override this group of options.
4
5# Initial query.
6# query = "blah blah"
7
8# Whether to search case-sensitively.
9# Defaults to smart case.
10# case_sensitive = false
12# Whether to search case-insensitively.
13# Defaults to smart case.
14# ignore_case = false
16# Whether to search in path.
17match_path = "auto"
19# Whether to enable regex.
20# regex = true
22# Number of threads to use.
23# Defaults to the number of available CPUs - 1.
24# threads = 4
26[database]
27# Location of database file. Defaults to {user's data directory}/indexa/database.db
28# location = "/path/to/database/database.db"
30# File/directory statuses to index.
31# basename, path and extension are implicitly specified.
32index = [
33 # "size",
34 # "mode",
35 # "created",
36 # "modified",
37 # "accessed",
38]
40# File/directory statuses to enable fast sorting for.
41# basename is implicitly specified.
42fast_sort = [
43 # "path",
44 # "extension",
45 # "size",
46 # "mode",
47 # "created",
48 # "modified",
49 # "accessed",
50]
52# Root directories to index. Defaults to / on Unix and %HOMEDRIVE%\ (usually C:\) on Windows.
53dirs = [
54 "C:\\",
55 "D:\\"
56 ]
58# Whether to ignore hidden files/directories.
59ignore_hidden = false
61[ui]
62# File/directory status to sort by.
63sort_by = "basename"
64# sort_by = "path"
65# sort_by = "extension"
66# sort_by = "size"
67# sort_by = "mode"
68# sort_by = "created"
69# sort_by = "modified"
70# sort_by = "accessed"
72# Sort order.
73sort_order = "ascending"
74# sort_order = "descending"
76# Whether to sort directories before files.
77sort_dirs_before_files = true
79# Whether to show size in human readable format.
80human_readable_size = true
82# Datetime format for Created, Modified, and Accessed columns.
83datetime_format = "%d.%m.%Y %R"
85# Margin between columns.
86column_spacing = 4
88# Columns from left to right.
89# Columns with width specified will have fixed widths.
90# Remaining screen width is evenly distributed among other columns.
91[[ui.columns]]
92status = "basename"
94[[ui.columns]]
95status = "modified"
96width = 16
98[[ui.columns]]
99status = "path"
101[ui.unix]
102# Format of mode column.
103mode_format = "symbolic"
104# mode_format = "octal"
106[ui.windows]
107# Format of mode column.
108# mode_format = "traditional"
109mode_format = "powershell"
111[ui.colors]
112# Colors in one of following formats:
113# - Color name
114# reset, black, white, red, green, yellow, blue, magenta, cyan, gray, darkgray,
115# lightred, lightgreen, lightyellow, lightblue, lightmagenta, lightcyan
116# - RGB e.g. "66, 135, 245"
117# - Hex e.g. "#e43", "#fcba03"
119# Text (selected line)
120selected_fg = "white"
121# Background (selected line)
122selected_bg = "magenta"
124# Text (matched substring)
125matched_fg = "lightcyan"
126# Background (matched substring)
127matched_bg = "reset"
129# Text (error message)
130error_fg = "red"
131# Background (error message)
132error_bg = "reset"
134# Prompt
135prompt = "magenta"

neovim/.luacheckrc

Deleted
deleted file mode 100644

+0 / −28 text lines

1-- vim: ft=lua tw=80
2stds.nvim = {
3 read_globals = { 'jit' },
4}
5std = 'lua51+nvim'
6self = false
7ignore = {
8 -- max_line_length
9 '631',
10 -- unused argument, for vars with "_" prefix
11 '212/_.*',
12 '241/_.*',
13}
14globals = {
15 'cheatsheet',
16}
17read_globals = {
18 vim = {
19 other_fields = true,
20 fields = {
21 g = {
22 read_only = false,
23 other_fields = true,
24 },
25 },
26 },
27}
28files['.luacheckrc'] = { only = { '1' } }

neovim/.stylua.toml

Deleted
deleted file mode 100644

+0 / −6 text lines

1column_width = 80
2line_endings = "Unix"
3indent_type = "Spaces"
4indent_width = 2
5quote_style = "AutoPreferSingle"
6no_call_parentheses = true

neovim/init.lua

Modified

+46 / −39 text lines

1515-- are a pain in the butt right now.
1616-- That is why we invent our own abstractions over the current API.
1717-- These roughly emulate what we are used to from Vimscript:
18-- - options => use metaaccessors: vim.o, vim.bo, vim.wo
18-- - options => use vim.opt and metaaccessors: vim.o, vim.bo, vim.wo
1919-- - commands => use function vim.cmd
2020-- - autocommands => use module `autocommand`
2121-- - highlights and groups => use plugin colorbuddy
23-- import `dump` into the global namespace, so that we can use it in a running vim instance: `:lua dump(vim.fn)`
24_G.dump = require 'dump'
25-- import `syntax_stack` into global namespace. shows the highlight group under cursor
26_G.syntax_stack = require 'syntax_stack'
23-- import `dump` into the global namespace, so that we can use it in a running vim instance: `:lua Dump(vim.fn)`
24Dump = require("dump")
2725-- Define some standard path locations where we will put stuff into.
2826-- `data` is for persistent data like logs, backups and file states.
2927-- `config` is for configuration code itself and plugins.
3028-- `cache` is for fleeting, temporary data.
31local data_path = vim.fn.stdpath 'data'
29local data_path = vim.fn.stdpath("data")
3230-- local config_path = vim.fn.stdpath 'config'
3331-- local cache_path = vim.fn.stdpath 'cache'
35local autocommand = require 'autocommand'
33local autocommand = require("autocommand")
3735-- My cheatsheet is an initial buffer (if none was specified) where I put stuff to remember/learn.
3836-- Keybinds, commands, todos are all fair game.
39local cheatsheet, setup_cheatsheet = require 'cheatsheet'()
40-- make cheatsheet globally available for easy access in plugins configurations blocks of packer
41_G.cheatsheet = cheatsheet
42cheatsheet ''
43cheatsheet 'Stuff for bugabinga to remember about NeoVim'
44cheatsheet ''
45local settings = require 'general_editor_settings'
37local cheatsheet = require("cheatsheet").print
38local setup_cheatsheet = require("cheatsheet").setup
39cheatsheet("")
40cheatsheet("Stuff for bugabinga to remember about NeoVim")
41cheatsheet("")
42local settings = require("general_editor_settings")
4643settings(autocommand, data_path)
47-- when started with '--headless', there will be no attached UIs
48local non_interactive = #vim.api.nvim_list_uis() == 0
49-- Put the plugins module into the global scope, so that it can be used more easily in commands
50_G.plugins = require 'plugins'(autocommand, data_path, non_interactive)
45-- setup my custom tabline
46local setup_tabline = require("tabline").setup
47setup_tabline()
49-- setup my custom statusline
50local setup_statusline = require("statusline").setup
51setup_statusline(autocommand)
5153-- setup my own keybindings
52require 'keybinds'(cheatsheet)
54require("keybinds")(cheatsheet)
5456-- some file specific settings
55require 'filetype.yaml'(autocommand)
56require 'filetype.ansi_c'(autocommand)
57local _, setup_mkdir = require 'mkdir'()
57require("filetype.yaml")(autocommand)
58require("filetype.ansi_c")(autocommand)
59local setup_mkdir = require("mkdir").setup
5860setup_mkdir(autocommand)
60-- Commands have no nvim API yet, so we use vimscript...
61cheatsheet ':WhatHighlight => This command shows the highlight group under the cursor'
62vim.cmd [[command! WhatHighlight lua syntax_stack()]]
63cheatsheet ':TSHighlightCapturesUnderCursor => This command shows the highlight group under the cursor, when TreeSitter is used'
62-- Load nvim plugins
63-- when started with '--headless', there will be no attached UIs
64local non_interactive = #vim.api.nvim_list_uis() == 0
65-- Load the plugins module into the global namespace in order to reference them later in keymaps
66Plugins = require("plugins")(data_path, non_interactive)
6568-- Lazy load the plugin manager packer, when using these commands
6669-- cheatsheet':PluginsInstall => Install the specified plugins if they are not already installed'
67vim.cmd [[command! PluginsInstall packadd packer.nvim | lua plugins.install()]]
70vim.cmd([[command! PluginsInstall packadd packer.nvim | lua Plugins.install()]])
6971-- cheatsheet':PluginsUpdate => Update the specified plugins, installing any that are missing'
70vim.cmd [[command! PluginsUpdate packadd packer.nvim | lua plugins.update()]]
72cheatsheet ':PluginsSync => Perform a clean followed by an update'
73vim.cmd [[command! PluginsSync packadd packer.nvim | lua plugins.sync()]]
72vim.cmd([[command! PluginsUpdate packadd packer.nvim | lua Plugins.update()]])
73cheatsheet(":PluginsSync => Perform a clean followed by an update")
74vim.cmd([[command! PluginsSync packadd packer.nvim | lua Plugins.sync()]])
7575-- cheatsheet':PluginsClean => Remove any disabled or no longer managed plugins'
76vim.cmd [[command! PluginsClean packadd packer.nvim | lua plugins.clean()]]
76vim.cmd([[command! PluginsClean packadd packer.nvim | lua Plugins.clean()]])
7877-- cheatsheet':PluginsCompile => Compile lazy-loader code and save to path'
79vim.cmd [[command! PluginsCompile packadd packer.nvim | lua plugins.compile()]]
78vim.cmd([[command! PluginsCompile packadd packer.nvim | lua Plugins.compile()]])
79cheatsheet(":PluginsProfile => Show the measured startup times of plugins")
80vim.cmd([[command! PluginsProfile packadd packer.nvim | lua Plugins.profile_output()]])
81vim.cmd([[command! PluginsStatus packadd packer.nvim | lua Plugins.status()]])
81cheatsheet ':PluginsProfile => Show the measured startup times of plugins'
82vim.cmd [[command! PluginsProfile packadd packer.nvim | lua plugins.profile_output()]]
83autocommand({
84 compile_lazy_plugin_loading_script_on_save = "BufWritePost plugins.lua source <afile> | PluginsCompile",
85})
84vim.cmd [[command! PluginsStatus packadd packer.nvim | lua plugins.status()]]
87cheatsheet("")
88cheatsheet("Drawing ASCII diagrams with venn.nvim:")
89cheatsheet("Activate visual edit: `:set virtualedit=all`")
90cheatsheet("Select blocks: `<C-v>`")
91cheatsheet("Invoke `:Vbox`")
8693-- Should be the last call
8794setup_cheatsheet()

neovim/lua/cheatsheet.lua

Modified

+48 / −50 text lines

44-- The first one can be used to add to the cheatsheet buffer.
55-- Throughout the configuration code, this function is expected to be called and given lines of text to display.
66-- The second one sets up the custom intro screen, if nvim was started without any arguments.
7return function()
8 local cheatsheet_lines = { 'CHEATSHEET VIM COMMANDS' }
9 local is_setup = false
10 return function(message)
11 table.insert(cheatsheet_lines, message)
12 if is_setup and vim.api.nvim_buf_get_name(0):match 'cheatsheet' then
13 vim.cmd [[noautocmd setlocal modifiable]]
14 -- Adds message by appending to the end of current buffer
15 vim.api.nvim_buf_set_lines(0, -1, -1, false, { message })
16 vim.cmd [[noautocmd setlocal nomodifiable nomodified]]
17 end
18 end,
19 function()
20 if
21 -- program arguments were given
22 vim.fn.argc() ~= 0
23 -- the buffer is not empty
24 or vim.fn.line2byte '$' ~= -1
25 -- vim is already in insert mode
26 or vim.o.insertmode
27 -- buffer is not modifiable
28 or not vim.o.modifiable
29 then
30 -- simply do nothing, which results in the normal nvim behaviour
31 return
32 end
33 -- disables the default intro screen
34 vim.o.shortmess = vim.o.shortmess .. 'I'
35 -- ignore all autocommand event while we setup our start screen
36 vim.o.eventignore = 'all'
37 vim.cmd [[noautocmd silent! setlocal bufhidden=wipe colorcolumn= foldcolumn=0 matchpairs= nobuflisted nocursorcolumn nocursorline nolist nonumber norelativenumber nospell noswapfile signcolumn=no synmaxcol& statusline=cheatsheet filetype=intro]]
38 -- add lines here to buffer
39 vim.api.nvim_buf_set_name(0, 'cheatsheet')
40 vim.api.nvim_buf_set_lines(
41 0,
42 0,
43 #cheatsheet_lines,
44 false,
45 cheatsheet_lines
46 )
47 vim.cmd [[noautocmd setlocal nomodifiable nomodified]]
48 vim.cmd [[silent! %foldopen!]]
49 vim.cmd [[normal! zb]]
50 -- when entering insert mode, open new buffer
51 vim.cmd [[nnoremap <buffer><nowait><silent> i :enew <bar> startinsert<cr>]]
52 vim.o.eventignore = ''
54 -- remember if the cheatsheet was already set up, so that the messenger function can instead modify the buffer
55 is_setup = true
56 end
57end
8local cheatsheet_lines = { "CHEATSHEET VIM COMMANDS" }
9local is_setup = false
11return {
12 print = function(message)
13 table.insert(cheatsheet_lines, message)
14 if is_setup and vim.api.nvim_buf_get_name(0):match("cheatsheet") then
15 vim.cmd([[noautocmd setlocal modifiable]])
16 -- Adds message by appending to the end of current buffer
17 vim.api.nvim_buf_set_lines(0, -1, -1, false, { message })
18 vim.cmd([[noautocmd setlocal nomodifiable nomodified]])
19 end
20 end,
21 setup = function()
22 if
23 -- program arguments were given
24 vim.fn.argc() ~= 0
25 -- the buffer is not empty
26 or vim.fn.line2byte("$") ~= -1
27 -- vim is already in insert mode
28 or vim.o.insertmode
29 -- buffer is not modifiable
30 or not vim.o.modifiable
31 then
32 -- simply do nothing, which results in the normal nvim behaviour
33 return
34 end
35 -- disables the default intro screen
36 vim.o.shortmess = vim.o.shortmess .. "I"
37 -- ignore all autocommand event while we setup our start screen
38 vim.o.eventignore = "all"
39 vim.cmd(
40 [[noautocmd silent! setlocal bufhidden=wipe colorcolumn= foldcolumn=0 matchpairs= nobuflisted nocursorcolumn nocursorline nolist nonumber norelativenumber nospell noswapfile signcolumn=no synmaxcol& statusline=cheatsheet filetype=intro]]
41 )
42 -- add lines here to buffer
43 vim.api.nvim_buf_set_name(0, "cheatsheet")
44 vim.api.nvim_buf_set_lines(0, 0, #cheatsheet_lines, false, cheatsheet_lines)
45 vim.cmd([[noautocmd setlocal nomodifiable nomodified]])
46 vim.cmd([[silent! %foldopen!]])
47 vim.cmd([[normal! zb]])
48 -- when entering insert mode, open new buffer
49 vim.cmd([[nnoremap <buffer><nowait><silent> i :enew <bar> startinsert<cr>]])
50 vim.o.eventignore = ""
52 -- remember if the cheatsheet was already set up, so that the messenger function can instead modify the buffer
53 is_setup = true
54 end,
55}

neovim/lua/filetype/ansi_c.lua

Modified

+0 / −1 text lines

11return function(autocommand)
2 autocommand{ setup_build_for_dotfiles_boottripper = [[ BufRead bootstripper.c set makeprg=../build.bat ]]}
32end

neovim/lua/general_editor_settings.lua

Modified

+135 / −132 text lines

11-- This function sets up neovim with general configuration options.
22-- "General" means, valid for all use-cases, file types etc.
33return function(autocommand, data_path)
4 -- Setting the width of the tab character to 2
5 local tab_size = 2
6 vim.opt.tabstop = tab_size
7 vim.opt.shiftwidth = tab_size
8 vim.opt.softtabstop = tab_size
9 -- convert tabs to spaces
10 vim.opt.expandtab = true
11 -- Keep indentation of new lines in line with previuos lines
12 vim.opt.autoindent = true
13 vim.opt.copyindent = true
14 vim.opt.smartindent = true
15 -- Do not display the cursorposition, since it can be shown when necesary 'g <C-G>'
16 vim.opt.ruler = false
17 -- How many milliseconds must pass before neovim decides I was "idle"
18 vim.opt.updatetime = 250
19 -- How long to wait between key sequences in order to chain them. e.g. <LEADER>b
20 vim.opt.timeoutlen = 350
21 -- I do not care for folding
22 vim.opt.foldenable = false
23 vim.opt.cursorline = true
24 -- Highlight the cursor line in the current buffer
25 autocommand {
26 show_cursor_line_in_active_window = {
27 [[WinLeave * lua vim.opt.cursorline = false]],
28 [[WinEnter * lua vim.opt.cursorline = true]],
29 [[InsertEnter * lua vim.opt.cursorline = false]],
30 [[InsertLeave * lua vim.opt.cursorline = true]],
31 },
32 }
33 -- integrate Powershell Core with nvim
34 if vim.fn.has('win32') == 1 then
35 vim.opt.shell = 'powershell'
36 vim.opt.shellquote = ''
37 vim.opt.shellxquote = ''
38 vim.opt.shellcmdflag = '-NoLogo -NoProfile -NonInteractive -ExecutionPolicy RemoteSigned -Command'
39 vim.opt.shellredir = '| Out-File -Encoding UTF8'
40 vim.opt.shellpipe = '| Out-File -Encoding UTF8'
41 end
42 -- insert whitespace type based on whitespace on previous line
43 vim.opt.smarttab = true
44 vim.opt.hlsearch = true
45 vim.opt.ignorecase = true
46 vim.opt.smartcase = true
47 vim.opt.incsearch = true
48 vim.opt.showmatch = true
49 vim.opt.hidden = true
50 -- Show the effects of substitutions incrementally
51 vim.opt.inccommand = 'nosplit'
52 -- enable mouse support, in a terminal app... i know crazy...
53 vim.opt.mouse = 'a'
54 -- use ripgrep instead of grep
55 vim.opt.grepprg = 'rg --vimgrep --no-heading --smart-case'
56 vim.opt.grepformat = '%f:%1:%c:%m'
57 -- Show certain whitespace characters
58 vim.opt.listchars = { tab='⯈ ',trail=' ',nbsp='␠',extends='⋯',precedes='⋯',space='⸱' }
59 vim.opt.scrolloff = 3
60 -- make navigation from start of line to end of previous line more natural
61 vim.opt.whichwrap:append('<>hl')
62 -- do not spam the cmdline with every little input
63 vim.opt.showcmd = false
64 vim.opt.wildmode = 'list:longest'
65 -- Set the current working directory to the parent of the active buffer
66 vim.opt.autochdir = true
67 -- Keep track of file changes outside of vim
68 vim.opt.autoread = true
69 -- Make backups of all touched files in a special directory
70 vim.opt.backup = true
71 vim.opt.writebackup = true
72 vim.opt.backupcopy = 'auto'
73 -- The magic slash at the end is important.
74 -- It tells vim to use the absolute path in encoded form as the backup file
75 -- name.
76 vim.opt.backupdir = data_path .. '/backup/'
77 if vim.fn.empty(vim.fn.glob(vim.o.backupdir)) > 0 then
78 vim.fn.mkdir(vim.o.backupdir, 'p')
79 end
80 autocommand {
81 backup_timestamp = [[BufWritePre * lua vim.opt.backupext = '@' .. vim.fn.strftime("%F.%H:%M") .. '.bak']],
82 }
83 -- set global swap directory, so that swap files do not pollute my workspace
84 vim.opt.directory = data_path .. '/swap/'
85 -- persit undo states across vim restarts
86 vim.opt.undofile = true
87 vim.opt.undodir = data_path .. '/undo/'
88 -- ask me to force failed commands
89 vim.opt.confirm = true
90 vim.opt.completeopt = {'menuone', 'noinsert', 'noselect'}
91 -- avoid showing messages during automomplete
92 vim.opt.shortmess:append('c')
93 -- open splits below and to the right of current buffers
94 vim.opt.splitbelow = true
95 vim.opt.splitright = true
96 -- always show the signcolumn, because i don't like jumpy UIs
97 vim.opt.signcolumn = 'yes'
98 -- Use true colors
99 vim.opt.termguicolors = true
100 vim.opt.lazyredraw = true
101 vim.opt.guifont = 'BlexMono NF:h13:1'
102 -- Set cursor position to last known position, when entering a window
103 autocommand {
104 restore_cursor_position = [[ BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif ]],
105 }
106 -- Automatically enter and leave insert mode when opening/closing terminal buffers.
107 autocommand {
108 auto_enter_insert_on_terminal = {
109 [[TermOpen,TermEnter * startinsert]],
110 [[TermClose,TermLeave * stopinsert]],
111 },
112 }
113 -- briefly highlight yanked text
114 autocommand {
115 highlight_yanked_text = [[TextYankPost * silent! lua vim.highlight.on_yank()]],
116 }
117 -- Disable some built-in plugins we don't want
118 local disabled_built_ins = {
119 'gzip',
120 'man',
121 'matchit',
122 'matchparen',
123 'shada_plugin',
124 'tar',
125 'tarPlugin',
126 'zip',
127 'zipPlugin',
128 'netrw',
129 'netrwPlugin',
130 'spec',
131 '2html_plugin',
132 }
133 for _, built_in in ipairs(disabled_built_ins) do
134 vim.g['loaded_' .. built_in] = 1
135 end
4 -- Setting the width of the tab character to 2
5 local tab_size = 2
6 vim.opt.tabstop = tab_size
7 vim.opt.shiftwidth = tab_size
8 vim.opt.softtabstop = tab_size
9 -- show status line and tabline
10 vim.opt.laststatus = 2
11 vim.opt.showtabline = 2
12 -- convert tabs to spaces
13 vim.opt.expandtab = true
14 -- Keep indentation of new lines in line with previuos lines
15 vim.opt.autoindent = true
16 vim.opt.copyindent = true
17 vim.opt.smartindent = true
18 -- Do not display the cursorposition, since it can be shown when necesary 'g <C-G>'
19 vim.opt.ruler = false
20 -- How many milliseconds must pass before neovim decides I was "idle"
21 vim.opt.updatetime = 250
22 -- How long to wait between key sequences in order to chain them. e.g. <LEADER>b
23 vim.opt.timeoutlen = 350
24 -- I do not care for folding
25 vim.opt.foldenable = false
26 vim.opt.cursorline = true
27 -- Highlight the cursor line in the current buffer
28 autocommand({
29 show_cursor_line_in_active_window = {
30 [[WinLeave * lua vim.opt.cursorline = false]],
31 [[WinEnter * lua vim.opt.cursorline = true]],
32 [[InsertEnter * lua vim.opt.cursorline = false]],
33 [[InsertLeave * lua vim.opt.cursorline = true]],
34 },
35 })
36 -- integrate Nushell with nvim
37 -- all nushell builtins (ls, sys, etc.) print their output with escape codes, which nvim cannot parse.
38 -- only time will tell if this will annoy me so much as to change it...
39 vim.opt.shell = "nu"
40 vim.opt.shellcmdflag = "--no-history --commands"
41 vim.opt.shellpipe = "| save %s"
42 vim.opt.shellredir = "| save %s"
43 vim.opt.shellquote = ""
44 vim.opt.shellxquote = ""
45 -- insert whitespace type based on whitespace on previous line
46 vim.opt.smarttab = true
47 vim.opt.hlsearch = true
48 vim.opt.ignorecase = true
49 vim.opt.smartcase = true
50 vim.opt.incsearch = true
51 vim.opt.showmatch = true
52 vim.opt.hidden = true
53 -- Show the effects of substitutions incrementally
54 vim.opt.inccommand = "nosplit"
55 -- enable mouse support, in a terminal app... i know crazy...
56 vim.opt.mouse = "a"
57 -- use ripgrep instead of grep
58 vim.opt.grepprg = "rg --vimgrep --no-heading --smart-case"
59 vim.opt.grepformat = "%f:%1:%c:%m"
60 -- Show certain whitespace characters
61 vim.opt.listchars = { tab = "⯈ ", trail = " ", nbsp = "␠", extends = "⋯", precedes = "⋯", space = "⸱" }
62 vim.opt.scrolloff = 3
63 -- make navigation from start of line to end of previous line more natural
64 vim.opt.whichwrap:append("<>hl")
65 -- do not spam the cmdline with every little input
66 vim.opt.showcmd = false
67 vim.opt.wildmode = "list:longest"
68 -- Set the current working directory to the parent of the active buffer
69 vim.opt.autochdir = false
70 -- Keep track of file changes outside of vim
71 vim.opt.autoread = true
72 -- Make backups of all touched files in a special directory
73 vim.opt.backup = true
74 vim.opt.writebackup = true
75 vim.opt.backupcopy = "auto"
76 -- The magic slash at the end is important.
77 -- It tells vim to use the absolute path in encoded form as the backup file
78 -- name.
79 vim.opt.backupdir = data_path .. "/backup/"
80 if vim.fn.empty(vim.fn.glob(vim.o.backupdir)) > 0 then
81 vim.fn.mkdir(vim.o.backupdir, "p")
82 end
83 autocommand({
84 backup_timestamp = [[BufWritePre * lua vim.opt.backupext = '@' .. vim.fn.strftime("%F.%H:%M") .. '.bak']],
85 })
86 -- set global swap directory, so that swap files do not pollute my workspace
87 vim.opt.directory = data_path .. "/swap/"
88 -- persit undo states across vim restarts
89 vim.opt.undofile = true
90 vim.opt.undodir = data_path .. "/undo/"
91 -- ask me to force failed commands
92 vim.opt.confirm = true
93 vim.opt.completeopt = { "menuone", "noinsert", "noselect" }
94 -- avoid showing messages during automomplete
95 vim.opt.shortmess:append("c")
96 -- open splits below and to the right of current buffers
97 vim.opt.splitbelow = true
98 vim.opt.splitright = true
99 -- always show the signcolumn, because i don't like jumpy UIs
100 vim.opt.signcolumn = "yes"
101 -- Use true colors
102 vim.opt.termguicolors = true
103 vim.opt.lazyredraw = true
104 vim.opt.guifont = "BlexMono NF:h13:1"
105 -- Set cursor position to last known position, when entering a window
106 autocommand({
107 restore_cursor_position = [[ BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif ]],
108 })
109 -- Automatically enter and leave insert mode when opening/closing terminal buffers.
110 autocommand({
111 auto_enter_insert_on_terminal = {
112 [[TermOpen,TermEnter * startinsert]],
113 [[TermClose,TermLeave * stopinsert]],
114 },
115 })
116 -- briefly highlight yanked text
117 autocommand({
118 highlight_yanked_text = [[TextYankPost * silent! lua vim.highlight.on_yank()]],
119 })
120 -- Disable some built-in plugins we don't want
121 local disabled_built_ins = {
122 "gzip",
123 "man",
124 "matchit",
125 "matchparen",
126 "shada_plugin",
127 "tar",
128 "tarPlugin",
129 "zip",
130 "zipPlugin",
131 "netrw",
132 "netrwPlugin",
133 "spec",
134 "2html_plugin",
135 }
136 for _, built_in in ipairs(disabled_built_ins) do
137 vim.g["loaded_" .. built_in] = 1
138 end
136139end

neovim/lua/keybinds.lua

Modified

+56 / −46 text lines

33-- The benefit of assembling all keybinds here is, that they are easy to find.
44-- But unfortunataly, by collecting them here, they are placed "far" from their logical place, i.e. the plugins configuration.
55return function(cheatsheet)
6 -- Delegator over nvim_set_keymap, that sets some default options
7 local map = function(mode, left_hand_side, right_hand_side, options)
8 local default_options = { noremap = true, unique = true }
9 if options then
10 default_options = vim.tbl_extend('force', default_options, options)
11 end
12 vim.api.nvim_set_keymap(
13 mode,
14 left_hand_side,
15 right_hand_side,
16 default_options
17 )
18 end
19 -- Let the <LEADER> key be <SPACE>
20 vim.g.mapleader = ' '
6 -- Delegator over nvim_set_keymap, that sets some default options
7 -- TODO expose this function as module
8 local map = function(mode, left_hand_side, right_hand_side, options)
9 local default_options = { noremap = true, unique = true }
10 if options then
11 default_options = vim.tbl_extend("force", default_options, options)
12 end
13 vim.api.nvim_set_keymap(mode, left_hand_side, right_hand_side, default_options)
14 end
15 -- Let the <LEADER> key be <SPACE>
16 vim.g.mapleader = " "
22 map('n', '<LEADER><F12>', [[<CMD>lua require('glow').glow('<f-args>')<CR>]])
23 cheatsheet 'LEADER + F12 => Render Markdown Preview'
18 map("n", "<LEADER><F9>", [[<CMD>tabnew $MYVIMRC<CR>]])
19 cheatsheet("LEADER + F9 => Open nvim configuration in a new tab!")
25 map('n', '<LEADER><F9>', [[<CMD>tabnew ~/.config/nvim/init.lua<CR>]])
26 cheatsheet 'LEADER + F9 => Open nvim configuration in a new tab!'
21 map("n", "<LEADER><F10>", [[<CMD>PluginsSync<CR>]])
22 cheatsheet("LEADER + F10 => Sync nvim plugins configuration!")
28 map('n', '<LEADER><F10>', [[<CMD>PluginsSync<CR>]])
29 cheatsheet 'LEADER + F10 => Sync nvim plugins configuration!'
24 map("n", "<LEADER>b", [[<CMD>Telescope buffers<CR>]])
25 cheatsheet("LEADER + b => Select a buffer")
31 -- Change behaviour of :terminal to be less like a vim buffer and more what I am used to
32 map('t', '<ESC>', '<C-\\><C-n>')
33 map('t', '<C-w>', '<ESC><C-w>')
27 map("n", "<LEADER>f", [[<CMD>Telescope file_browser<CR>]])
28 cheatsheet("LEADER + f => Select a file")
35 -- Clear highlighted search results whenever ESC is hit
36 map('n', '<ESC>', ':nohlsearch<CR>', { unique = false, silent = true })
30 map("n", "<LEADER>e", [[<CMD>NvimTreeToggle<CR>]])
31 cheatsheet("LEADER + e => Toggle file explorer")
32
33 map("n", "<LEADER>t", [[<CMD>TroubleToggle<CR>]])
34 cheatsheet("LEADER + t => Toggle the Trouble window.")
38 map('n', '<LEADER>b', [[<CMD>Telescope buffers<CR>]])
39 cheatsheet 'LEADER + b => Select a buffer'
40 map('n', '<LEADER>f', [[<CMD>Telescope file_browser<CR>]])
41 cheatsheet 'LEADER + f => Select a file'
42 map('n', '<LEADER>e', [[<CMD>NvimTreeToggle<CR>]])
43 cheatsheet 'LEADER + e => Toggle file explorer'
36 cheatsheet("")
45 --Open up a URL under the cursor
46 local opener_program = ''
47 if vim.fn.has("mac") == 1 then
48 opener_program = 'open'
49 elseif vim.fn.has("unix") == 1 then
50 opener_program = 'xdg-open'
51 elseif vim.fn.has('win32') == 1 then
52 opener_program = 'explorer'
53 else
54 -- What should we do on unknown platforms? We guess...
55 opener_program = 'firefox'
56 end
57 map('n', 'gx', [[<CMD>lua require'spawn'(']] .. opener_program .. [[',{ vim.fn.expand('<cfile>') } )<CR>]])
58 cheatsheet'gx => Open URL under cursor'
38 --Open up a URL under the cursor
39 local opener_program = ""
40 if vim.fn.has("mac") == 1 then
41 opener_program = "open"
42 elseif vim.fn.has("unix") == 1 then
43 opener_program = "xdg-open"
44 elseif vim.fn.has("win32") == 1 then
45 opener_program = "explorer"
46 else
47 -- What should we do on unknown platforms? We guess...
48 opener_program = "firefox"
49 end
50 map("n", "gx", [[<CMD>lua require'spawn'(']] .. opener_program .. [[',{ vim.fn.expand('<cfile>') } )<CR>]])
51 cheatsheet("gx => Open URL under cursor")
53 cheatsheet("")
54 cheatsheet("ALT + j => Move line(s) down")
55 cheatsheet("ALT + k => Move line(s) up")
56 map("n", "<A-j>", [[<CMD>move .+1<CR>==]])
57 map("n", "<A-k>", [[<CMD>move .-2<CR>==]])
58 map("i", "<A-j>", [[<ESC><CMD>move .+1<CR>==gi]])
59 map("i", "<A-k>", [[<ESC><CMD>move .-2<CR>==gi]])
60 map("x", "<A-j>", [[<ESC><CMD>'<,'>move'>+1<CR>gv=gv]])
61 map("x", "<A-k>", [[<ESC><CMD>'<,'>move'<-2<CR>gv=gv]])
62
63 -- Change behaviour of :terminal to be less like a vim buffer and more what I am used to
64 map("t", "<ESC>", "<C-\\><C-n>")
65 map("t", "<C-w>", "<ESC><C-w>")
67 -- Clear highlighted search results whenever ESC is hit
68 map("n", "<ESC>", ":nohlsearch<CR>", { unique = false, silent = true })
5969end

neovim/lua/lsp.lua

Modified

+37 / −14 text lines

11-- This function configures all the LSP clients that i might care about.
22-- It is expected to be called in the 'config' step of the 'lspconfig' plugin.
33-- autocommand: function, that can create autocmds
4return function(autocommand)
4return function()
55 local integrate_into_neovim = function(client, buffer_number)
66 print("LSP " .. client.name .. " [" .. client.id .. "] " .. "started.")
77 local chain_complete_list = {
2222 chain_complete_list = chain_complete_list,
2323 })
25 if client.resolved_capabilities.document_formatting then
26 autocommand({
27 format_on_save = [[ BufWritePost <buffer> vim.lsp.buf.formatting() ]],
28 })
29 end
25 -- hook lsp into vim autocomplete in insert mode
26 vim.api.nvim_buf_set_option(buffer_number, "omnifunc", "v:lua.vim.lsp.omnifunc")
3128 local map = function(type, key, value)
3229 vim.api.nvim_buf_set_keymap(buffer_number, type, key, value, { noremap = true, silent = true })
5956 local neovim_runtime_path = vim.split(package.path, ";")
6057 table.insert(neovim_runtime_path, "lua/?.lua")
6158 table.insert(neovim_runtime_path, "lua/?/init.lua")
62 local sumneko_home = os.getenv("SUMNEKO_HOME")
6360 local system_name
6461 if vim.fn.has("mac") == 1 then
6562 system_name = "macOS"
7774 neovim_lua_library[lua_path] = true
7875 end
7976 end
77 local sumneko_home = "~/Workspace/sua-language-server"
78 if system_name == "Windows" then
79 sumneko_home = "W:/misc/lua-language-server"
80 end
8081 -- This loads the `lua` files from nvim into the runtime.
8182 neovim_lua_library[vim.fn.expand("$VIMRUNTIME/lua")] = true
8283 --TODO: How to switch this configuration based upon if we are editing neovim configuration or just any Lua file/project?
133134 })
135136 -- Zig LSP
136 lsp.zls.setup({ on_attach = integrate_into_neovim })
137 -- FIXME: ZLS is very tied to the specific version of the zig compiler one uses.
138 -- we need to build our own version for 0.8.0 because it is not done upstream yet
139 -- lsp.zls.setup({ on_attach = integrate_into_neovim })
138141 -- LLVM Clang LSP
139142 lsp.clangd.setup({ on_attach = integrate_into_neovim })
141144 -- JSON LSP
142145 lsp.jsonls.setup({
143146 on_attach = integrate_into_neovim,
147 --FIXME: Only works on Windows
144148 cmd = { "vscode-json-language-server.cmd", "--stdio" },
145149 commands = {
146150 Format = {
158162 -- Null-ls
159163 local nls = require("null-ls")
164 local helpers = require("null-ls.helpers")
165 local methods = require("null-ls.methods")
166 local prose_format = helpers.make_builtin({
167 method = methods.internal.FORMATTING,
168 filetypes = { "markdown" },
169 generator_opts = {
170 command = "prose",
171 --FIXME this should be a higher order function, because the tab width needs to be lazily fetched at callsite and for the buffer instead of the global value.
172 args = { "-f", "-w", "80", "-m", "-t", vim.o.tabstop },
173 to_stdin = true,
174 },
175 factory = helpers.formatter_factory,
176 })
160177 nls.setup({
161 debug = true,
178 debug = false,
179 -- Format: [CODE] MESSAGE (SOURCE)
180 diagnostics_format = "[#{c}] #{m} (#{s})",
162181 sources = {
163 nls.builtins.formatting.stylua.with({
164 args = { "-s", "$FILENAME" },
165 to_stdin = false,
166 }),
167 nls.builtins.diagnostics.vale,
182 nls.builtins.formatting.stylua,
183 prose_format,
184 -- this is a nice linter, but wihtout configuration, it spews too much nonsense.
185 -- one can define the stdlib for vim in a config file, but the builtin selene does not find the config file.
186 -- this is a general issue with formatters/linters integrated into neovim.
187 -- how should i handle this?
188 -- write a function, that searches the path to root for a config file? (internal stylua behaviour)
189 -- somehow make sure, that vim root folder is always correct...?
190 -- nls.builtins.diagnostics.selene,
168191 },
169192 on_attach = integrate_into_neovim,
170193 })

neovim/lua/mkdir.lua

Modified

+14 / −14 text lines

1-- Returns two functions.
1-- Returns a table with two functions.
22-- The first function creates any missing intermediate directory for the current buffer.
33-- The second function takes in the `autocommand` function and sets up the first function to automatically run before save.
44--
55-- Setup this module like so:
66-- ```
7-- local _, setup_mkdir = require'mkdir'()
7-- local setup_mkdir = require'mkdir'.setup
88-- setup_mkdir(autocommand)
99-- ```
10return function()
11 return function()
12 -- base directory of current buffer
13 local directory = vim.fn.expand("%:p:h")
14 if vim.fn.isdirectory(directory) == 0 then
15 vim.fn.mkdir(directory, 'p')
16 end
17 end,
18 function(autocommand)
19 autocommand{setup_mkdir_before_save = [[ BufWritePre * lua require'mkdir'() ]]}
20 end
21end
10return {
11 run = function()
12 -- base directory of current buffer
13 local directory = vim.fn.expand("%:p:h")
14 if vim.fn.isdirectory(directory) == 0 then
15 vim.fn.mkdir(directory, "p")
16 end
17 end,
18 setup = function(autocommand)
19 autocommand({ setup_mkdir_before_save = [[ BufWritePre * lua require'mkdir'.run() ]] })
20 end,
21}

neovim/lua/plugins.lua

Modified

+233 / −210 text lines

77-- autocommand:function => API to create vim autocmds
88-- data_path:string => root directory into which packer can be installed, if not already done
99-- non_interactive:boolean => wether to show a display when updating plugins or not. Typically set to true, when nvim is used for scripting.
10return function(autocommand, data_path, non_interactive)
11 local plugin_package = 'plugins'
12 -- packer will be loaded into the optionals folder and loaded later on demand by `packadd packer.nvim`
13 -- glob will normalize the path with respect to path separators.
14 -- mixing those seems to sometimes trip up packer, though the reason is unknown.
15 local packer_installation_path = vim.fn.glob(
16 data_path .. '/site/pack/' .. plugin_package .. '/opt/packer.nvim'
17 )
18 if vim.fn.empty(packer_installation_path) == 1 then
19 vim.cmd( '!git clone https://github.com/wbthomason/packer.nvim "' .. packer_installation_path .. '"')
20 end
21 local packer = nil
22 local init = function()
23 -- lazy init the loading and configuration of packer
24 if packer == nil then
25 packer = require 'packer'
26 packer.init {
27 -- Do not create vim commands, because we will create our own, that delegate to the plugins module
28 disable_commands = true,
29 plugin_package = plugin_package,
30 display = {
31 non_interactive = non_interactive,
32 open_fn = require('packer.util').float,
33 },
34 profile = {
35 enable = true,
36 threshold = 1, -- the amount in ms that a plugins load time must be over for it to be included in the profile
37 },
38 }
39 end
40 autocommand{ compile_plugins_glue =
41 {'BufWritePost plugins.lua source <afile> | PluginsCompile' },
42 {'BufWritePost general_editor_settings.lua source <afile> | PluginsCompile'}
43 }
44 local use = packer.use
45 -- reset packer in case we are reloading the whole configuration
46 packer.reset()
10return function(data_path, non_interactive)
11 local plugin_package = "plugins"
12 -- packer will be loaded into the optionals folder and loaded later on demand by `packadd packer.nvim`
13 -- glob will normalize the path with respect to path separators.
14 -- mixing those seems to sometimes trip up packer, though the reason is unknown.
15 local packer_installation_path = data_path .. "/site/pack/" .. plugin_package .. "/opt/packer.nvim"
16 if vim.fn.empty(vim.fn.glob(packer_installation_path)) == 1 then
17 vim.cmd('!git clone https://github.com/wbthomason/packer.nvim "' .. packer_installation_path .. '"')
18 vim.cmd('packadd packer')
19 end
20 local packer = nil
21 local init = function()
22 -- lazy init the loading and configuration of packer
23 if packer == nil then
24 packer = require("packer")
25 packer.init({
26 -- Do not create vim commands, because we will create our own, that delegate to the plugins module
27 disable_commands = true,
28 plugin_package = plugin_package,
29 display = {
30 non_interactive = non_interactive,
31 open_fn = require("packer.util").float,
32 },
33 profile = {
34 enable = false,
35 threshold = 1, -- the amount in ms that a plugins load time must be over for it to be included in the profile
36 },
37 })
38 end
39 local use = packer.use
40 -- reset packer in case we are reloading the whole configuration
41 packer.reset()
48 -- Packer can manage itself
49 use { 'wbthomason/packer.nvim', opt = true }
50 -- colelction of icons configurations for various plugins
51 use {
52 'yamatsum/nvim-nonicons',
53 requires = { 'kyazdani42/nvim-web-devicons' }
54 }
55 -- Nice file tree browser
56 use {
57 'kyazdani42/nvim-tree.lua',
58 requires = { 'kyazdani42/nvim-web-devicons', opt = true},
59 config = function()
60 vim.g.nvim_tree_side = 'left'
61 vim.g.nvim_tree_width = 42
62 vim.g.nvim_tree_auto_open = 1
63 vim.g.nvim_tree_ignore_ft = {'cheatsheet'}
64 end,
65 }
66 -- Display popup with possible keybindings to a command
67 use {
68 "folke/which-key.nvim",
69 config = function()
70 require("which-key").setup{}
71 end
72 }
73 -- Pretty abstraction over quicklist, loclist, messages and lsp diagnostics
74 use { 'folke/trouble.nvim',
75 requires = {
76 {'kyazdani42/nvim-web-devicons', opt = true},
77 -- pathes in some highlighting groups for LSP diagnostics
78 -- FIXME should just be done by my theme istead of this plugin...
79 { 'folke/lsp-colors.nvim' }},
80 config = function()
81 require 'trouble'.setup()
82 require("lsp-colors").setup({
83 Error = "#f05faf",
84 Warning = "#c0af68",
85 Information = "#2db8cf",
86 Hint = "#19bc90"
87 })
88 end
89 }
90 -- NVIM API for defining color schemes
91 -- TODO: when profiling, this plugins loading times are high
92 -- maybe the cause is that it loads a bunch of files
93 -- should those be merged into one file?
94 use {
95 'tjdevries/colorbuddy.vim',
96 config = function()
97 require'theme'(require'colorbuddy'.setup())
98 end,
99 }
100 -- Advanced parsers for better syntax highlighting
101 use {
102 'nvim-treesitter/nvim-treesitter',
103 run = ':TSUpdateSync',
104 config = function()
105 require'nvim-treesitter.install'.compilers = {"clang"}
106 require'nvim-treesitter.configs'.setup{
107 ensure_installed = 'maintained',
108 highlight = { enable = true },
109 incremental_selection = { enable = true },
110 indent = { enable = true },
111 query_linter = { enable = true },
112 }
113 end,
114 }
115 use { 'nvim-treesitter/playground', run = ':TSInstall query' }
116 -- Basic integration of ziglang
117 use { 'ziglang/zig.vim', opt = true, ft = 'zig' }
118 -- Move around the buffer with easy motions
119 use 'phaazon/hop.nvim'
120 -- Show the actual color of color codes and names
121 -- #f00 => red
122 -- #00ff00 => green
123 -- Blue => blue
124 --
125 use {
126 'norcalli/nvim-colorizer.lua',
127 config = function()
128 require'colorizer'.setup()
129 end,
130 }
131 -- An attempt to clone magit
132 use { 'TimUntersberger/neogit', opt= true, cmd = 'Neogit' }
133 -- Fuzzy matcher
134 use {
135 'nvim-telescope/telescope.nvim',
136 requires = { 'nvim-lua/popup.nvim', 'nvim-lua/plenary.nvim' },
137 }
138 -- Render markdown previews in the terminal
139 use { 'npxbr/glow.nvim', opt = true, cmd = 'Glow', ft = {'markdown'} }
140 -- Type :<number> to jump to line numbers
141 use {
142 'nacro90/numb.nvim',
143 config = function()
144 require'numb'.setup{
145 show_numbers = false,
146 show_cursorline = true,
147 }
148 end,
149 }
150 -- null-ls is a plugin, that allows to code custom functions, that get exposed as a lsp server
151 use { "jose-elias-alvarez/null-ls.nvim",
152 config = function()
153 -- This will configure all LSPs not only Null-ls.
154 -- But because Null-ls depends on lspconfig, we have to delay this
155 require'lsp'(require'autocommand')
156 end,
157 requires = {"nvim-lua/plenary.nvim", "neovim/nvim-lspconfig"}
158 }
159 -- Utility functions to glue the status messages of LSP servers with the status line in nvim together
160 use 'nvim-lua/lsp-status.nvim'
161 -- Deeper integration of JDTLS from Eclipse with nvim
162 -- DO NOT use simultanously with jdtls from lspconfig!
163 -- TODO: integrate with nvim-dap debugger
164 -- use { 'mfussenegger/nvim-jdtls', opt = true }
165 -- Completions support, that integrates advanced nvim features (LSP+treesitter)
166 use { 'nvim-lua/completion-nvim' }
167 -- trim trailing whitespace on save
168 use {
169 'cappyzawa/trim.nvim',
170 config = function()
171 require'trim'.setup{
172 disable = {"markdown"}
173 }
174 end,
175 }
176 -- Nicer view than :registers, also shows popup on CTRL-R in I-mode
177 use { 'tversteeg/registers.nvim', opt = true, command = 'Registers', keys = {'i', '<C-R>'} }
178 -- comment and uncomment lines
179 use { 'b3nj5m1n/kommentary' }
180 -- smooth scrolling
181 -- TODO: configure mappings to overide duration
182 -- currently the scroll steps a pretty slow
183 use {
184 'karb94/neoscroll.nvim',
185 config = function()
186 require('neoscroll').setup({
187 -- All these keys will be mapped. Pass an empty table ({}) for no mappings
188 mappings = {'<C-u>', '<C-d>', '<C-b>', '<C-f>', '<C-y>', '<C-e>', 'zt', 'zz', 'zb'},
189 hide_cursor = true, -- Hide cursor while scrolling
190 stop_eof = true, -- Stop at <EOF> when scrolling downwards
191 respect_scrolloff = false, -- Stop scrolling when the cursor reaches the scrolloff margin of the file
192 cursor_scrolls_alone = true, -- The cursor will keep on scrolling even if the window cannot scroll further
193 easing_function = 'circular', -- Interpolation of scroll animation steps
194 })
195 end,
196 }
197 -- fancy status line below
198 use {
199 'hoob3rt/lualine.nvim',
200 requires = { 'kyazdani42/nvim-web-devicons', opt = true },
201 config = function()
202 require'lualine'.setup{
203 options = {
204 theme = 'modus_vivendi',
205 icons_enabled = true,
206 extensions = { 'nvim-tree', 'quickfix' }
207 },
208 sections = { lualine_c = { "os.data('%a')", 'data', require'lsp-status'.status } }
209 }
210 end,
211 }
212 end
213 -- the plugin module always delegates to packer, ensuring that at all times init configures packer correctly
214 local plugins = setmetatable({}, {
215 __index = function(_, key)
216 init()
217 return packer[key]
218 end,
219 })
220 return plugins
43 -- Packer can manage itself
44 use({ "wbthomason/packer.nvim", opt = true })
46 -- Nice file tree browser
47 use({
48 "kyazdani42/nvim-tree.lua",
49 requires = { "kyazdani42/nvim-web-devicons", opt = true },
50 config = function()
51 vim.g.nvim_tree_side = "left"
52 vim.g.nvim_tree_width = 42
53 vim.g.nvim_tree_auto_open = 1
54 vim.g.nvim_tree_ignore_ft = { "cheatsheet" }
55 -- disable git because slow
56 vim.g.nvim_tree_git_hl = 0
57 vim.g.nvim_tree_gitignore = 0
58 vim.g.nvim_tree_show_icons = {
59 git = 0,
60 folders = 1,
61 files = 1,
62 }
63 end,
64 })
66 -- Display popup with possible keybindings to a command
67 use({
68 "folke/which-key.nvim",
69 config = function()
70 require("which-key").setup({})
71 end,
72 })
74 -- Pretty abstraction over quicklist, loclist, messages and lsp diagnostics
75 use({
76 "folke/trouble.nvim",
77 cmd = { "Trouble", "TroubleClose", "TroubleRefresh", "TroubleToggle" },
78 requires = {
79 { "kyazdani42/nvim-web-devicons", opt = true },
80 -- patches in some highlighting groups for LSP diagnostics
81 -- FIXME should just be done by my theme instead of this plugin...
82 { "folke/lsp-colors.nvim" },
83 },
84 config = function()
85 require("trouble").setup()
86 require("lsp-colors").setup({
87 Error = "#f05faf",
88 Warning = "#c0af68",
89 Information = "#2db8cf",
90 Hint = "#19bc90",
91 })
92 end,
93 })
95 -- TODO learn to configure minimal status line and tabline
97 -- NVIM API for defining color schemes
98 -- TODO: when profiling, this plugins loading times are high
99 -- maybe the cause is that it loads a bunch of files
100 -- should those be merged into one file?
101 use({
102 "tjdevries/colorbuddy.vim",
103 config = function()
104 require("theme")(require("colorbuddy").setup())
105 end,
106 })
108 -- Advanced parsers for better syntax highlighting
109 use({
110 "nvim-treesitter/nvim-treesitter",
111 config = function()
112 require("nvim-treesitter.install").compilers = { "clang" }
113 require("nvim-treesitter.configs").setup({
114 ensure_installed = { "zig", "java", "rust", "lua", "toml", "yaml", "json", "c" },
115 highlight = { enable = true },
116 incremental_selection = {
117 enable = true,
118 keymaps = {
119 init_selection = "<C-Up>",
120 node_incremental = "<C-Up>",
121 node_decremental = "<C-Down>",
122 scope_incremental = "<A-Up>",
123 },
124 },
125 indent = { enable = true },
126 query_linter = { enable = true, use_virtual_text = true, lint_events = { "BufWrite" } },
127 })
128 end,
129 })
131 -- Treesitter Playground
132 -- Show the treesitter parse tree.
133 -- Lint syntax errors
134 -- Show highlight groupsunder cursor
135 use({
136 "nvim-treesitter/playground",
137 config = function()
138 local cheatsheet = require("cheatsheet").print
139 cheatsheet("")
140 cheatsheet(
141 ":TSHighlightCapturesUnderCursor => This command shows the highlight group under the cursor, when TreeSitter is used"
142 )
143 end,
144 })
146 -- Basic integration of ziglang
147 use({ "ziglang/zig.vim", opt = true, ft = "zig" })
149 -- Move around the buffer with easy motions
150 use("phaazon/hop.nvim")
152 -- Show the actual color of color codes and names
153 -- #f00 => red
154 -- #00ff00 => green
155 -- Blue => blue
156 --
157 use({
158 "norcalli/nvim-colorizer.lua",
159 config = function()
160 require("colorizer").setup()
161 end,
162 })
164 -- Fuzzy matcher
165 use({
166 "nvim-telescope/telescope.nvim",
167 requires = { "nvim-lua/popup.nvim", "nvim-lua/plenary.nvim" },
168 })
170 -- Type :<number> to jump to line numbers
171 use({
172 "nacro90/numb.nvim",
173 config = function()
174 require("numb").setup({
175 show_numbers = false,
176 show_cursorline = true,
177 })
178 end,
179 })
181 -- null-ls is a plugin, that allows to code custom functions, that get exposed as a lsp server
182 use({
183 "jose-elias-alvarez/null-ls.nvim",
184 config = function()
185 -- This will configure all LSPs not only Null-ls.
186 -- But because Null-ls depends on lspconfig, we have to delay this
187 require("lsp")()
188 end,
189 requires = {
190 -- extensions to the std lib
191 "nvim-lua/plenary.nvim",
192 -- Preprepared collection of glue code for neovim lsp-client and thrid party lsp servers.
193 "neovim/nvim-lspconfig",
194 -- Completions support, that integrates advanced nvim features (LSP+treesitter)
195 "nvim-lua/completion-nvim",
196 },
197 })
199 -- Deeper integration of JDTLS from Eclipse with nvim
200 -- DO NOT use simultanously with jdtls from lspconfig!
201 -- TODO: integrate with nvim-dap debugger
202 -- use { 'mfussenegger/nvim-jdtls', opt = true }
203 --
204 -- Nicer view than :registers, also shows popup on CTRL-R in I-mode
205 use({ "tversteeg/registers.nvim", opt = true, command = "Registers", keys = { "i", "<C-R>" } })
207 -- comment and uncomment lines
208 use({ "b3nj5m1n/kommentary" })
210 -- smooth scrolling
211 -- TODO: configure mappings to overide duration
212 -- currently the scroll steps a pretty slow
213 use({
214 "karb94/neoscroll.nvim",
215 config = function()
216 require("neoscroll").setup({
217 -- All these keys will be mapped. Pass an empty table ({}) for no mappings
218 mappings = { "<C-u>", "<C-d>", "<C-b>", "<C-f>", "<C-y>", "<C-e>", "zt", "zz", "zb" },
219 hide_cursor = true, -- Hide cursor while scrolling
220 stop_eof = true, -- Stop at <EOF> when scrolling downwards
221 respect_scrolloff = false, -- Stop scrolling when the cursor reaches the scrolloff margin of the file
222 cursor_scrolls_alone = true, -- The cursor will keep on scrolling even if the window cannot scroll further
223 easing_function = "circular", -- Interpolation of scroll animation steps
224 })
225 end,
226 })
228 -- ASCII diagram drawing
229 use({
230 "jbyuki/venn.nvim",
231 opt = true,
232 command = "VBox",
233 })
234 end
236 -- the plugin module always delegates to packer, ensuring that at all times init configures packer correctly
237 local plugins = setmetatable({}, {
238 __index = function(_, key)
239 init()
240 return packer[key]
241 end,
242 })
243 return plugins
221244end

neovim/lua/statusline.lua

Modified

+86 / −1 text lines

1return function() end
1local branch_icon = ""
2local vcs_branch_name = ""
3local special_windows = {
4 intro = { "CheatSheet", "" },
5 NvimTree = { "Files", "" },
6 packer = { "Plugins", "" },
7 help = { "Help", "龎" },
8}
9local lsp_symbols = { Error = "", Information = "", Warning = "", Hint = "" }
11local get_lsp_diagnostics_count = function()
12 local diagnostics_count = ""
13 for type, icon in pairs(lsp_symbols) do
14 local count = vim.lsp.diagnostic.get_count(0, type)
15 local highlight = "%#LspDiagnosticsDefault" .. type .. "#"
16 local rendered_count = count > 0 and highlight .. icon .. " " .. count .. " " or ""
17 diagnostics_count = diagnostics_count .. rendered_count
18 end
19 return diagnostics_count
20end
22return {
23 -- refresh the statuslines of all windows.
24 -- the current window gets special treatment. it is "active".
25 update_statuslines = function()
26 for _, window_number in pairs(vim.api.nvim_list_wins()) do
27 if vim.api.nvim_get_current_win() == window_number then
28 vim.opt.statusline = [[%!v:lua.require'statusline'.render("current")]]
29 elseif vim.api.nvim_buf_get_name(0) ~= "" then
30 vim.opt.statusline = [[%!v:lua.require'statusline'.render()]]
31 end
32 end
33 end,
34 -- update the vcs branch name, if vcs is available
35 update_vcs_branch_name = function()
36 if not pcall(require, "plenary") then
37 return ""
38 end
39 require("plenary.job")
40 :new({
41 command = "git",
42 args = { "branch", "--show-current" },
43 cwd = vim.fn.expand("%:p:h"), -- parent directory of current buffer
44 on_exit = function(output)
45 local result = output:result()[1]
46 if result then
47 vcs_branch_name = "%#LineNr#%=" .. branch_icon .. " " .. result
48 else
49 vcs_branch_name = ""
50 end
51 end,
52 })
53 :start()
54 end,
55 -- generate the statusline string
56 render = function(active)
57 local filetype = vim.bo.filetype
58 local special_window = special_windows[filetype]
59 if active and special_window then
60 return "%#LineNr#%=" .. special_window[2] .. " " .. special_window[1] .. "%="
61 end
62 local edited = vim.bo.mod and "" or ""
63 local modifiable = vim.bo.modifiable and "" or ""
64 local diagnostics = get_lsp_diagnostics_count()
66 local statusline = "%#Statusline"
67 .. (active and "" or "NC")
68 .. "#"
69 .. edited
70 .. " "
71 .. modifiable
72 .. " "
73 .. "%F" -- full file path
74 .. (diagnostics ~= "" and "  " .. diagnostics .. "  " or " ")
75 .. (active and vcs_branch_name or "")
77 return statusline
78 end,
79 -- setup a custom statusline
80 setup = function(autocommand)
81 autocommand({
82 update_statusline = "CursorHold,CursorHoldI * lua require'statusline'.update_statuslines()",
83 update_vcs_branch_name = "BufEnter,BufWinEnter,WinEnter,BufReadPost * lua require'statusline'.update_vcs_branch_name()",
84 })
85 end,
86}

neovim/lua/syntax_stack.lua

Deleted
deleted file mode 100644

+0 / −9 text lines

1-- Prints the highlight group name of the syntax element under the cursor.
2return function()
3 local syntax_id = vim.fn.synID(vim.fn.line '.', vim.fn.col '.', 1)
4 print(
5 vim.fn.synIDattr(syntax_id, 'name')
6 .. ' -> '
7 .. vim.fn.synIDattr(vim.fn.synIDtrans(syntax_id), 'name')
8 )
9end

neovim/lua/tabline.lua

Added
new file mode 100644

+55 / −0 text lines

1-- this module renders and sets up a custom tabline.
2-- this tabline is similar to the default one except:
3-- * it only shows simple base file names
4-- * the modified state has a different icon
5-- * it uses nvim-web-devicons, if available
6
7-- gets a file icon based on extension and/or name
8-- tries to use nvim-web-devicons, otherwise falls back to some default icon
9local get_icon = function(name, extension)
10 if pcall(require, "nvim-web-devicons") then return require"nvim-web-devicons".get_icon(name ,extension, {default=true}) end
11 return ""
12end
14-- this function renders the tabline and is meant to be set as an expression into the `tabline` option
15return
16 {
17 render = function()
18 local buffer_names_to_ignore = {'NvimTree'}
19 local tabline = ""
20 -- FIXME change this to tabpage instead of buf
21 for _, buffer_number in pairs(vim.api.nvim_list_bufs()) do
22 if vim.api.nvim_buf_is_valid(buffer_number) and vim.api.nvim_buf_is_loaded(buffer_number) then
23 local modified = vim.bo.modified and "" or " "
24 -- we only care about the last part of the path
25 local stylish_buffer_name = vim.api.nvim_buf_get_name(buffer_number):match(".-([^\\/]-)$") or ""
26 if vim.tbl_contains(buffer_names_to_ignore, stylish_buffer_name) or stylish_buffer_name == "" then goto continue end
27 local icon = ""
28--FIXME this is the wrong way to handle new empty buffers: how to do it whithout showing tabs for all kinds of auxillary buffers (checkhealt for example)
29--[[ if stylish_buffer_name == "" then
30stylish_buffer_name = "no name"
31 icon = "" ]]
32 if stylish_buffer_name == "cheatsheet" then
33 icon = ""
34 else
35 local extension = stylish_buffer_name:match("%w+%.(.+)")
36 icon = get_icon(stylish_buffer_name, extension)
37 end
38 stylish_buffer_name = " " .. stylish_buffer_name .. " "
39 local is_current_buffer = vim.api.nvim_get_current_buf() == buffer_number
40 tabline = tabline .. "%#TabLine" ..
41 (is_current_buffer and "Sel" or "") .. "#" ..
42 " " .. icon .. stylish_buffer_name .. (is_current_buffer and modified or " ")
43 end
44 -- goto here to return early from one iteration step of the for loop
45 ::continue::
46 end
47 return tabline .. "%#TabLineFill#"
48end,
49 setup = function()
50 -- set tabline to a custom rendering
51 -- sets the tabline with some crazy vimscript syntax?
52 -- my guess: this reevaluates this code snippet any time nvim requests a fresh tabline
53 vim.opt.tabline = [[%!v:lua.require'tabline'.render()]]
54end
55}

neovim/lua/theme/diff_colors.lua

Deleted
deleted file mode 100644

+0 / −6 text lines

1return function(Group, groups, colors, styles)
2 Group.new('DiffAdd', colors.normal, colors.none, styles.NONE)
3 Group.new('DiffChange', colors.normal, colors.none, styles.NONE)
4 Group.new('DiffDelete', colors.normal, colors.none, styles.NONE)
5 Group.new('DiffText', colors.normal, colors.none, styles.NONE)
6end

neovim/lua/theme/init.lua

Modified

+39 / −26 text lines

11return function(Color, colors, Group, groups, styles)
2 -- TODO: manage background light and dark
3 --
4 -- let us first create some colors, that will later be mapped to highlight groups
5 -- these will be saved in the `colors` table
6 Color.new('important', '#e0e0e0')
7 Color.new('normal', '#adadad')
8 Color.new('minor', '#7c7c7c')
9 Color.new('nonessential', '#4f4f4f')
2 -- TODO: manage background light and dark
3 --
4 -- let us first create some colors, that will later be mapped to highlight groups
5 -- these will be saved in the `colors` table
6 Color.new("important", "#e0e0e0")
7 Color.new("normal", "#adadad")
8 Color.new("minor", "#7c7c7c")
9 Color.new("nonessential", "#4f4f4f")
11 Color.new('error', '#e080a8')
12 Color.new('warning', '#e0d996')
13 Color.new('information', '#69cde0')
11 Color.new("error", "#e080a8")
12 Color.new("warning", "#e0d996")
13 Color.new("information", "#69cde0")
15 Color.new('accent_strong', '#cfa1e6')
16 Color.new('accent_weak', '#574461')
15 Color.new("accent_strong", "#cfa1e6")
16 Color.new("accent_weak", "#574461")
18 Color.new('ui_normal', '#5e5e5e')
19 Color.new('ui_important', '#78aba9')
20 Color.new('ui_minor', '#547877')
18 Color.new("ui_normal", "#5e5e5e")
19 Color.new("ui_important", "#78aba9")
20 Color.new("ui_minor", "#547877")
22 --intentionally ugly and easy to spot color, so that i can find out where it is used
23 Color.new('debug', '#f111e1')
22 --intentionally ugly and easy to spot color, so that i can find out where it is used
23 Color.new("debug", "#f111e1")
25 require 'theme.terminal_colors'(Group, groups, colors, styles)
26 require 'theme.nvim_editor_colors'(Group, groups, colors, styles)
27 require 'theme.lsp_colors'(Group, groups, colors, styles)
28 require 'theme.treesitter_colors'(Group, groups, colors, styles)
29 require 'theme.java_colors'(Group, groups, colors, styles)
30 require 'theme.lua_colors'(Group, groups, colors, styles)
31 require 'theme.nvim_tree_colors'(Group, groups, colors, styles)
32 require 'theme.diff_colors'(Group, groups, colors, styles)
25 -- TERMINAL COLORS
26 vim.g.terminal_color_0 = "#555555"
27 vim.g.terminal_color_1 = "#FB467B"
28 vim.g.terminal_color_2 = "#B8EE92"
29 vim.g.terminal_color_3 = "#FFCC00"
30 vim.g.terminal_color_4 = "#56D6D6"
31 vim.g.terminal_color_5 = "#B954B8"
32 vim.g.terminal_color_6 = "#00D5A7"
33 vim.g.terminal_color_7 = "#CED5E5"
34 vim.g.terminal_color_8 = "5555555"
35 vim.g.terminal_color_9 = "#FB467B"
36 vim.g.terminal_color_10 = "#B8EE92"
37 vim.g.terminal_color_11 = "#FFCC00"
38 vim.g.terminal_color_12 = "#56D6D6"
39 vim.g.terminal_color_13 = "#B954B8"
40 vim.g.terminal_color_14 = "#00D5A7"
41 vim.g.terminal_color_15 = "#CED5E5"
43 require("theme.nvim_editor_colors")(Group, groups, colors, styles)
44 require("theme.lsp_colors")(Group, groups, colors, styles)
45 require("theme.treesitter_colors")(Group, groups, colors, styles)
3346end

neovim/lua/theme/java_colors.lua

Deleted
deleted file mode 100644

+0 / −18 text lines

1return function(Group, _groups, colors, styles)
2 Group.new('javaOperator', colors.normal, colors.none, styles.NONE)
3 Group.new('javaVarArg', colors.normal, colors.none, styles.NONE)
4 Group.new('javaParen', colors.normal, colors.none, styles.NONE)
5 Group.new('javaParen1', colors.normal, colors.none, styles.NONE)
6 Group.new('javaParen2', colors.normal, colors.none, styles.NONE)
7 Group.new('javaParen3', colors.normal, colors.none, styles.NONE)
8 Group.new('javaParen4', colors.normal, colors.none, styles.NONE)
9 Group.new('javaParen5', colors.normal, colors.none, styles.NONE)
10 Group.new('javaAnnotation', colors.normal, colors.none, styles.NONE)
11 Group.new('javaDocTags', colors.normal, colors.none, styles.NONE)
12 Group.new(
13 'javaCommentTitle',
14 colors.important,
15 colors.none,
16 styles.bold + styles.underline
17 )
18end

neovim/lua/theme/lsp_colors.lua

Modified

+20 / −110 text lines

11return function(Group, groups, colors, styles)
2 Group.new(
3 'LspDiagnosticsVirtualTextHint',
4 colors.normal,
5 colors.none,
6 styles.NONE
7 )
8 Group.new(
9 'LspDiagnosticsSignWarning',
10 colors.normal,
11 colors.none,
12 styles.NONE
13 )
14 Group.new(
15 'LspDiagnosticsSignInformation',
16 colors.normal,
17 colors.none,
18 styles.NONE
19 )
20 Group.new('LspDiagnosticsSignHint', colors.normal, colors.none, styles.NONE)
21 Group.new(
22 'LspDiagnosticsFloatingHint',
23 colors.normal,
24 colors.none,
25 styles.underline
26 )
27 Group.new('LspDiagnosticsSignError', colors.normal, colors.none, styles.NONE)
28 Group.new(
29 'LspDiagnosticsDefaultWarning',
30 colors.normal,
31 colors.none,
32 styles.NONE
33 )
34 Group.new(
35 'LspDiagnosticsDefaultError',
36 colors.normal,
37 colors.none,
38 styles.NONE
39 )
40 Group.new(
41 'LspDiagnosticsFloatingError',
42 colors.normal,
43 colors.none,
44 styles.underline
45 )
46 Group.new(
47 'LspDiagnosticsFloatingWarning',
48 colors.normal,
49 colors.none,
50 styles.underline
51 )
52 Group.new(
53 'LspDiagnosticsFloatingInformation',
54 colors.normal,
55 colors.none,
56 styles.underline
57 )
58 Group.new(
59 'LspDiagnosticsUnderlineInformation',
60 colors.normal,
61 colors.none,
62 styles.underline
63 )
64 Group.new(
65 'LspDiagnosticsUnderlineHint',
66 colors.normal,
67 colors.none,
68 styles.underline
69 )
70 Group.new(
71 'LspDiagnosticsDefaultInformation',
72 colors.normal,
73 colors.none,
74 styles.NONE
75 )
76 Group.new(
77 'LspDiagnosticsDefaultHint',
78 colors.normal,
79 colors.none,
80 styles.NONE
81 )
82 Group.new(
83 'LspDiagnosticsUnderlineError',
84 colors.normal,
85 colors.none,
86 styles.underline
87 )
88 Group.new(
89 'LspDiagnosticsVirtualTextError',
90 colors.normal,
91 colors.none,
92 styles.NONE
93 )
94 Group.new(
95 'LspDiagnosticsVirtualTextWarning',
96 colors.normal,
97 colors.none,
98 styles.NONE
99 )
100 Group.new(
101 'LspDiagnosticsVirtualTextInformation',
102 colors.normal,
103 colors.none,
104 styles.NONE
105 )
106 Group.new(
107 'LspDiagnosticsUnderlineWarning',
108 colors.normal,
109 colors.none,
110 styles.underline
111 )
2 Group.new("LspDiagnosticsVirtualTextHint", colors.normal, colors.none, styles.NONE)
3 Group.new("LspDiagnosticsSignWarning", colors.warning, colors.none, styles.NONE)
4 Group.new("LspDiagnosticsSignInformation", colors.normal, colors.none, styles.NONE)
5 Group.new("LspDiagnosticsSignHint", colors.normal, colors.none, styles.NONE)
6 Group.new("LspDiagnosticsFloatingHint", colors.normal, colors.none, styles.underline)
7 Group.new("LspDiagnosticsSignError", colors.error, colors.none, styles.NONE)
8 Group.new("LspDiagnosticsDefaultWarning", colors.warning, colors.none, styles.NONE)
9 Group.new("LspDiagnosticsDefaultError", colors.error, colors.none, styles.NONE)
10 Group.new("LspDiagnosticsFloatingError", colors.error, colors.none, styles.underline)
11 Group.new("LspDiagnosticsFloatingWarning", colors.warning, colors.none, styles.underline)
12 Group.new("LspDiagnosticsFloatingInformation", colors.normal, colors.none, styles.underline)
13 Group.new("LspDiagnosticsUnderlineInformation", colors.normal, colors.none, styles.underline)
14 Group.new("LspDiagnosticsUnderlineHint", colors.normal, colors.none, styles.underline)
15 Group.new("LspDiagnosticsDefaultInformation", colors.normal, colors.none, styles.NONE)
16 Group.new("LspDiagnosticsDefaultHint", colors.normal, colors.none, styles.NONE)
17 Group.new("LspDiagnosticsUnderlineError", colors.error, colors.none, styles.underline)
18 Group.new("LspDiagnosticsVirtualTextError", colors.error, colors.none, styles.NONE)
19 Group.new("LspDiagnosticsVirtualTextWarning", colors.normal, colors.none, styles.NONE)
20 Group.new("LspDiagnosticsVirtualTextInformation", colors.normal, colors.none, styles.NONE)
21 Group.new("LspDiagnosticsUnderlineWarning", colors.normal, colors.none, styles.underline)
11222end

neovim/lua/theme/lua_colors.lua

Deleted
deleted file mode 100644

+0 / −6 text lines

1return function(Group, groups, colors, styles)
2 Group.new('luaFunction', colors.normal, colors.none, styles.NONE)
3 Group.new('luaTable', colors.normal, colors.none, styles.NONE)
4 Group.new('luaIn', colors.normal, colors.none, styles.NONE)
5 Group.new('luastatement', colors.normal, colors.none, styles.NONE)
6end

neovim/lua/theme/nvim_editor_colors.lua

Modified

+92 / −127 text lines

11return function(Group, groups, colors, styles)
2 -- SYNTAX
3 Group.new('Normal', colors.normal, colors.none, styles.NONE)
4 Group.new('NormalNC', colors.minor, colors.none, styles.NONE)
5 Group.new('NormalFloat', colors.important, colors.none, styles.NONE)
2 -- SYNTAX
3 Group.new("Normal", colors.normal, colors.none, styles.NONE)
4 Group.new("NormalNC", colors.minor, colors.none, styles.NONE)
5 Group.new("NormalFloat", colors.important, colors.none, styles.NONE)
7 Group.new(
8 'Comment',
9 colors.important,
10 colors.none,
11 styles.bold + styles.italic
12 )
7 Group.new("Comment", colors.important, colors.none, styles.bold + styles.italic)
14 Group.new('Constant', colors.debug, colors.none, styles.NONE)
15 Group.new('String', colors.normal, colors.none, styles.bold + styles.italic)
16 Group.new('Character', groups.String, groups.String, groups.String)
17 Group.new('Number', groups.String, groups.String, groups.String)
18 Group.new('Float', groups.String, groups.String, groups.String)
19 Group.new('Boolean', groups.String, groups.String, groups.String)
9 Group.new("Constant", colors.normal, colors.none, styles.bold)
10 Group.new("String", colors.normal, colors.none, styles.bold + styles.italic)
11 Group.new("Character", groups.String, groups.String, groups.String)
12 Group.new("Number", groups.String, groups.String, groups.String)
13 Group.new("Float", groups.String, groups.String, groups.String)
14 Group.new("Boolean", groups.String, groups.String, groups.String)
21 Group.new('Identifier', colors.normal, colors.none, styles.none)
22 Group.new('Function', groups.Identifier, groups.Identifier, groups.Identifier)
16 Group.new("Identifier", colors.normal, colors.none, styles.none)
17 Group.new("Function", groups.Identifier, groups.Identifier, groups.Identifier)
24 Group.new('Statement', colors.minor, colors.none, styles.italic)
25 Group.new('Conditional', groups.Statement, groups.Statement, groups.Statement)
26 Group.new('Repeat', groups.Statement, groups.Statement, groups.Statement)
27 Group.new(
28 'Label',
29 groups.Statement,
30 groups.Statement,
31 groups.Statement + styles.underline
32 )
33 Group.new('Operator', groups.Statement, groups.Statement, groups.Statement)
34 Group.new('Keyword', groups.Statement, groups.Statement, groups.Statement)
35 Group.new('Exception', groups.Statement, groups.Statement, groups.Statement)
19 Group.new("Statement", colors.minor, colors.none, styles.italic)
20 Group.new("Conditional", groups.Statement, groups.Statement, groups.Statement)
21 Group.new("Repeat", groups.Statement, groups.Statement, groups.Statement)
22 Group.new("Label", groups.Statement, groups.Statement, groups.Statement + styles.underline)
23 Group.new("Operator", groups.Statement, groups.Statement, groups.Statement)
24 Group.new("Keyword", groups.Statement, groups.Statement, groups.Statement)
25 Group.new("Exception", groups.Statement, groups.Statement, groups.Statement)
37 Group.new('PreProc', groups.Statement, groups.Statement, groups.Statement)
38 Group.new('Include', groups.PreProc, groups.PreProc, groups.PreProc)
39 Group.new('Define', groups.PreProc, groups.PreProc, groups.PreProc)
40 Group.new('Macro', groups.PreProc, groups.PreProc, groups.PreProc)
41 Group.new('PreCondit', groups.PreProc, groups.PreProc, groups.PreProc)
27 Group.new("PreProc", groups.Statement, groups.Statement, groups.Statement)
28 Group.new("Include", groups.PreProc, groups.PreProc, groups.PreProc)
29 Group.new("Define", groups.PreProc, groups.PreProc, groups.PreProc)
30 Group.new("Macro", groups.PreProc, groups.PreProc, groups.PreProc)
31 Group.new("PreCondit", groups.PreProc, groups.PreProc, groups.PreProc)
43 Group.new('Type', colors.normal, colors.none, styles.bold)
44 Group.new(
45 'StorageClass',
46 groups.Statement,
47 groups.Statement,
48 groups.Statement
49 )
50 Group.new('Structure', groups.Statement, groups.Statement, groups.Statement)
51 Group.new('Typedef', groups.Type, groups.Type, groups.Type)
33 Group.new("Type", colors.normal, colors.none, styles.bold)
34 Group.new("StorageClass", groups.Statement, groups.Statement, groups.Statement)
35 Group.new("Structure", groups.Statement, groups.Statement, groups.Statement)
36 Group.new("Typedef", groups.Type, groups.Type, groups.Type)
53 Group.new('Special', colors.minor, colors.none, styles.NONE)
54 Group.new('SpecialKey', colors.normal, colors.none, styles.italic)
55 Group.new('SpecialComment', colors.accent_strong, colors.none, styles.bold)
56 Group.new('Tag', groups.Special, groups.Special, groups.Special)
57 Group.new('Delimiter', groups.Special, groups.Special, groups.Special)
58 Group.new('Debug', groups.Special, groups.Special, groups.Special)
38 Group.new("Special", colors.minor, colors.none, styles.NONE)
39 Group.new("SpecialKey", colors.normal, colors.none, styles.italic)
40 Group.new("SpecialComment", colors.accent_strong, colors.none, styles.bold)
41 Group.new("Tag", groups.Special, groups.Special, groups.Special)
42 Group.new("Delimiter", groups.Special, groups.Special, groups.Special)
43 Group.new("Debug", groups.Special, groups.Special, groups.Special)
60 Group.new('Underlined', colors.accent_strong, colors.none, styles.underline)
61 Group.new('Ignore', colors.debug, colors.none, styles.NONE)
62 Group.new('Error', colors.error, colors.none, styles.bold + styles.underline)
63 Group.new(
64 'Todo',
65 colors.accent_strong,
66 colors.none,
67 styles.bold + styles.underline
68 )
45 Group.new("Underlined", colors.accent_strong, colors.none, styles.underline)
46 Group.new("Ignore", colors.debug, colors.none, styles.NONE)
47 Group.new("Error", colors.error, colors.none, styles.bold + styles.underline)
48 Group.new("Todo", colors.accent_strong, colors.none, styles.bold + styles.underline)
70 Group.new('Whitespace', colors.nonessential, colors.none, styles.NONE)
71 Group.new('NonText', colors.debug, colors.none, styles.NONE)
50 Group.new("Whitespace", colors.nonessential, colors.none, styles.NONE)
51 Group.new("NonText", colors.debug, colors.none, styles.NONE)
73 -- NVIM UI
74 Group.new(
75 'NvimInternalError',
76 colors.error,
77 colors.none,
78 styles.bold + styles.underline
79 )
80 Group.new('ErrorMsg', colors.error, colors.none, styles.bold)
81 Group.new('WarningMsg', colors.warning, colors.none, styles.bold)
82 Group.new('MoreMsg', colors.information, colors.none, styles.NONE)
83 Group.new('ModeMsg', colors.information, colors.none, styles.NONE)
84 Group.new('Question', colors.information, colors.none, styles.bold)
85 Group.new('MsgSeparator', colors.ui_minor, colors.none, styles.NONE)
86 Group.new('MsgArea', colors.ui_normal, colors.none, styles.NONE)
53 -- NVIM UI
54 Group.new("NvimInternalError", colors.error, colors.none, styles.bold + styles.underline)
55 Group.new("ErrorMsg", colors.error, colors.none, styles.bold)
56 Group.new("WarningMsg", colors.warning, colors.none, styles.bold)
57 Group.new("MoreMsg", colors.information, colors.none, styles.NONE)
58 Group.new("ModeMsg", colors.information, colors.none, styles.NONE)
59 Group.new("Question", colors.information, colors.none, styles.bold)
60 Group.new("MsgSeparator", colors.ui_minor, colors.none, styles.NONE)
61 Group.new("MsgArea", colors.ui_normal, colors.none, styles.NONE)
88 Group.new('EndOfBuffer', colors.nonessential, colors.none, styles.NONE)
89 Group.new('LineNr', colors.nonessential, colors.none, styles.NONE)
90 Group.new('CursorLineNr', colors.ui_normal, colors.none, styles.NONE)
91 Group.new('CursorColumn', colors.none, colors.none, styles.inverse)
92 Group.new('CursorLine', colors.none, colors.accent_weak, styles.NONE)
93 Group.new('TermCursor', colors.none, colors.none, styles.inverse)
94 Group.new('TermCursorNC', colors.none, colors.none, styles.NONE)
95 Group.new('Cursor', colors.none, colors.none, styles.reverse)
96 Group.new('lCursor', groups.Cursor, groups.Cursor, groups.Cursor)
97 Group.new('ColorColumn', colors.none, colors.ui_normal, styles.NONE)
98 Group.new('Visual', colors.accent_strong, colors.none, styles.NONE)
99 Group.new('VisualNC', colors.accent_weak, colors.none, styles.NONE)
100 Group.new('Conceal', colors.debug, colors.none, styles.NONE)
101 Group.new('Substitute', colors.information, colors.none, styles.NONE)
102 Group.new('MatchParen', colors.accent_strong, colors.none, styles.bold)
63 Group.new("EndOfBuffer", colors.nonessential, colors.none, styles.NONE)
64 Group.new("LineNr", colors.nonessential, colors.none, styles.NONE)
65 Group.new("CursorLineNr", colors.ui_normal, colors.none, styles.NONE)
66 Group.new("CursorColumn", colors.none, colors.accent_weak, styles.NONE)
67 Group.new("CursorLine", colors.none, colors.accent_weak, styles.NONE)
68 Group.new("TermCursor", colors.none, colors.none, styles.inverse)
69 Group.new("TermCursorNC", colors.none, colors.none, styles.NONE)
70 Group.new("Cursor", colors.none, colors.none, styles.reverse)
71 Group.new("lCursor", groups.Cursor, groups.Cursor, groups.Cursor)
72 Group.new("ColorColumn", colors.none, colors.ui_normal, styles.NONE)
73 Group.new("Visual", colors.accent_strong, colors.accent_weak, styles.NONE)
74 Group.new("VisualNC", colors.accent_weak, colors.none, styles.NONE)
75 Group.new("Conceal", colors.debug, colors.none, styles.NONE)
76 Group.new("Substitute", colors.information, colors.none, styles.NONE)
77 Group.new("MatchParen", colors.accent_strong, colors.none, styles.bold)
104 Group.new('Directory', colors.normal, colors.none, styles.bold)
105 Group.new(
106 'Title',
107 colors.ui_normal,
108 colors.none,
109 styles.bold + styles.underline
110 )
79 Group.new("Directory", colors.normal, colors.none, styles.bold)
80 Group.new("Title", colors.ui_important, colors.none, styles.bold + styles.reverse)
112 Group.new('IncSearch', colors.ui_important, colors.none, styles.underline)
113 Group.new('Search', colors.important, colors.ui_important, styles.NONE)
114 Group.new('VertSplit', colors.ui_normal, colors.none, styles.NONE)
115 Group.new('WildMenu', colors.ui_normal, colors.none, styles.NONE)
116 Group.new('Folded', colors.nonessential, colors.none, styles.NONE)
117 Group.new('FoldColumn', colors.ui_normal, colors.none, styles.NONE)
118 Group.new('SignColumn', colors.ui_normal, colors.none, styles.NONE)
119 Group.new('StatusLine', colors.nonessential, colors.none, styles.NONE)
120 Group.new('StatusLineNC', colors.none, colors.none, styles.NONE)
121 Group.new('Pmenu', colors.ui_normal, colors.none, styles.NONE)
122 Group.new('PmenuSel', colors.ui_important, colors.none, styles.underline)
123 Group.new('PmenuSbar', colors.ui_minor, colors.none, styles.NONE)
124 Group.new('PmenuThumb', colors.ui_important, colors.none, styles.NONE)
125 Group.new('TabLine', colors.ui_normal, colors.none, styles.none)
126 Group.new(
127 'TabLineSel',
128 colors.ui_important,
129 colors.none,
130 styles.bold + styles.underline
131 )
132 Group.new('TabLineFill', colors.ui_minor, colors.none, styles.NONE)
133 Group.new('QuickFixLine', colors.ui_normal, colors.none, styles.NONE)
82 Group.new("IncSearch", colors.ui_important, colors.none, styles.underline)
83 Group.new("Search", colors.important, colors.ui_important, styles.NONE)
84 Group.new("VertSplit", colors.ui_normal, colors.none, styles.NONE)
85 Group.new("WildMenu", colors.ui_normal, colors.none, styles.NONE)
86 Group.new("Folded", colors.nonessential, colors.none, styles.NONE)
87 Group.new("FoldColumn", colors.ui_minor, colors.none, styles.NONE)
88 Group.new("SignColumn", colors.ui_minor, colors.none, styles.NONE)
89 Group.new("StatusLine", colors.ui_minor, colors.none, styles.NONE)
90 Group.new("StatusLineNC", colors.nonessential, colors.none, styles.NONE)
91 Group.new("Pmenu", colors.ui_normal, colors.none, styles.NONE)
92 Group.new("PmenuSel", colors.ui_important, colors.none, styles.underline)
93 Group.new("PmenuSbar", colors.ui_minor, colors.none, styles.NONE)
94 Group.new("PmenuThumb", colors.ui_important, colors.none, styles.NONE)
95 Group.new("TabLine", colors.ui_normal, colors.none, styles.none)
96 Group.new("TabLineSel", colors.ui_important, colors.none, styles.bold + styles.reverse)
97 Group.new("TabLineFill", colors.none, colors.none, styles.NONE)
98 Group.new("QuickFixLine", colors.ui_normal, colors.none, styles.NONE)
135 Group.new('SpellBad', colors.warning, colors.none, styles.undercurl)
136 Group.new('SpellCap', colors.debug, colors.none, styles.NONE)
137 Group.new('SpellRare', colors.debug, colors.none, styles.NONE)
138 Group.new('SpellLocal', colors.debug, colors.none, styles.NONE)
100 Group.new("SpellBad", colors.warning, colors.none, styles.undercurl)
101 Group.new("SpellCap", colors.debug, colors.none, styles.NONE)
102 Group.new("SpellRare", colors.debug, colors.none, styles.NONE)
103 Group.new("SpellLocal", colors.debug, colors.none, styles.NONE)
140 Group.new('RedrawDebugNormal', colors.debug, colors.none, styles.NONE)
141 Group.new('RedrawDebugClear', colors.debug, colors.none, styles.NONE)
142 Group.new('RedrawDebugComposed', colors.debug, colors.none, styles.NONE)
143 Group.new('RedrawDebugRecompose', colors.debug, colors.none, styles.NONE)
105 Group.new("RedrawDebugNormal", colors.debug, colors.none, styles.NONE)
106 Group.new("RedrawDebugClear", colors.debug, colors.none, styles.NONE)
107 Group.new("RedrawDebugComposed", colors.debug, colors.none, styles.NONE)
108 Group.new("RedrawDebugRecompose", colors.debug, colors.none, styles.NONE)
144109end

neovim/lua/theme/nvim_tree_colors.lua

Deleted
deleted file mode 100644

+0 / −8 text lines

1return function(Group, groups, colors, styles)
2 Group.new('NvimTreeFolderName', colors.normal, colors.none, styles.NONE)
3 Group.new('NvimTreeFolderIcon', colors.normal, colors.none, styles.NONE)
4 Group.new('NvimTreeExecFile', colors.normal, colors.none, styles.NONE)
5 Group.new('NvimTreeImageFile', colors.normal, colors.none, styles.NONE)
6 Group.new('NvimTreeEmptyFolderName', colors.normal, colors.none, styles.NONE)
7 Group.new('NvimTreeIndentMarker', colors.normal, colors.none, styles.NONE)
8end

neovim/lua/theme/terminal_colors.lua

Deleted
deleted file mode 100644

+0 / −18 text lines

1return function(...)
2 vim.g.terminal_color_0 = '#555555'
3 vim.g.terminal_color_1 = '#FB467B'
4 vim.g.terminal_color_2 = '#B8EE92'
5 vim.g.terminal_color_3 = '#FFCC00'
6 vim.g.terminal_color_4 = '#56D6D6'
7 vim.g.terminal_color_5 = '#B954B8'
8 vim.g.terminal_color_6 = '#00D5A7'
9 vim.g.terminal_color_7 = '#CED5E5'
10 vim.g.terminal_color_8 = '5555555'
11 vim.g.terminal_color_9 = '#FB467B'
12 vim.g.terminal_color_10 = '#B8EE92'
13 vim.g.terminal_color_11 = '#FFCC00'
14 vim.g.terminal_color_12 = '#56D6D6'
15 vim.g.terminal_color_13 = '#B954B8'
16 vim.g.terminal_color_14 = '#00D5A7'
17 vim.g.terminal_color_15 = '#CED5E5'
18end

neovim/lua/theme/treesitter_colors.lua

Modified

+74 / −40 text lines

11return function(Group, groups, colors, styles)
2 Group.new('TSFloat', groups.Float, groups.Float, groups.Float)
3 Group.new('TSFunction', groups.Function, groups.Function, groups.Function)
4 Group.new('TSType', groups.Type, groups.Type, groups.Type)
5 Group.new('TSTypeBuiltin', groups.Type, groups.Type, groups.Type)
6 Group.new('TSLabel', groups.Label, groups.Label, groups.Label)
7 Group.new('TSCharacter', groups.Character, groups.Character, groups.Character)
8 Group.new(
9 'TSConditional',
10 groups.Conditional,
11 groups.Conditional,
12 groups.Conditional
13 )
14 Group.new('TSConstant', groups.Constant, groups.Constant, groups.Constant)
15 Group.new('TSConstBuiltin', groups.Constant, groups.Constant, groups.Constant)
16 Group.new('TSConstMacro', groups.Constant, groups.Constant, groups.Constant)
17 Group.new('TSFuncBuiltin', groups.Function, groups.Function, groups.Function)
18 Group.new('TSMethod', groups.Function, groups.Function, groups.Function)
19 Group.new('TSStructure', groups.Structure, groups.Structure, groups.Structure)
20 Group.new(
21 'TSTagDelimiter',
22 groups.Delimiter,
23 groups.Delimiter,
24 groups.Delimiter
25 )
26 Group.new('TSNumber', groups.Number, groups.Number, groups.Number)
27 Group.new('TSFuncMacro', groups.Function, groups.Function, groups.Function)
28 Group.new('TSInclude', groups.Include, groups.Include, groups.Include)
29 Group.new('TSKeyword', groups.Keyword, groups.Keyword, groups.Keyword)
30 Group.new('TSException', groups.Exception, groups.Exception, groups.Exception)
31 Group.new('TSBoolean', groups.Boolean, groups.Boolean, groups.Boolean)
32 Group.new('TSError', groups.Error, groups.Error, groups.Error)
33 Group.new('TSString', groups.String, groups.String, groups.String)
34 Group.new('TSStringEscape', colors.normal, colors.none, styles.NONE)
35 Group.new('TSStringRegex', colors.normal, colors.none, styles.NONE)
36 Group.new('TSField', colors.normal, colors.none, styles.NONE)
37 Group.new('TSParameter', colors.normal, colors.none, styles.NONE)
38 Group.new('TSVariable', colors.normal, colors.none, styles.bold)
39 Group.new('TSPunctBracket', colors.normal, colors.none, styles.NONE)
40 Group.new('TSOperator', colors.normal, colors.none, styles.NONE)
41 Group.new('TSProperty', colors.normal, colors.none, styles.NONE)
2 Group.new("TSString", colors.normal, colors.none, styles.bold + styles.italic)
3 Group.new("TSStringEscape", groups.TSString, colors.accent_weak, groups.TSString)
4 Group.new("TSStringRegex", groups.TSString, colors.accent_weak, groups.TSString)
5 Group.new("TSStringSpecial", groups.TSString, colors.debug, groups.TSString)
6 Group.new("TSConstBuiltin", groups.TSString, groups.TSString, groups.TSString)
7 Group.new("TSNumber", groups.TSString, groups.TSString, groups.TSString)
8 Group.new("TSBoolean", groups.TSString, groups.TSString, groups.TSString)
9 Group.new("TSFloat", groups.TSString, groups.TSString, groups.TSString)
10 Group.new("TSCharacter", groups.TSString, groups.TSString, groups.TSString)
12 Group.new("TSKeyword", colors.minor, colors.none, styles.NONE)
13 Group.new("TSKeywordFunction", groups.TSKeyword, groups.TSKeyword, groups.TSKeyword)
14 Group.new("TSKeywordOperator", groups.TSKeyword, groups.TSKeyword, groups.TSKeyword)
15 Group.new("TSKeywordReturn", groups.TSKeyword, groups.TSKeyword, styles.bold + styles.underline)
16 Group.new("TSConditional", groups.TSKeyword, groups.TSKeyword, groups.TSKeyword)
17 Group.new("TSRepeat", groups.TSKeyword, groups.TSKeyword, groups.TSKeyword)
18 Group.new("TSLabel", groups.TSKeyword, groups.TSKeyword, groups.TSKeyword + styles.bold)
19 Group.new("TSException", groups.TSKeyword, groups.TSKeyword, groups.TSKeyword)
21 Group.new("TSMethod", colors.normal, colors.none, styles.NONE)
23 Group.new("TSPunctBracket", colors.minor, colors.none, styles.NONE)
24 Group.new("TSPunctDelimiter", groups.TSPunctBracket, groups.TSPunctBracket, groups.TSPunctBracket)
25 Group.new("TSPunctSpecial", groups.TSPunctBracket, groups.TSPunctBracket, groups.TSPunctBracket)
26 Group.new("TSOperator", groups.TSPunctBracket, groups.TSPunctBracket, groups.TSPunctBracket)
28 Group.new("TSVariable", colors.normal, colors.none, styles.NONE)
30 Group.new("TSType", colors.normal, colors.none, styles.NONE)
31 Group.new("TSTypeBuiltin", groups.TSType, groups.TSType, groups.TSType)
33 Group.new("TSComment", colors.important, colors.none, styles.bold + styles.italic)
35 Group.new("TSNote", colors.accent_strong, colors.none, styles.bold)
37 Group.new("TSFunction", colors.normal, colors.none, styles.NONE)
38 Group.new("TSConstant", colors.normal, colors.none, styles.NONE)
39 Group.new("TSConstMacro", colors.normal, colors.none, styles.NONE)
40 Group.new("TSFuncBuiltin", colors.normal, colors.none, styles.NONE)
41 Group.new("TSStructure", colors.normal, colors.none, styles.NONE)
42 Group.new("TSTagDelimiter", colors.normal, colors.none, styles.NONE)
43 Group.new("TSFuncMacro", colors.normal, colors.none, styles.NONE)
44 Group.new("TSInclude", colors.normal, colors.none, styles.NONE)
45 Group.new("TSError", colors.error, colors.none, styles.NONE)
46 Group.new("TSField", colors.normal, colors.none, styles.NONE)
47 Group.new("TSParameter", colors.normal, colors.none, styles.NONE)
48 Group.new("TSProperty", colors.normal, colors.none, styles.NONE)
50 Group.new("TSNone", colors.none, colors.none, styles.NONE)
51 Group.new("TSParameterReference", colors.normal, colors.none, styles.NONE)
52 Group.new("TSConstructor", colors.normal, colors.none, styles.NONE)
53 Group.new("TSAnnotation", colors.normal, colors.none, styles.NONE)
54 Group.new("TSAttribute", colors.normal, colors.none, styles.NONE)
55 Group.new("TSNamespace", colors.normal, colors.none, styles.NONE)
56 Group.new("TSSymbol", colors.normal, colors.none, styles.NONE)
57 Group.new("TSText", colors.normal, colors.none, styles.NONE)
58 Group.new("TSStrong", colors.normal, colors.none, styles.NONE)
59 Group.new("TSEmphasis", colors.normal, colors.none, styles.NONE)
60 Group.new("TSUnderline", colors.normal, colors.none, styles.underline)
61 Group.new("TSStrike", colors.normal, colors.none, styles.NONE)
62 Group.new("TSMath", colors.normal, colors.none, styles.NONE)
63 Group.new("TSTextReference", colors.normal, colors.none, styles.NONE)
64 Group.new("TSEnvironment", colors.normal, colors.none, styles.NONE)
65 Group.new("TSEnvironmentName", colors.normal, colors.none, styles.NONE)
66 Group.new("TSTitle", colors.normal, colors.none, styles.NONE)
67 Group.new("TSLiteral", colors.normal, colors.none, styles.NONE)
68 Group.new("TSURI", colors.normal, colors.none, styles.NONE)
69 Group.new("TSWarning", colors.warning, colors.none, styles.NONE)
70 Group.new("TSDanger", colors.debug, colors.none, styles.NONE)
71 Group.new("TSTag", colors.normal, colors.none, styles.NONE)
72 Group.new("TSTagAttribute", colors.normal, colors.none, styles.NONE)
73 Group.new("TSPlaygroundFocus", colors.important, colors.none, styles.NONE)
74 Group.new("TSQueryLinterError", colors.error, colors.none, styles.NONE)
75 Group.new("TSPlaygroundLang", colors.normal, colors.none, styles.NONE)
4276end

neovim/selene.toml

Added
new file mode 100644

+1 / −0 text lines

1std = "vim"

neovim/vim.toml

Added
new file mode 100644

+46 / −0 text lines

1[selene]
2base = "lua51"
3name = "vim"
4
5[vim]
6any = true
7
8[[describe.args]]
9type = "string"
10[[describe.args]]
11type = "function"
13[[it.args]]
14type = "string"
15[[it.args]]
16type = "function"
18[[before_each.args]]
19type = "function"
20[[after_each.args]]
21type = "function"
23[assert.is_not]
24any = true
26[[assert.equals.args]]
27type = "any"
28[[assert.equals.args]]
29type = "any"
30[[assert.equals.args]]
31type = "any"
32required = false
34[[assert.same.args]]
35type = "any"
36[[assert.same.args]]
37type = "any"
39[[assert.truthy.args]]
40type = "any"
42[[assert.spy.args]]
43type = "any"
45[[assert.stub.args]]
46type = "any"

nushell/config.toml

Added
new file mode 100644

+68 / −0 text lines

1complete_from_path = true
2ctrlc_exit = false
3filesize_format = "kib"
4nonzero_exit_errors = true
5rm_always_trash = true
6table_mode = "light"
7pivot_mode = "auto"
8disable_table_indexes = false
9completion_match_method = "case-insensitive"
10prompt = "__zoxide_hook; starship prompt"
11skip_welcome_message = true
12startup = [
13"zoxide init nushell --hook prompt | save zoxide.nu",
14"source zoxide.nu",
15 # loading of plugins in nu seems inconsistent.
16 # the only get loaded in interactive nu session.
17 # not for scripts and --commands.
18 # see https://github.com/nushell/nushell/issues/3892
19"nu plugin --load (build-string $nu.env.CARGO_HOME /bin)",
20"source nurc",
21]
23[color_config]
24primitive_int = "blue"
25primitive_decimal = "blue"
26primitive_filesize = "blue_dimmed"
27primitive_string = "blue"
28primitive_line = "yellow"
29primitive_columnpath = "cyan"
30primitive_pattern = "white"
31primitive_boolean = "blue"
32primitive_date = "blue_dimmed"
33primitive_duration = "blue_dimmed"
34primitive_range = "white_dimmed"
35primitive_path = "white_bold"
36primitive_binary = "cyan"
37separator_color = "purple"
38header_align = "left" # left|l, right|r, center|c
39header_color = "purple"
40header_bold = true
41index_color = "purple_dimmed"
42leading_trailing_space_bg = "purple_reverse"
44[line_editor]
45auto_add_history = true
46color_mode = "enabled"
47completion_type = "circular"
48edit_mode = "emacs"
49history_duplicates = "ignoreconsecutive"
50tab_stop = 2
52[textview]
53colored_output = true
54header = true
55line_numbers = false
56pager = "less"
57paging_mode = "quitifonescreen"
58tab_width = 2
59true_color = true
60use_italics = true
61vcs_modification_markers = true
62theme = "Nord"
64[env]
65STARSHIP_SHELL = "nushell"
66EDITOR = "nvim"
67BAT_THEME = "Nord"
68_ZO_ECHO = 1

nushell/nu/config/config.toml

Deleted
deleted file mode 100644

+0 / −60 text lines

1complete_from_path = true
2ctrlc_exit = false
3filesize_format = "kib"
4nonzero_exit_errors = true
5rm_always_trash = true
6table_mode = "light"
7pivot_mode = "auto"
8disable_table_indexes = false
9completion_match_method = "case-insensitive"
10prompt = "__zoxide_hook; starship prompt"
11skip_welcome_message = true
12startup = [
13"zoxide init nushell --hook prompt | save zoxide.nu",
14"source zoxide.nu",
15"source nurc",
16]
18[color_config]
19primitive_int = "blue"
20primitive_decimal = "blue"
21primitive_filesize = "blue_dimmed"
22primitive_string = "blue"
23primitive_line = "yellow"
24primitive_columnpath = "cyan"
25primitive_pattern = "white"
26primitive_boolean = "blue"
27primitive_date = "blue_dimmed"
28primitive_duration = "blue_dimmed"
29primitive_range = "white_dimmed"
30primitive_path = "white_bold"
31primitive_binary = "cyan"
32separator_color = "purple"
33header_align = "left" # left|l, right|r, center|c
34header_color = "purple"
35header_bold = true
36index_color = "purple_dimmed"
37leading_trailing_space_bg = "purple_reverse"
39[line_editor]
40auto_add_history = true
41color_mode = "enabled"
42completion_type = "circular"
43edit_mode = "emacs"
44history_duplicates = "ignoreconsecutive"
45tab_stop = 2
47[textview]
48colored_output = true
49header = true
50line_numbers = false
51pager = "less"
52paging_mode = "quitifonescreen"
53tab_width = 2
54true_color = true
55use_italics = true
56vcs_modification_markers = true
57theme = "Nord"
59[env]
60STARSHIP_SHELL = "nushell"

nushell/nu/config/nurc

Deleted
deleted file mode 100644

+0 / −66 text lines

1# This is an initial script for nushell
2# It is expected that it is sourced in the `config.toml`:
3# `startup = ["source ~/.config/nushell/nurc"]`
4
5# GLOBAL VARIABLES
6let TODO_FILE = D:/Notizen/TODO.md
7let NURC = ~/.config/nushell/nurc
8
9# ALIASES
10alias cat = bat
11alias vim = nvim
12alias edit = nvim
13alias sudo = gsudo
14alias doas = sudo
15alias file = trid
16alias grep = rg
17alias che = chezmoi
19# CUSTOM LITTLE JAVA COMMANDS
20alias sha = java D:/Tools/sha.java
21alias uuid = java D:/Tools/random_uuid.java
22alias download = java D:/Tools/download.java
23alias download_jar = java D:/Tools/download_jar.java
26# FUNCTIONS
28# Search the given query on the web with the default browser in DuckDuckGo.
29def web [
30 query:string # The search query
31] {
32 # There seems to be an issue with the nu start command on windows: It does not handle URLs
33 # Using windows command for now:
34 start (build-string "https://duckduckgo.com/?q=" $query)
35}
37# Browse and select files in the current directory with an interactive file viewer.
38def files [
39 ...rest # Arguments will be passed to fzf
40] {
41 let options = ["--ansi", "--info", "inline"]
42 let layout = ["--height", "100%", "--layout", "reverse", "--border", "--preview-window", "up:1:noborder:66%"]
43 let color = ["--color", "fg:#adadad,fg+:#78aba9,bg:#333333,preview-bg:#222222,border:#547877"]
44 let preview = ["--preview", "bat --color=always --italic-text=always --decorations=never --line-range :300 {}"]
45 fzf $options $layout $color $preview $rest
46}
49# Show or add to bugabingas TODO file.
50def todo [
51 --edit (-e) # Edit the todo file in $EDITOR
52 item?: string # New TODO item to append to TODO file
53] {
54 if ($edit | empty?) {
55 # How is one supposed to check the optional variable if it is not in scope, when not given?
56 #if $(= $item | empty?) {
57 glow $TODO_FILE
58 # } {
59 # appending a line to a file seems kind of sus in nushell right now... ask on discord about this?
60 # open $TODO_FILE | lines | append $(build-string "- " $item) | save $TODO_FILE
61 # }
62 } {
63 # Is this the nu way of running dynamic commands?
64 nu --commands (build-string $nu.env.EDITOR " " $TODO_FILE)
65 }
66}

nushell/nu/config/zoxide.nu

Deleted
deleted file mode 100644

+0 / −79 text lines

1# =============================================================================
2#
3# Utility functions for zoxide.
4#
5
6# Default prompt for Nushell.
7def __zoxide_prompt [] {
8 let git = $"(do -i {git rev-parse --abbrev-ref HEAD} | str trim)"
9 let git = (if (echo $git | str length) == 0 {
10 ""
11 } {
12 build-string (char lparen) (ansi cb) $git (ansi reset) (char rparen)
13 })
14 build-string (ansi gb) (pwd) (ansi reset) $git "> "
15}
17# =============================================================================
18#
19# Hook configuration for zoxide.
20#
22# Hook to add new entries to the database.
23def __zoxide_hook [] {
24 shells | where active == $true && name == filesystem | get path | each { zoxide add -- $it }
25}
27# =============================================================================
28#
29# When using zoxide with --no-aliases, alias these internal functions as
30# desired.
31#
33# Jump to a directory using only keywords.
34def __zoxide_z [...rest:string] {
35 if (shells | where active == $true | get name) != filesystem {
36 if (echo $rest | length) > 1 {
37 $"zoxide: can only jump directories on filesystem(char nl)"
38 } {
39 cd (echo $rest)
40 }
41 } {
42 let arg0 = (echo $rest | append '~' | first 1);
43 if (echo $rest | length) <= 1 && ($arg0 == '-' || (echo $arg0 | path expand | path exists)) {
44 cd $arg0
45 } {
46 cd (zoxide query --exclude (pwd) -- $rest | str trim)
47 }
48 }
49}
51# Jump to a directory using interactive search.
52def __zoxide_zi [...rest:string] {
53 if (shells | where active == $true | get name) != filesystem {
54 $"zoxide: can only jump directories on filesystem(char nl)"
55 } {
56 cd (zoxide query -i -- $rest | str trim)
57 }
58}
60# =============================================================================
61#
62# Convenient aliases for zoxide. Disable these using --no-aliases.
63#
65alias z = __zoxide_z
66alias zi = __zoxide_zi
68# =============================================================================
69#
70# To initialize zoxide, first create a Nushell script:
71#
72# zoxide init nushell --hook prompt | save ~/.zoxide.nu
73#
74# Add this to your configuration (usually ~/.config/nu/config.toml):
75#
76# prompt = "__zoxide_hook;__zoxide_prompt"
77# startup = ["zoxide init nushell --hook prompt | save ~/.zoxide.nu", "source ~/.zoxide.nu"]
78#
79# You can replace __zoxide_prompt with a custom prompt.

nushell/nurc

Added
new file mode 100644

+133 / −0 text lines

1# This is an initial script for nushell
2# It is expected that it is sourced in the `config.toml`:
3# `startup = ["source ~/.config/nushell/nurc"]`
4
5# GLOBAL VARIABLES
6let-env NURC = (build-string (pwd) /nurc)
7let-env DOTFILES = ((build-string (pwd) /..) | path expand)
8let-env TODO = (build-string $nu.env.DOTFILES /TODO.md)
9
10# ALIASES
11alias cat = bat
12alias vim = nvim
13alias edit = nvim
14alias e = nvim
15alias ll = exa --group-directories-first --classify --long --icons --git
16alias la = exa --group-directories-first --classify --all --long --icons --git
17alias tr = exa --tree
18alias doas = sudo
19alias grep = rg
21# CUSTOM LITTLE JAVA COMMANDS
22alias aes = java (build-string $nu.env.DOTFILES /tools/ aes.java)
23alias download = java (build-string $nu.env.DOTFILES /tools/ download.java)
24alias download_jar = java (build-string $nu.env.DOTFILES /tools/ download_jar.java)
26# MY STDLIB UTIL MISC HELPER FUNCTIONS
28# Check whether table in pipeline has a column with given name
29def "has-column?" [
30 name: string # Name of the column to check for
31] {
32 pivot | any? Column0 == $name
33}
35# Prints out a list of stuff.
36# Appends a newline at the end.
37def print [
38 ...rest: any # list of stuff to echo out
39] {
40 echo (build-string ($rest | flatten | into string | str collect) )
41 echo (char newline)
42}
44# Flattens a table into a string separated by a single space character.
45def to-string [] { flatten | into string | str collect ' ' }
47# FUNCTIONS
49# Render my To-Do file in the terminal
50def todo [] { mdcat $nu.env.TODO }
51# Open my To-Do file for editing
52def "todo edit" [] { nvim $nu.env.TODO }
53# Open the Nushell configuration file for editing
54def "config edit" [] { nvim (config path) }
55# Open my Nushell startup script for editing
56def nurc [] { nvim $nu.env.NURC }
58# Uploads a PUBLIC ssh key to GitHub.
59# Will prompt for the AES encryption password of my dotfiles.
60def github-upload-key [
61 title: string # Name the key, so you will remember what it is used for
62 key: path # Path to the PUBLIC key
63] {
64 if ($key | path exists) {
65 echo (build-string "uploading ssh public key " (ansi gi) $key (ansi reset) " with title " (ansi gb) $title (ansi reset) " to GitHub.")
66 echo (char newline)
67 let encrypted_token_path = (build-string $nu.env.DOTFILES / tresor / 4cef0ce3-da3a-4f16-9412-2d094b4f7445)
68 let decrypted_token_path = (build-string $nu.env.DOTFILES / tresor / gh_token)
69 aes decrypt $encrypted_token_path $decrypted_token_path
70 let token = (open --raw $decrypted_token_path)
71 let key_content = (open --raw $key)
72 rm -f $decrypted_token_path
73 let result = (do -i { xh --bearer $token https://api.github.com/user/keys (build-string title = $title) (build-string key = $key_content) | from json})
74 if ($result | has-column? errors) {
75 let message = ($result | get message)
76 let url = ($result | get documentation_url)
77 let errors = ($result | get errors)
78 echo (build-string (ansi rb) $message (ansi reset) (char newline))
79 echo (char newline)
80 $errors | each {
81 let resource = ($it | get resource)
82 let code = ($it | get code)
83 let field = ($it | get field)
84 let message = ($it | get message)
85 echo (build-string (ansi ui) $resource : $code : $field ": " (ansi rb) $message (ansi reset) (char newline))
86 }
87 echo (build-string "Further information: " (ansi yi) $url (ansi reset) (char newline))
88 } {
89 let id = ($result | get id)
90 let key = ($result | get key)
91 let title = ($result | get title)
92 let created_at = ($result | get created_at)
93 echo (build-string "[" ID : $id "]" " key with title " (ansi gb) $title (ansi reset) " was created at " (ansi yi) $created_at (ansi reset) "." (char newline) )
94 echo (build-string (ansi wu) "PUBLIC SSH KEY:" (ansi reset))
95 echo (char newline)
96 echo ($key | ansi gradient --fgstart 0xaefe9f --fgend 0xfefefe)
97 echo (char newline)
98 }
99 } {
100 echo (build-string "key " (ansi rb) $key (ansi reset) " not found!")
101 echo (char newline)
102 }
103}
105# Shows git log in a pretty table
106def glog [
107 ...rest: string # Extra arguments to git log
108] {
109 git log --pretty=%h»¦«%s»¦«%aN»¦«%aE»¦«%aD -n 25 $rest | lines | split column "»¦«" commit subject name email date | update date { get date | str to-datetime} | sort-by date
110}
113# Open manual page.
114# On Windows, a man web page is opened.
115def man [
116 ...rest: string # Arguments to man
117] {
118 if (sys).host.name == "Windows" {
119 start (build-string https://man.cx/ ($rest | to-string))
120 } {
121 exec man $rest
122 }
123}
125# Search the given query on the web with the default browser in DuckDuckGo.
126def web [
127 ...rest:string # The search query
128] {
129 # There seems to be an issue with the nu start command on windows: It does not handle URLs
130 # Using windows command for now:
131 start (build-string "https://duckduckgo.com/?q=" ($rest | to-string))
132}

pop-os.symlinks

Added
new file mode 100644

+41 / −0 text lines

1git/gitconfig
2~/.config/git/config
3
4git/gitconfig.linux
5~/.config/git/.gitconfig.include
6
7alacritty/alacritty.linux.yml
8~/.config/alacritty/alacritty.yml
9
10alacritty/alacritty_common.yml
11~/.config/alacritty/alacritty_common.yml
13alacritty/Alacritty.desktop
14~/.local/share/applications/Alacritty.desktop
16alacritty/alacritty-simple.svg
17~/.local/share/icons/hicolor/scalable/apps/Alacritty.svg
19cargo/config.toml
20~/.cargo/config.toml
22nushell
23~/.config/nu
25neovim
26~/.config/nvim
28stackoverflow/so
29~/.config/so
31starship/starship.toml
32~/.config/starship.toml
34alacritty
35~/.config/alacritty
37topgrade/topgrade.linux.toml
38~/.config/topgrade.toml
40indexa/config.linux.toml
41~/.config/indexa/config.toml

starship/starship.toml.EJ-PC-00363

Modified

+14 / −3 text lines

11#vim: ft=toml
22[character]
3success_symbol = '[∙](bold fg:#c0c3c1)'
4error_symbol = '[×](bold fg:#ea1129)'
3success_symbol = ' (dimmed green)'
4# does not work yet in nushell
5error_symbol = ' (dimmed red)'
67[directory]
78style = 'bold purple'
8truncation_symbol = '⋯/'
9truncation_symbol = '⋯ /'
910home_symbol = '∽'
1011truncation_length = 5
1314style = 'yellow dimmed'
1516[git_status]
17# too slow
1618disabled = true
20[package]
21style = "dimmed cyan"
23[rust]
24style = "dimmed cyan"
26[zig]
27style = "dimmed yellow"
1829[memory_usage]
1930disabled = false
2031format = "$symbol $ram_pct ($style)"

tools/aes.java

Added
new file mode 100644

+209 / −0 text lines

1import static java.lang.System.out;
2
3import java.nio.file.*;
4import java.nio.charset.*;
5import java.nio.*;
6import java.io.*;
7import java.util.*;
8
9import java.security.*;
10import java.security.spec.*;
12import javax.crypto.*;
13import javax.crypto.spec.*;
15class aes {
16 enum Command { ENCRYPT, DECRYPT };
17 static Cipher AES_GCM_PKCS5;
18 static byte[] SALT = new byte[] { 116, 104, 101, 32, 109, 111, 111, 110, 32, 105, 115, 32, 104, 105, 100, 100, 101, 110, 32, 105, 110, 32, 112, 108, 97, 105, 110, 32, 118, 105, 101, 119 };
19 static SecureRandom RANDOM = new SecureRandom();
20 /*
21 * 12 ist NIST recommendation. supposedly fast and secure enough...
22 */
23 static int GCM_IV_SIZE = 12;
24 /*
25 * AES encrypts 128-blocks internally, so this should be reasonable memory bufer size.
26 */
27 static int READ_BUFFER_SIZE = 128;
28 /*
29 * Supported sizes for GCM authentication tags seem to be {128, 120, 112, 104, 96}.
30 * But we do not really care, since we do not use them here.
31 */
32 static int GCM_AUTH_TAG_SIZE = 96;
34 public static void main(String[] arguments) throws Throwable {
35 if(arguments.length == 0){
36 usage();
37 throw fail();
38 }
40 var input_command = arguments[0];
41 Command command;
42 if ("encrypt".startsWith(input_command)) { command = Command.ENCRYPT; }
43 else if ("decrypt".startsWith(input_command)) { command = Command.DECRYPT; }
44 else { throw fail("unknown command %s given%n", emphasize_global(input_command)); }
46 AES_GCM_PKCS5 = Cipher.getInstance("AES/GCM/NoPadding");
48 var console = System.console();
49 /*
50 * If there is no console, this program is most likely part of a pipe.
51 * In such cases a `--password-file` flag is mandatory, because we cannot interactively ask for the password.
52 */
53 if(console == null){
54 if(arguments.length != 3 || !"--password-file".equals(arguments[1])) {
55 usage();
56 throw fail("When running %s non-interactively, the %s flag is required.%nOtherwise there is no way to securely obtain the password.%n",emphasize_local("aes"), emphasize_global("--password-file"));
57 }
58 var password_file = Path.of(arguments[2]);
59 if(!Files.exists(password_file)) { throw fail("the given password file %s does not exist%n", emphasize_local(password_file.toString())); }
60 var password = toChars(Files.readAllBytes(password_file));
61 switch (command) {
62 case ENCRYPT:
63 encrypt(password, System.in, System.out);
64 break;
65 case DECRYPT:
66 decrypt(password, System.in, System.out);
67 break;
68 }
69 }
70 else {
71 if(arguments.length <= 1) {
72 usage();
73 throw fail("not enough arguments given%n");
74 }
75 char[] password;
76 String input;
77 String output;
78 if("--password-file".equals(arguments[1])) {
79 if(arguments.length != 5) {
80 usage();
81 throw fail("the flag %s requires a path%n", emphasize_local("--password-file"));
82 }
83 var password_file = Path.of(arguments[2]);
84 if(!Files.exists(password_file)) { throw fail("the given password file %s does not exist%n", emphasize_local(password_file.toString())); }
85 password = toChars(Files.readAllBytes(password_file));
86 input = arguments[3];
87 output = arguments[4];
88 }
89 else {
90 if(arguments.length != 3) {
91 usage();
92 throw fail("when encrypting/decrypting a file, an output path is required%n");
93 }
94 password = console.readPassword("[%s]:",emphasize_global("Password"));
95 input = arguments[1];
96 output = arguments[2];
97 }
99 var input_path = Path.of(input);
100 if(!Files.exists(input_path)) { throw fail("the given input path %s does not exist%n", emphasize_global(input_path.toString())); }
101 var output_path = Path.of(output);
102 if(Files.exists(output_path)) { throw fail("the output path %s already exists%n", emphasize_global(output_path.toString())); }
104 var input_stream = Files.newInputStream(input_path, StandardOpenOption.READ);
105 var output_stream = Files.newOutputStream(output_path, StandardOpenOption.CREATE_NEW, StandardOpenOption.WRITE);
107 switch (command) {
108 case ENCRYPT:
109 encrypt(password, input_stream, output_stream);
110 break;
111 case DECRYPT:
112 decrypt(password, input_stream, output_stream);
113 break;
114 }
115 }
116 throw exit();
117 }
119 static void encrypt(char[] password, InputStream input, OutputStream output) throws Exception {
120 // FIXME: generate random salt and append it here just like IV
121 // in GCM the IV should be unique per encrypted thingy
122 var initialization_vector = new byte[GCM_IV_SIZE];
123 RANDOM.nextBytes(initialization_vector);
124 //save the IV for the decryption step later. secure? nope. but how else are we to share IVs between encryption/decryption?
125 output.write(initialization_vector);
126 var secret = toSecretKey(password);
127 var parameter_spec = new GCMParameterSpec(GCM_AUTH_TAG_SIZE, initialization_vector);
129 AES_GCM_PKCS5.init(Cipher.ENCRYPT_MODE, secret, parameter_spec);
130 var read_buffer = new byte[READ_BUFFER_SIZE];
131 var aes_buffer = new byte[READ_BUFFER_SIZE];
132 int read_bytes_count = 0;
133 while((read_bytes_count = input.read(read_buffer)) != -1){
134 var aes_bytes_count = AES_GCM_PKCS5.update(read_buffer, 0, read_bytes_count, aes_buffer);
135 output.write(aes_buffer, 0, aes_bytes_count);
136 }
137 output.write(AES_GCM_PKCS5.doFinal());
138 }
140 static void decrypt(char[] password, InputStream input, OutputStream output) throws Exception {
141 //the IV get prepended to the data during encryption
142 var initialization_vector = new byte[GCM_IV_SIZE];
143 input.read(initialization_vector);
144 var parameter_spec = new GCMParameterSpec(GCM_AUTH_TAG_SIZE, initialization_vector);
145 var secret = toSecretKey(password);
147 AES_GCM_PKCS5.init(Cipher.DECRYPT_MODE, secret, parameter_spec);
148 var read_buffer = new byte[READ_BUFFER_SIZE];
149 var aes_buffer = new byte[READ_BUFFER_SIZE];
150 int read_bytes_count = 0;
151 while((read_bytes_count = input.read(read_buffer)) != -1){
152 var aes_bytes_count = AES_GCM_PKCS5.update(read_buffer, 0, read_bytes_count, aes_buffer);
153 output.write(aes_buffer, 0, aes_bytes_count);
154 }
155 // the java impl of GCM seems to buffer the whole data in memory and only releasing it on doFinal. yuck!
156 // there is not much i can do about this other than to wait for JDK patches.
157 //TODO: in the case of AES GCM the final byte block is the authentication tag.
158 //as such it should porbably NOT be written to the output file.
159 //or is this assumption wrong?
160 output.write(AES_GCM_PKCS5.doFinal());
161 //FIXME: when given a wrong password we get a nonsensical error. make this nicer for human
162 }
164 static SecretKey toSecretKey(char[] password) throws Exception {
165 var factory = SecretKeyFactory.getInstance("PBKDF2WithHmacSHA256");
166 var spec = new PBEKeySpec(password, SALT, 65536, 256);
167 return new SecretKeySpec(factory.generateSecret(spec).getEncoded() , "AES");
168 }
170 static char[] toChars(byte[] bytes) {
171 var byte_buffer = ByteBuffer.wrap(bytes);
172 var char_buffer = StandardCharsets.UTF_8.decode(byte_buffer);
173 return char_buffer.array();
174 }
176 static void usage() {
177 out.printf("%s encrypts/decrypts data.%n", emphasize_local("Symmetrically "));
178 out.printf("%s: java aes.java <e(ncrypt)|d(ecrypt)> [--password-file <path>] <input path> <output path>%n", emphasize_global("Usage for files"));
179 out.printf("%s: java aes.java <e(ncrypt)|d(ecrypt)> --password-file <path>%n", emphasize_global("Usage for stdin/stdout"));
180 }
182 static Throwable exit() {
183 out.printf("%s!%n", emphasize_local("Done"));
184 System.exit(0);
185 //abuse control flow to make compiler realize `exit` will never return
186 return new Throwable();
187 }
189 static String emphasize_global(String message) {
190 return "\033[4m" + message + "\033[0m";
191 }
193 static String emphasize_local(String message) {
194 return "\033[3m" + message + "\033[0m";
195 }
197 static Throwable fail(String message, Object... arguments) {
198 out.printf(message, arguments);
199 System.exit(-1);
200 //abuse control flow to make compiler realize `exit` will never return
201 return new Throwable();
202 }
204 static Throwable fail() {
205 System.exit(-1);
206 //abuse control flow to make compiler realize `exit` will never return
207 return new Throwable();
208 }
209}

tools/download.java

Added
new file mode 100644

+73 / −0 text lines

1import static java.lang.System.*;
2
3import java.net.*;
4import java.net.http.*;
5import java.net.http.HttpClient.*;
6import java.net.http.HttpResponse.*;
7import java.nio.file.*;
8import java.util.*;
9import java.util.regex.*;
11class download {
12 public static void main(String[] command_line_arguments) {
13 if (command_line_arguments.length < 1) {
14 usage();
15 fail("give me an url to download from!");
16 }
17 var client = HttpClient.newBuilder().followRedirects(Redirect.NORMAL).build();
18 var source_name = command_line_arguments[0];
19 var source = URI.create(source_name);
20 var current_working_directory = System.getProperty("user.dir");
21 Path target;
22 if (command_line_arguments.length == 2) {
23 target = Paths.get(current_working_directory, command_line_arguments[1]);
24 } else {
25 target = Paths.get(current_working_directory, guess_file_name(source_name));
26 }
27 out.printf("Downloading %s into %s.%n", emphasize_local(source.toString()), emphasize_local(target.toString()));
28 download_ressource(client, source, target);
29 // TODO: download links in html to other pages
30 exit();
31 }
33 static String guess_file_name(String name) {
34 return name.replaceAll("\\w+:\\/\\/", "").replaceAll("\\/", "_");
35 }
37 static void download_ressource(HttpClient client, URI source, Path target) {
38 //TODO: handle copmressed ressources
39 //TODO: show progess
40 var request = HttpRequest.newBuilder().uri(source).build();
41 client
42 .sendAsync(request, BodyHandlers.ofFile(target))
43 .thenAccept(response -> out.printf("Downloaded %s into %s!%n", emphasize_local(source.toString()), emphasize_global(response.body().toString())))
44 .join();
45 }
47 static void usage() {
48 out.printf("Downloads a file from an %s.%n", emphasize_local("URL"));
49 out.printf("%s: java download.java <source url> <destination path>%n", emphasize_global("Usage"));
50 }
52 static void exit() {
53 out.printf("%s!%n", emphasize_local("Done"));
54 System.exit(0);
55 }
57 static String emphasize_global(String message) {
58 return "\033[4m" + message + "\033[0m";
59 }
61 static String emphasize_local(String message) {
62 return "\033[3m" + message + "\033[0m";
63 }
65 static void fail(String message, Object... arguments) {
66 out.printf(message, arguments);
67 System.exit(-1);
68 }
70 static void fail() {
71 System.exit(-1);
72 }
73}

tools/download_jar.java

Added
new file mode 100644

+198 / −0 text lines

1import static java.lang.System.out;
2
3import java.io.*;
4import java.net.*;
5import java.net.http.*;
6import java.net.http.HttpResponse.*;
7import java.nio.file.*;
8import java.util.*;
9import java.util.concurrent.ConcurrentSkipListSet;
11class download_jar {
12 public static void main(final String[] command_line_arguments) {
13 help();
14 var current_working_directory = Paths.get(System.getProperty("user.dir"));
15 var download_directory = current_working_directory.resolve("downloaded_artifacts");
16 var maven_repository = "https://repo.maven.apache.org/maven2";
17 var expected_count_of_arguments = 3;
18 if (contains(command_line_arguments, "-d")) {
19 expected_count_of_arguments = expected_count_of_arguments + 2;
20 try {
21 var given_download_directory = command_line_arguments[index_of(command_line_arguments, "-d") + 1];
22 download_directory = current_working_directory.resolve(given_download_directory);
23 } catch (IndexOutOfBoundsException exception) {
24 out.println("The -d option requires an argument.");
25 usage();
26 fail();
27 }
28 }
29 if (contains(command_line_arguments, "-r")) {
30 expected_count_of_arguments = expected_count_of_arguments + 2;
31 try {
32 var given_maven_repository = command_line_arguments[index_of(command_line_arguments, "-r") + 1];
33 maven_repository = given_maven_repository;
34 } catch (IndexOutOfBoundsException exception) {
35 out.println("The -r option requires an argument.");
36 usage();
37 fail();
38 }
39 }
40 if (command_line_arguments.length != expected_count_of_arguments) {
41 usage();
42 fail();
43 }
44 var maven_coordinates_reversed = new String[3];
45 for (var index = 2; index >= 0; --index) {
46 maven_coordinates_reversed[index] = command_line_arguments[expected_count_of_arguments - index - 1];
47 }
48 var group_id = maven_coordinates_reversed[2];
49 var artifact_id = maven_coordinates_reversed[1];
50 var version = maven_coordinates_reversed[0];
52 if (Files.exists(download_directory) && Files.isRegularFile(download_directory)) {
53 fail("The given download directory path %s already points to a file!%n", download_directory.toString());
54 } else if (!Files.exists(download_directory)) {
55 out.printf("Creating directory at %s%n.", emphasize_global(download_directory.toString()));
56 try {
57 Files.createDirectories(download_directory);
58 } catch (IOException __) {
59 fail("Unable to create directory at %s", emphasize_global(download_directory.toString()));
60 }
61 }
63 var expected_artifact_base_url = guess_maven_artifact_url(maven_repository, group_id, artifact_id, version);
64 var client = HttpClient.newHttpClient();
65 var request = HttpRequest.newBuilder().uri(URI.create(expected_artifact_base_url)).build();
66 var target_directory = download_directory;
67 client.sendAsync(request, BodyHandlers.ofString()).thenApply(HttpResponse::statusCode).thenAccept(status -> {
68 if (status > 299) {
69 fail("Could not find maven artifact at %s.%n", expected_artifact_base_url);
70 } else {
71 download_ressource(client, target_directory,
72 build_ressource_url(expected_artifact_base_url, artifact_id, version, ".jar"));
73 download_ressource(client, target_directory,
74 build_ressource_url(expected_artifact_base_url, artifact_id, version, "-sources.jar"));
75 // FIXME BLOCKER! How do we implement the version clash resolution?
76 // Preferably in a manner that avoids pointless downloads...
77 var processed_cache = new ConcurrentSkipListSet<String>();
78 process_pom(client, processed_cache,
79 build_ressource_url(expected_artifact_base_url, artifact_id, version, ".pom"));
80 }
81 }).join();
83 out.printf("download directory:\t%s%nmaven repository:\t%s%nmaven coordinates:\t%s:%s:%s%n",
84 emphasize_global(download_directory.toString()), emphasize_global(maven_repository), emphasize_global(group_id),
85 emphasize_global(artifact_id), emphasize_global(version));
86 exit();
87 }
89 static Collection<String> process_pom(HttpClient client, Set<String> processed, String pom_url) {
90 if (processed.contains(pom_url))
91 return Collections.emptyList();
92 var request = HttpRequest.newBuilder().uri(URI.create(pom_url)).build();
93 return client.sendAsync(request, BodyHandlers.ofInputStream()).thenApply(input -> {
94 // TODO add pom to list of processed so that a pom only ever gets read once
95 processed.add(pom_url);
96 // TODO traverse path to root of poms and collect managed dependencies
97 // TODO collect declared dependencies from given pom
98 return List.<String>of();
99 }).join();
100 }
102 static void download_ressource(HttpClient client, Path target_directory, String ressource_url) {
103 var request = HttpRequest.newBuilder().uri(URI.create(ressource_url)).build();
104 var ressource_name = ressource_url.substring(ressource_url.lastIndexOf('/') + 1);
105 var target_ressource_path = target_directory.resolve(ressource_name);
106 client.sendAsync(request, BodyHandlers.ofFile(target_ressource_path)).join();
107 }
109 static String build_ressource_url(String base, String artifact_id, String version, String suffix) {
110 var url = new StringBuilder(base);
111 if (!base.endsWith("/"))
112 url.append('/');
113 url.append(artifact_id);
114 url.append('-');
115 url.append(version);
116 url.append(suffix);
117 return url.toString();
118 }
120 static String guess_maven_artifact_url(String base, String group_id, String artifact_id, String version) {
121 var url = new StringBuilder(base);
122 if (!base.endsWith("/"))
123 url.append('/');
124 url.append(group_id.replaceAll("\\.", "\\/"));
125 url.append('/');
126 url.append(artifact_id);
127 url.append('/');
128 url.append(version);
129 url.append('/');
130 return url.toString();
131 }
133 static class Dependency {
134 String artifactId;
135 String groupId;
136 String version;
137 String scope;
138 boolean optional;
139 }
141 static <T> int index_of(T[] array, T item) {
142 var length = array.length;
143 if (length == 0)
144 return -1;
145 for (var index = 0; index < length; ++index) {
146 var element = array[index];
147 if (Objects.equals(element, item))
148 return index;
149 }
150 return -1;
151 }
153 @SafeVarargs
154 static <T> boolean contains(T[] array, T... items) {
155 if (array.length == 0)
156 return false;
157 if (items.length == 0)
158 return false;
159 for (var element : array) {
160 for (var argument : items) {
161 if (element.equals(argument))
162 return true;
163 }
164 }
165 return false;
166 }
168 static void help() {
169 out.printf("Downloads an artifact from a %s repository with its %s.%n", emphasize_local("maven"),
170 emphasize_local("transitive dependencies"));
171 }
173 static void usage() {
174 out.printf("%s: java download_jar.java <artifact id> <group id> <version>%n", emphasize_global("Usage"));
175 }
177 static void exit() {
178 out.printf("%s!%n", emphasize_local("Done"));
179 System.exit(0);
180 }
182 static String emphasize_global(String message) {
183 return "\033[4m" + message + "\033[0m";
184 }
186 static String emphasize_local(String message) {
187 return "\033[3m" + message + "\033[0m";
188 }
190 static void fail(String message, Object... arguments) {
191 out.printf(message, arguments);
192 System.exit(-1);
193 }
195 static void fail() {
196 System.exit(-1);
197 }
198}

tools/pipi.pass

Added
new file mode 100644

+1 / −0 text lines

1dein arsch stinkt nach märchenfleischNo final newline

tools/test_aes.nu

Added
new file mode 100644

+6 / −0 text lines

1rm -f aes.java.enc
2rm -f aes.java.dec
3java aes.java en --password-file pipi.pass aes.java aes.java.enc
4java aes.java de --password-file pipi.pass aes.java.enc aes.java.dec
5
6delta aes.java aes.java.dec

topgrade/topgrade.linux.toml

Added
new file mode 100644

+43 / −0 text lines

1# Disable specific steps - same options as the command line flag
2# Siehe command -> Windows
3disable = ["tldr", "vim"]
4
5# Run specific steps - same options as the command line flag
6#only = ["system", "emacs"]
7
8# Do not ask to retry failed steps (default: false)
9no_retry = true
11# Do not set the terminal title
12set_title = true
14# Cleanup temporary or old files
15cleanup = true
17[git]
18# Additional git repositories to pull
19repos = ["~/Workspace"]
21pull_predefined= false
23# Arguments to pass Git when pulling Repositories
24arguments = "--rebase --autostash"
26# Commands to run before anything
27#[pre_commands]
28#"Emacs Snapshot" = "rm -rf ~/.emacs.d/elpa.bak && cp -rl ~/.emacs.d/elpa ~/.emacs.d/elpa.bak"
30# Custom commands
31[commands]
33# Updateing my configuration files
34"Refresh Dotfiles" = "java ~/Workspace/dotfiles/bootstripper.java ~/Workspace/dotfiles"
36# Leider scheint der eingebaute "tldr" step von topgrade nicht für meine Version von TLDR funktionieren
37"TLDR" = "tldr --update"
39# Update NeoVim-Plugins
40"NeoVim Plugins" = "echo 'Updating Plugins (packer) in headless neovim instance.' ; nvim --headless '+PluginsSync' '+autocmd User PackerComplete :qa'"
42# Dateisystem-Indexer ix erfrischen
43"Indexa Update" = "ix --update"

topgrade/topgrade.toml

Deleted
deleted file mode 100644

+0 / −47 text lines

1# Disable specific steps - same options as the command line flag
2# Siehe command -> Windows
3disable = ["tldr", "vim"]
4
5# Run specific steps - same options as the command line flag
6#only = ["system", "emacs"]
7
8# Do not ask to retry failed steps (default: false)
9no_retry = true
11# Do not set the terminal title
12set_title = true
14# Cleanup temporary or old files
15cleanup = true
17[git]
18# Additional git repositories to pull
19repos = ["W:/apm.web", "W:/misc/*/"]
21pull_predefined= false
23# Arguments to pass Git when pulling Repositories
24arguments = "--rebase --autostash"
26# Commands to run before anything
27#[pre_commands]
28#"Emacs Snapshot" = "rm -rf ~/.emacs.d/elpa.bak && cp -rl ~/.emacs.d/elpa ~/.emacs.d/elpa.bak"
30# Custom commands
31[commands]
33# Leider scheint der eingebaute "tldr" step von topgrade nicht für meine Version von TLDR funktionieren
34"TLDR" = "tldr --update"
36# Diese Skripte beziehen APM und MeMate aus dem Transfer.
37"Advantage-PM Client" = ". D:/Tools/update_apm_client.ps1"
38"MeMate" = ". D:/Tools/update_memate.ps1"
40# Force update of fresh nightly neovim
41"NeoVim Nightly" = "scoop update --force neovim-nightly"
43# Update NeoVim-Plugins
44"NeoVim Plugins" = "Write-Host 'Updating Plugins (packer) in headless neovim instance.' ; nvim --headless '+PluginsSync' '+autocmd User PackerComplete :qa'"
46# Dateisystem-Indexer ix erfrischen
47"Indexa Update" = "ix --update"

topgrade/topgrade.windows.toml

Added
new file mode 100644

+48 / −0 text lines

1# Disable specific steps - same options as the command line flag
2# Siehe command -> Windows
3disable = ["tldr", "vim"]
4
5# Run specific steps - same options as the command line flag
6#only = ["system", "emacs"]
7
8# Do not ask to retry failed steps (default: false)
9no_retry = true
11# Do not set the terminal title
12set_title = true
14# Cleanup temporary or old files
15cleanup = true
17[git]
18# Additional git repositories to pull
19repos = ["W:/apm.web", "W:/misc/*/"]
21pull_predefined= false
23# Arguments to pass Git when pulling Repositories
24arguments = "--rebase --autostash"
26# Commands to run before anything
27#[pre_commands]
28#"Emacs Snapshot" = "rm -rf ~/.emacs.d/elpa.bak && cp -rl ~/.emacs.d/elpa ~/.emacs.d/elpa.bak"
30# Custom commands
31[commands]
32"Refresh dotfiles" = "java W:/misc/dotfiles/bootstripper.java W:/misc/dotfiles"
34# Leider scheint der eingebaute "tldr" step von topgrade nicht für meine Version von TLDR funktionieren
35"TLDR" = "tldr --update"
37# Diese Skripte beziehen APM und MeMate aus dem Transfer.
38"Advantage-PM Client" = ". D:/Tools/update_apm_client.ps1"
39"MeMate" = ". D:/Tools/update_memate.ps1"
41# Force update of fresh nightly neovim
42"NeoVim Nightly" = "scoop update --force neovim-nightly"
44# Update NeoVim-Plugins
45"NeoVim Plugins" = "Write-Host 'Updating Plugins (packer) in headless neovim instance.' ; nvim --headless '+PluginsSync' '+autocmd User PackerComplete :qa'"
47# Dateisystem-Indexer ix erfrischen
48"Indexa Update" = "ix --update"

vale/.vale.ini

Deleted
deleted file mode 100644

+0 / −3 text lines

1StylesPath = ".config/vale/styles"
2[*]
3BasedOnStyles = Vale, Google, Microsoft, write-good, proseLint, JobLint

vale/vale/styles/Google/AMPM.yml

Deleted
deleted file mode 100644

+0 / −9 text lines

1extends: existence
2message: "Use 'AM' or 'PM' (preceded by a space)."
3link: 'https://developers.google.com/style/word-list'
4level: error
5nonword: true
6tokens:
7 - '\d{1,2}[AP]M'
8 - '\d{1,2} ?[ap]m'
9 - '\d{1,2} ?[aApP]\.[mM]\.'

vale/vale/styles/Google/Acronyms.yml

Deleted
deleted file mode 100644

+0 / −64 text lines

1extends: conditional
2message: "Spell out '%s', if it's unfamiliar to the audience."
3link: 'https://developers.google.com/style/abbreviations'
4level: suggestion
5ignorecase: false
6# Ensures that the existence of 'first' implies the existence of 'second'.
7first: '\b([A-Z]{3,5})\b'
8second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{3,5})\)'
9# ... with the exception of these:
10exceptions:
11 - API
12 - ASP
13 - CLI
14 - CPU
15 - CSS
16 - CSV
17 - DEBUG
18 - DOM
19 - DPI
20 - FAQ
21 - GCC
22 - GDB
23 - GET
24 - GPU
25 - GTK
26 - GUI
27 - HTML
28 - HTTP
29 - HTTPS
30 - IDE
31 - JAR
32 - JSON
33 - JSX
34 - LESS
35 - LLDB
36 - NET
37 - NOTE
38 - NVDA
39 - OSS
40 - PATH
41 - PDF
42 - PHP
43 - POST
44 - RAM
45 - REPL
46 - RSA
47 - SCM
48 - SCSS
49 - SDK
50 - SQL
51 - SSH
52 - SSL
53 - SVG
54 - TBD
55 - TCP
56 - TODO
57 - URI
58 - URL
59 - USB
60 - UTF
61 - XML
62 - XSS
63 - YAML
64 - ZIP

vale/vale/styles/Google/Colons.yml

Deleted
deleted file mode 100644

+0 / −7 text lines

1extends: existence
2message: "'%s' should be in lowercase."
3link: 'https://developers.google.com/style/colons'
4nonword: true
5level: warning
6tokens:
7 - ':\s[A-Z]'

vale/vale/styles/Google/Contractions.yml

Deleted
deleted file mode 100644

+0 / −30 text lines

1extends: substitution
2message: "Feel free to use '%s' instead of '%s'."
3link: 'https://developers.google.com/style/contractions'
4level: suggestion
5ignorecase: true
6action:
7 name: replace
8swap:
9 are not: aren't
10 cannot: can't
11 could not: couldn't
12 did not: didn't
13 do not: don't
14 does not: doesn't
15 has not: hasn't
16 have not: haven't
17 how is: how's
18 is not: isn't
19 it is: it's
20 should not: shouldn't
21 that is: that's
22 they are: they're
23 was not: wasn't
24 we are: we're
25 we have: we've
26 were not: weren't
27 what is: what's
28 when is: when's
29 where is: where's
30 will not: won't

vale/vale/styles/Google/DateFormat.yml

Deleted
deleted file mode 100644

+0 / −9 text lines

1extends: existence
2message: "Use 'July 31, 2016' format, not '%s'."
3link: 'https://developers.google.com/style/dates-times'
4ignorecase: true
5level: error
6nonword: true
7tokens:
8 - '\d{1,2}(?:\.|/)\d{1,2}(?:\.|/)\d{4}'
9 - '\d{1,2} (?:Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)|May|Jun(?:e)|Jul(?:y)|Aug(?:ust)|Sep(?:tember)?|Oct(?:ober)|Nov(?:ember)?|Dec(?:ember)?) \d{4}'

vale/vale/styles/Google/Ellipses.yml

Deleted
deleted file mode 100644

+0 / −9 text lines

1extends: existence
2message: "In general, don't use an ellipsis."
3link: 'https://developers.google.com/style/ellipses'
4nonword: true
5level: warning
6action:
7 name: remove
8tokens:
9 - '\.\.\.'

vale/vale/styles/Google/EmDash.yml

Deleted
deleted file mode 100644

+0 / −12 text lines

1extends: existence
2message: "Don't put a space before or after a dash."
3link: 'https://developers.google.com/style/dashes'
4nonword: true
5level: error
6action:
7 name: edit
8 params:
9 - remove
10 - ' '
11tokens:
12 - '\s[—–]\s'

vale/vale/styles/Google/EnDash.yml

Deleted
deleted file mode 100644

+0 / −13 text lines

1extends: existence
2message: "Use an em dash ('—') instead of '–'."
3link: 'https://developers.google.com/style/dashes'
4nonword: true
5level: error
6action:
7 name: edit
8 params:
9 - replace
10 - '-'
11 - '—'
12tokens:
13 - '–'

vale/vale/styles/Google/Exclamation.yml

Deleted
deleted file mode 100644

+0 / −7 text lines

1extends: existence
2message: "Don't use exclamation points in text."
3link: 'https://developers.google.com/style/exclamation-points'
4nonword: true
5level: error
6tokens:
7 - '\w!(?:\s|$)'

vale/vale/styles/Google/FirstPerson.yml

Deleted
deleted file mode 100644

+0 / −13 text lines

1extends: existence
2message: "Avoid first-person pronouns such as '%s'."
3link: 'https://developers.google.com/style/pronouns#personal-pronouns'
4ignorecase: true
5level: warning
6nonword: true
7tokens:
8 - (?:^|\s)I\s
9 - (?:^|\s)I,\s
10 - \bI'm\b
11 - \bme\b
12 - \bmy\b
13 - \bmine\b

vale/vale/styles/Google/Gender.yml

Deleted
deleted file mode 100644

+0 / −9 text lines

1extends: existence
2message: "Don't use '%s' as a gender-neutral pronoun."
3link: 'https://developers.google.com/style/pronouns#gender-neutral-pronouns'
4level: error
5ignorecase: true
6tokens:
7 - he/she
8 - s/he
9 - \(s\)he

vale/vale/styles/Google/GenderBias.yml

Deleted
deleted file mode 100644

+0 / −45 text lines

1extends: substitution
2message: "Consider using '%s' instead of '%s'."
3link: 'https://developers.google.com/style/inclusive-documentation'
4ignorecase: true
5level: error
6swap:
7 (?:alumna|alumnus): graduate
8 (?:alumnae|alumni): graduates
9 air(?:m[ae]n|wom[ae]n): pilot(s)
10 anchor(?:m[ae]n|wom[ae]n): anchor(s)
11 authoress: author
12 camera(?:m[ae]n|wom[ae]n): camera operator(s)
13 chair(?:m[ae]n|wom[ae]n): chair(s)
14 congress(?:m[ae]n|wom[ae]n): member(s) of congress
15 door(?:m[ae]|wom[ae]n): concierge(s)
16 draft(?:m[ae]n|wom[ae]n): drafter(s)
17 fire(?:m[ae]n|wom[ae]n): firefighter(s)
18 fisher(?:m[ae]n|wom[ae]n): fisher(s)
19 fresh(?:m[ae]n|wom[ae]n): first-year student(s)
20 garbage(?:m[ae]n|wom[ae]n): waste collector(s)
21 lady lawyer: lawyer
22 ladylike: courteous
23 landlord: building manager
24 mail(?:m[ae]n|wom[ae]n): mail carriers
25 man and wife: husband and wife
26 man enough: strong enough
27 mankind: human kind
28 manmade: manufactured
29 manpower: personnel
30 men and girls: men and women
31 middle(?:m[ae]n|wom[ae]n): intermediary
32 news(?:m[ae]n|wom[ae]n): journalist(s)
33 ombuds(?:man|woman): ombuds
34 oneupmanship: upstaging
35 poetess: poet
36 police(?:m[ae]n|wom[ae]n): police officer(s)
37 repair(?:m[ae]n|wom[ae]n): technician(s)
38 sales(?:m[ae]n|wom[ae]n): salesperson or sales people
39 service(?:m[ae]n|wom[ae]n): soldier(s)
40 steward(?:ess)?: flight attendant
41 tribes(?:m[ae]n|wom[ae]n): tribe member(s)
42 waitress: waiter
43 woman doctor: doctor
44 woman scientist[s]?: scientist(s)
45 work(?:m[ae]n|wom[ae]n): worker(s)

vale/vale/styles/Google/HeadingPunctuation.yml

Deleted
deleted file mode 100644

+0 / −13 text lines

1extends: existence
2message: "Don't put a period at the end of a heading."
3link: 'https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings'
4nonword: true
5level: warning
6scope: heading
7action:
8 name: edit
9 params:
10 - remove
11 - '.'
12tokens:
13 - '[a-z0-9][.](?:\s|$)'

vale/vale/styles/Google/Headings.yml

Deleted
deleted file mode 100644

+0 / −26 text lines

1extends: capitalization
2message: "'%s' should use sentence-style capitalization."
3link: 'https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings'
4level: warning
5scope: heading
6match: $sentence
7exceptions:
8 - Azure
9 - CLI
10 - Code
11 - Cosmos
12 - Docker
13 - Emmet
14 - I
15 - Kubernetes
16 - Linux
17 - macOS
18 - Marketplace
19 - MongoDB
20 - REPL
21 - Studio
22 - TypeScript
23 - URLs
24 - Visual
25 - VS
26 - Windows

vale/vale/styles/Google/Latin.yml

Deleted
deleted file mode 100644

+0 / −11 text lines

1extends: substitution
2message: "Use '%s' instead of '%s'."
3link: 'https://developers.google.com/style/abbreviations'
4ignorecase: true
5level: error
6nonword: true
7action:
8 name: replace
9swap:
10 '\b(?:eg|e\.g\.)[\s,]': for example
11 '\b(?:ie|i\.e\.)[\s,]': that is

vale/vale/styles/Google/LyHyphens.yml

Deleted
deleted file mode 100644

+0 / −14 text lines

1extends: existence
2message: "'%s' doesn't need a hyphen."
3link: 'https://developers.google.com/style/hyphens'
4level: error
5ignorecase: false
6nonword: true
7action:
8 name: edit
9 params:
10 - replace
11 - '-'
12 - ' '
13tokens:
14 - '\s[^\s-]+ly-'

vale/vale/styles/Google/OptionalPlurals.yml

Deleted
deleted file mode 100644

+0 / −12 text lines

1extends: existence
2message: "Don't use plurals in parentheses such as in '%s'."
3link: 'https://developers.google.com/style/plurals-parentheses'
4level: error
5nonword: true
6action:
7 name: edit
8 params:
9 - remove
10 - '(s)'
11tokens:
12 - '\b\w+\(s\)'

vale/vale/styles/Google/Ordinal.yml

Deleted
deleted file mode 100644

+0 / −7 text lines

1extends: existence
2message: "Spell out all ordinal numbers ('%s') in text."
3link: 'https://developers.google.com/style/numbers'
4level: error
5nonword: true
6tokens:
7 - \d+(?:st|nd|rd|th)

vale/vale/styles/Google/OxfordComma.yml

Deleted
deleted file mode 100644

+0 / −7 text lines

1extends: existence
2message: "Use the Oxford comma in '%s'."
3link: 'https://developers.google.com/style/commas'
4scope: sentence
5level: warning
6tokens:
7 - '(?:[^,]+,){1,}\s\w+\s(?:and|or)'

vale/vale/styles/Google/Parens.yml

Deleted
deleted file mode 100644

+0 / −7 text lines

1extends: existence
2message: "Use parentheses judiciously."
3link: 'https://developers.google.com/style/parentheses'
4nonword: true
5level: suggestion
6tokens:
7 - '\(.+\)'

vale/vale/styles/Google/Passive.yml

Deleted
deleted file mode 100644

+0 / −184 text lines

1extends: existence
2link: 'https://developers.google.com/style/voice'
3message: "In general, use active voice instead of passive voice ('%s')."
4ignorecase: true
5level: suggestion
6raw:
7 - \b(am|are|were|being|is|been|was|be)\b\s*
8tokens:
9 - '[\w]+ed'
10 - awoken
11 - beat
12 - become
13 - been
14 - begun
15 - bent
16 - beset
17 - bet
18 - bid
19 - bidden
20 - bitten
21 - bled
22 - blown
23 - born
24 - bought
25 - bound
26 - bred
27 - broadcast
28 - broken
29 - brought
30 - built
31 - burnt
32 - burst
33 - cast
34 - caught
35 - chosen
36 - clung
37 - come
38 - cost
39 - crept
40 - cut
41 - dealt
42 - dived
43 - done
44 - drawn
45 - dreamt
46 - driven
47 - drunk
48 - dug
49 - eaten
50 - fallen
51 - fed
52 - felt
53 - fit
54 - fled
55 - flown
56 - flung
57 - forbidden
58 - foregone
59 - forgiven
60 - forgotten
61 - forsaken
62 - fought
63 - found
64 - frozen
65 - given
66 - gone
67 - gotten
68 - ground
69 - grown
70 - heard
71 - held
72 - hidden
73 - hit
74 - hung
75 - hurt
76 - kept
77 - knelt
78 - knit
79 - known
80 - laid
81 - lain
82 - leapt
83 - learnt
84 - led
85 - left
86 - lent
87 - let
88 - lighted
89 - lost
90 - made
91 - meant
92 - met
93 - misspelt
94 - mistaken
95 - mown
96 - overcome
97 - overdone
98 - overtaken
99 - overthrown
100 - paid
101 - pled
102 - proven
103 - put
104 - quit
105 - read
106 - rid
107 - ridden
108 - risen
109 - run
110 - rung
111 - said
112 - sat
113 - sawn
114 - seen
115 - sent
116 - set
117 - sewn
118 - shaken
119 - shaven
120 - shed
121 - shod
122 - shone
123 - shorn
124 - shot
125 - shown
126 - shrunk
127 - shut
128 - slain
129 - slept
130 - slid
131 - slit
132 - slung
133 - smitten
134 - sold
135 - sought
136 - sown
137 - sped
138 - spent
139 - spilt
140 - spit
141 - split
142 - spoken
143 - spread
144 - sprung
145 - spun
146 - stolen
147 - stood
148 - stridden
149 - striven
150 - struck
151 - strung
152 - stuck
153 - stung
154 - stunk
155 - sung
156 - sunk
157 - swept
158 - swollen
159 - sworn
160 - swum
161 - swung
162 - taken
163 - taught
164 - thought
165 - thrived
166 - thrown
167 - thrust
168 - told
169 - torn
170 - trodden
171 - understood
172 - upheld
173 - upset
174 - wed
175 - wept
176 - withheld
177 - withstood
178 - woken
179 - won
180 - worn
181 - wound
182 - woven
183 - written
184 - wrung

vale/vale/styles/Google/Periods.yml

Deleted
deleted file mode 100644

+0 / −7 text lines

1extends: existence
2message: "Don't use periods with acronyms or initialisms such as '%s'."
3link: 'https://developers.google.com/style/abbreviations'
4level: error
5nonword: true
6tokens:
7 - '\b(?:[A-Z]\.){3,}'

vale/vale/styles/Google/Quotes.yml

Deleted
deleted file mode 100644

+0 / −7 text lines

1extends: existence
2message: "Commas and periods go inside quotation marks."
3link: 'https://developers.google.com/style/quotation-marks'
4level: error
5nonword: true
6tokens:
7 - '"[^"]+"[.,?]'

vale/vale/styles/Google/Ranges.yml

Deleted
deleted file mode 100644

+0 / −7 text lines

1extends: existence
2message: "Don't add words such as 'from' or 'between' to describe a range of numbers."
3link: 'https://developers.google.com/style/hyphens'
4nonword: true
5level: warning
6tokens:
7 - '(?:from|between)\s\d+\s?-\s?\d+'

vale/vale/styles/Google/Semicolons.yml

Deleted
deleted file mode 100644

+0 / −8 text lines

1extends: existence
2message: "Use semicolons judiciously."
3link: 'https://developers.google.com/style/semicolons'
4nonword: true
5scope: sentence
6level: suggestion
7tokens:
8 - ';'

vale/vale/styles/Google/Slang.yml

Deleted
deleted file mode 100644

+0 / −11 text lines

1extends: existence
2message: "Don't use internet slang abbreviations such as '%s'."
3link: 'https://developers.google.com/style/abbreviations'
4ignorecase: true
5level: error
6tokens:
7 - 'tl;dr'
8 - ymmv
9 - rtfm
10 - imo
11 - fwiw

vale/vale/styles/Google/Spacing.yml

Deleted
deleted file mode 100644

+0 / −8 text lines

1extends: existence
2message: "'%s' should have one space."
3link: 'https://developers.google.com/style/sentence-spacing'
4level: error
5nonword: true
6tokens:
7 - '[a-z][.?!] {2,}[A-Z]'
8 - '[a-z][.?!][A-Z]'

vale/vale/styles/Google/Spelling.yml

Deleted
deleted file mode 100644

+0 / −8 text lines

1extends: existence
2message: "In general, use American spelling instead of '%s'."
3link: 'https://developers.google.com/style/spelling'
4ignorecase: true
5level: warning
6tokens:
7 - '(?:\w+)nised?'
8 - '(?:\w+)logue'

vale/vale/styles/Google/Units.yml

Deleted
deleted file mode 100644

+0 / −8 text lines

1extends: existence
2message: "Put a nonbreaking space between the number and the unit in '%s'."
3link: 'https://developers.google.com/style/units-of-measure'
4nonword: true
5level: error
6tokens:
7 - \d+(?:B|kB|MB|GB|TB)
8 - \d+(?:ns|ms|s|min|h|d)

vale/vale/styles/Google/We.yml

Deleted
deleted file mode 100644

+0 / −11 text lines

1extends: existence
2message: "Try to avoid using first-person plural like '%s'."
3link: 'https://developers.google.com/style/pronouns#personal-pronouns'
4level: warning
5ignorecase: true
6tokens:
7 - we
8 - we'(?:ve|re)
9 - ours?
10 - us
11 - let's

vale/vale/styles/Google/Will.yml

Deleted
deleted file mode 100644

+0 / −7 text lines

1extends: existence
2message: "Avoid using '%s'."
3link: 'https://developers.google.com/style/tense'
4ignorecase: true
5level: warning
6tokens:
7 - will

vale/vale/styles/Google/WordList.yml

Deleted
deleted file mode 100644

+0 / −80 text lines

1extends: substitution
2message: "Use '%s' instead of '%s'."
3link: 'https://developers.google.com/style/word-list'
4level: warning
5ignorecase: false
6action:
7 name: replace
8swap:
9 '(?:API Console|dev|developer) key': API key
10 '(?:cell ?phone|smart ?phone)': phone|mobile phone
11 '(?:dev|developer|APIs) console': API console
12 '(?:e-mail|Email|E-mail)': email
13 '(?:file ?path|path ?name)': path
14 '(?:kill|terminate|abort)': stop|exit|cancel|end
15 '(?:OAuth ?2|Oauth)': OAuth 2.0
16 '(?:ok|Okay)': OK|okay
17 '(?:WiFi|wifi)': Wi-Fi
18 '[\.]+apk': APK
19 '3\-D': 3D
20 'Google (?:I\-O|IO)': Google I/O
21 'tap (?:&|and) hold': touch & hold
22 'un(?:check|select)': clear
23 above: preceding
24 account name: username
25 action bar: app bar
26 admin: administrator
27 Ajax: AJAX
28 Android device: Android-powered device
29 android: Android
30 API explorer: APIs Explorer
31 application: app
32 approx\.: approximately
33 authN: authentication
34 authZ: authorization
35 autoupdate: automatically update
36 cellular data: mobile data
37 cellular network: mobile network
38 chapter: documents|pages|sections
39 check box: checkbox
40 check: select
41 CLI: command-line tool
42 click on: click|click in
43 Cloud: Google Cloud Platform|GCP
44 Container Engine: Kubernetes Engine
45 content type: media type
46 curated roles: predefined roles
47 data are: data is
48 Developers Console: Google API Console|API Console
49 disabled?: turn off|off
50 ephemeral IP address: ephemeral external IP address
51 fewer data: less data
52 file name: filename
53 firewalls: firewall rules
54 functionality: capability|feature
55 Google account: Google Account
56 Google accounts: Google Accounts
57 Googling: search with Google
58 grayed-out: unavailable
59 HTTPs: HTTPS
60 in order to: to
61 ingest: import|load
62 k8s: Kubernetes
63 long press: touch & hold
64 network IP address: internal IP address
65 omnibox: address bar
66 open-source: open source
67 overview screen: recents screen
68 regex: regular expression
69 SHA1: SHA-1|HAS-SHA1
70 sign into: sign in to
71 sign-?on: single sign-on
72 static IP address: static external IP address
73 stylesheet: style sheet
74 synch: sync
75 tablename: table name
76 tablet: device
77 touch: tap
78 url: URL
79 vs\.: versus
80 World Wide Web: web

vale/vale/styles/Google/meta.json

Deleted
deleted file mode 100644

+0 / −4 text lines

1{
2 "feed": "https://github.com/errata-ai/Google/releases.atom",
3 "vale_version": ">=1.0.0"
4}

vale/vale/styles/Google/vocab.txt

Deleted
deleted file mode 100644

No text changes.

vale/vale/styles/Joblint/Acronyms.yml

Deleted
deleted file mode 100644

+0 / −10 text lines

1extends: substitution
2message: Use '%s' instead of '%s'
3description: "Tech people know their acronyms; you come across as not very tech-savvy if you expand them."
4ignorecase: true
5level: warning
6action:
7 name: replace
8swap:
9 'cascading[ -]?style[ -]?sheets': CSS
10 'hyper[ -]?text(?:[ -]?mark[ -]?up(?:[ -]?language)?)?': HTML

vale/vale/styles/Joblint/Benefits.yml

Deleted
deleted file mode 100644

+0 / −26 text lines

1extends: existence
2message: "Avoid using '%s'"
3description: "Benefits such as '%s' are not bad in themselves, but their appearance in a job post often disguises the fact that there are few real benefits to working for a company."
4ignorecase: true
5level: warning
6tokens:
7 - 'ales?'
8 - 'beers?'
9 - 'brewskis?'
10 - 'coffee'
11 - '(?:foos|fuss)[ -]*ball'
12 - 'happy[ -]*hours?'
13 - 'keg(erator)?s?'
14 - 'lagers?'
15 - 'nerf[ -]*guns?'
16 - 'ping[ -]*pong?'
17 - 'pints?'
18 - 'pizzas?'
19 - 'play\\s*stations?'
20 - 'pool[ -]*table|pool'
21 - 'rock[ -]*walls?'
22 - 'table[ -]*football'
23 - 'table[ -]*tennis'
24 - 'wiis?'
25 - 'xbox(?:es|s)?'
26 - 'massages?'

vale/vale/styles/Joblint/Bro.yml

Deleted
deleted file mode 100644

+0 / −13 text lines

1extends: existence
2message: "Avoid using '%s'"
3description: "Bro culture terminology can really reduce the number of people likely to show interest."
4ignorecase: true
5level: error
6tokens:
7 - 'brogramm(?:er|ers|ing)'
8 - 'crank'
9 - 'crush'
10 - 'hard[ -]*core'
11 - 'hella'
12 - 'mak(?:e|ing) it rain'
13 - 'skillz'

vale/vale/styles/Joblint/Competitive.yml

Deleted
deleted file mode 100644

+0 / −17 text lines

1extends: existence
2message: "Avoid using '%s'"
3description: "Competition can be healthy, but for a lot of people a heavily competitive environment can be a strain."
4ignorecase: true
5level: suggestion
6tokens:
7 - 'compete'
8 - 'competition'
9 - 'competitive'
10 - 'cutting[ -]edge'
11 - 'fail'
12 - 'fore[ -]*front'
13 - 'super[ -]*stars?'
14 - 'the best'
15 - 'reach the top'
16 - 'top of .{2,8} (?:game|class)'
17 - 'win'

vale/vale/styles/Joblint/Derogatory.yml

Deleted
deleted file mode 100644

+0 / −15 text lines

1extends: existence
2message: "Avoid using '%s'"
3description: "When you use '%s,' you're being discriminatory."
4ignorecase: true
5level: error
6tokens:
7 - 'bia?tch(?:es)?'
8 - 'bimbos?'
9 - 'hoes?'
10 - 'hunks?'
11 - 'milfs?'
12 - 'slags?'
13 - 'sluts?'
14 - 'stallions?'
15 - 'studs?'

vale/vale/styles/Joblint/DevEnv.yml

Deleted
deleted file mode 100644

+0 / −17 text lines

1extends: existence
2message: "Don't specify a development environment unless absolutely necessary."
3ignorecase: true
4level: suggestion
5tokens:
6 - 'atom'
7 - 'bb[ -]*edit'
8 - 'dream[ -]*weaver'
9 - 'eclipse'
10 - 'emacs'
11 - 'net[ -]*beans'
12 - 'note[ -]*pad'
13 - 'sublime[ -]*text'
14 - 'text[ -]*wrangler'
15 - 'text[ -]*mate'
16 - 'vim?'
17 - 'visual[ -]*studio'

vale/vale/styles/Joblint/DumbTitles.yml

Deleted
deleted file mode 100644

+0 / −13 text lines

1extends: existence
2message: "Avoid using '%s'"
3description: "Referring to tech people as '%s' devalues the work that they do and shows a lack of respect and professionalism."
4ignorecase: true
5level: warning
6tokens:
7 - 'gurus?'
8 - 'hero(?:es|ic)?'
9 - 'ninjas?'
10 - 'rock[ -]*stars?'
11 - 'super[ -]*stars?'
12 - 'badass(?:es)?'
13 - 'BAMF'

vale/vale/styles/Joblint/Gendered.yml

Deleted
deleted file mode 100644

+0 / −40 text lines

1extends: existence
2message: "Avoid using '%s'"
3description: "Use of '%s' could indicate that you're discriminating in favour of a certain gender."
4ignorecase: true
5level: error
6tokens:
7 - 'boys?'
8 - 'bros?'
9 - 'broth(?:a|er)s?'
10 - 'chicks?'
11 - 'dads?'
12 - 'dudes?'
13 - 'fathers?'
14 - 'females?'
15 - 'gentlem[ae]n'
16 - 'girls?'
17 - 'grandfathers?'
18 - 'grandmas?'
19 - 'grandmothers?'
20 - 'grandpas?'
21 - 'gran'
22 - 'grann(?:y|ies)'
23 - 'guys?'
24 - 'husbands?'
25 - 'lad(y|ies)?'
26 - 'm[ae]n'
27 - 'm[ou]ms?'
28 - 'males?'
29 - 'momm(?:y|ies)'
30 - 'mommas?'
31 - 'mothers?'
32 - 'papas?'
33 - 'sist(?:a|er)s?'
34 - 'wi(?:fe|ves)'
35 - 'wom[ae]n'
36 - he
37 - her
38 - him
39 - his
40 - she

vale/vale/styles/Joblint/Hair.yml

Deleted
deleted file mode 100644

+0 / −8 text lines

1extends: existence
2message: "Avoid using '%s'"
3description: "The use of '%s' indicates that you're only looking for male developers."
4ignorecase: true
5level: error
6tokens:
7 - 'beard(?:ed|s|y)?'
8 - 'grizzl(?:ed|y)'

vale/vale/styles/Joblint/LegacyTech.yml

Deleted
deleted file mode 100644

+0 / −15 text lines

1extends: existence
2message: "Avoid using '%s'"
3description: "Legacy technologies can reduce the number of people interested in a job."
4ignorecase: true
5level: suggestion
6tokens:
7 - 'cobol'
8 - 'cvs'
9 - 'front[ -]*page'
10 - 'rcs'
11 - 'sccs'
12 - 'source[ -]*safe'
13 - 'vb\\s*6'
14 - 'visual[ -]*basic\\s*6'
15 - 'vbscript'

vale/vale/styles/Joblint/Meritocracy.yml

Deleted
deleted file mode 100644

+0 / −6 text lines

1extends: existence
2message: "Reevaluate the use of '%s'"
3ignorecase: true
4level: suggestion
5tokens:
6 - 'meritocra(?:cy|cies|tic)'

vale/vale/styles/Joblint/Profanity.yml

Deleted
deleted file mode 100644

+0 / −13 text lines

1extends: existence
2message: "Remove '%s'"
3ignorecase: true
4level: warning
5tokens:
6 - 'bloody'
7 - 'bugger'
8 - 'cunt'
9 - 'damn'
10 - 'fuck(?:er|ing)?'
11 - 'piss(?:ing)?'
12 - 'shit'
13 - 'motherfuck(?:ers?|ing)'

vale/vale/styles/Joblint/README.md

Deleted
deleted file mode 100644

+0 / −25 text lines

1Based on [Joblint](https://github.com/rowanmanning/joblint).
2
3> Test tech job posts for issues with sexism, culture, expectations, and recruiter fails.
4
5```
6Copyright (c) 2015, Rowan Manning
7
8Permission is hereby granted, free of charge, to any person obtaining a copy
9of this software and associated documentation files (the "Software"), to deal
10in the Software without restriction, including without limitation the rights
11to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12copies of the Software, and to permit persons to whom the Software is
13furnished to do so, subject to the following conditions:
15The above copyright notice and this permission notice shall be included in
16all copies or substantial portions of the Software.
18THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24THE SOFTWARE.
25```

vale/vale/styles/Joblint/Reassure.yml

Deleted
deleted file mode 100644

+0 / −8 text lines

1extends: existence
2message: "Avoid using '%s'"
3description: "Something feels off when you need to reassure someone of something that should definitely not be an issue in any workplace."
4ignorecase: true
5level: suggestion
6tokens:
7 - 'drama[ -]*free'
8 - 'stress[ -]*free'

vale/vale/styles/Joblint/Sexualised.yml

Deleted
deleted file mode 100644

+0 / −10 text lines

1extends: existence
2message: "Avoid using '%s'"
3description: "Terms like '%s' are often used if the person writing a post doesn't know what they are talking about."
4ignorecase: true
5level: warning
6tokens:
7 - gay for
8 - sexy
9 - hawt
10 - phat

vale/vale/styles/Joblint/Starter.yml

Deleted
deleted file mode 100644

+0 / −9 text lines

1extends: existence
2message: "Avoid using '%s'"
3description: "Terms like '%s' and others can indicate that the person writing a job post is unaware of the time and effort involved in preparing a new starter for work."
4ignorecase: true
5level: suggestion
6tokens:
7 - 'hit[ -]the[ -]ground[ -]running'
8 - 'juggle'
9 - 'tight deadlines?'

vale/vale/styles/Joblint/TechTerms.yml

Deleted
deleted file mode 100644

+0 / −9 text lines

1extends: substitution
2message: Use '%s' instead of '%s'
3ignorecase: true
4level: error
5action:
6 name: replace
7swap:
8 'java[ -]?scripts?': JavaScript
9 ruby on rail: Ruby on Rails

vale/vale/styles/Joblint/Visionary.yml

Deleted
deleted file mode 100644

+0 / −15 text lines

1extends: existence
2message: "Avoid using '%s'"
3description: "Terms like '%s' often indicate that a non technical person (perhaps a CEO or stakeholder) has been involved in writing the post."
4ignorecase: true
5level: warning
6tokens:
7 - 'blue[ -]*sk(?:y|ies)'
8 - 'enlighten(?:ed|ing)?'
9 - 'green[ -]*fields?'
10 - 'incentivi[sz]e'
11 - 'paradigm'
12 - 'producti[sz]e'
13 - 'reach(?:ed|ing)? out'
14 - 'synerg(?:y|ize|ise)'
15 - 'visionar(?:y|ies)'

vale/vale/styles/Joblint/meta.json

Deleted
deleted file mode 100644

+0 / −4 text lines

1{
2 "feed": "https://github.com/errata-ai/Joblint/releases.atom",
3 "vale_version": ">=1.0.0"
4}

vale/vale/styles/Microsoft/AMPM.yml

Deleted
deleted file mode 100644

+0 / −9 text lines

1extends: existence
2message: Use 'AM' or 'PM' (preceded by a space).
3link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/date-time-terms
4level: error
5nonword: true
6tokens:
7 - '\d{1,2}[AP]M'
8 - '\d{1,2} ?[ap]m'
9 - '\d{1,2} ?[aApP]\.[mM]\.'

vale/vale/styles/Microsoft/Accessibility.yml

Deleted
deleted file mode 100644

+0 / −25 text lines

1extends: existence
2message: "Don't use language (such as '%s') that defines people by their disability."
3link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/accessibility-terms
4level: suggestion
5ignorecase: true
6tokens:
7 - a victim of
8 - able-bodied
9 - affected by
10 - an epileptic
11 - crippled
12 - disabled
13 - dumb
14 - handicapped
15 - handicaps
16 - healthy
17 - lame
18 - maimed
19 - missing a limb
20 - mute
21 - normal
22 - sight-impaired
23 - stricken with
24 - suffers from
25 - vision-impaired

vale/vale/styles/Microsoft/Acronyms.yml

Deleted
deleted file mode 100644

+0 / −64 text lines

1extends: conditional
2message: "'%s' has no definition."
3link: https://docs.microsoft.com/en-us/style-guide/acronyms
4level: suggestion
5ignorecase: false
6# Ensures that the existence of 'first' implies the existence of 'second'.
7first: '\b([A-Z]{3,5})\b'
8second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{3,5})\)'
9# ... with the exception of these:
10exceptions:
11 - API
12 - ASP
13 - CLI
14 - CPU
15 - CSS
16 - CSV
17 - DEBUG
18 - DOM
19 - DPI
20 - FAQ
21 - GCC
22 - GDB
23 - GET
24 - GPU
25 - GTK
26 - GUI
27 - HTML
28 - HTTP
29 - HTTPS
30 - IDE
31 - JAR
32 - JSON
33 - JSX
34 - LESS
35 - LLDB
36 - NET
37 - NOTE
38 - NVDA
39 - OSS
40 - PATH
41 - PDF
42 - PHP
43 - POST
44 - RAM
45 - REPL
46 - RSA
47 - SCM
48 - SCSS
49 - SDK
50 - SQL
51 - SSH
52 - SSL
53 - SVG
54 - TBD
55 - TCP
56 - TODO
57 - URI
58 - URL
59 - USB
60 - UTF
61 - XML
62 - XSS
63 - YAML
64 - ZIP

vale/vale/styles/Microsoft/Adverbs.yml

Deleted
deleted file mode 100644

+0 / −270 text lines

1extends: existence
2message: "Consider removing '%s'."
3link: https://docs.microsoft.com/en-us/style-guide/word-choice/use-simple-words-concise-sentences
4ignorecase: true
5level: warning
6action:
7 name: remove
8tokens:
9 - abnormally
10 - absentmindedly
11 - accidentally
12 - adventurously
13 - anxiously
14 - arrogantly
15 - awkwardly
16 - bashfully
17 - beautifully
18 - bitterly
19 - bleakly
20 - blindly
21 - blissfully
22 - boastfully
23 - boldly
24 - bravely
25 - briefly
26 - brightly
27 - briskly
28 - broadly
29 - busily
30 - calmly
31 - carefully
32 - carelessly
33 - cautiously
34 - cheerfully
35 - cleverly
36 - closely
37 - coaxingly
38 - colorfully
39 - continually
40 - coolly
41 - courageously
42 - crossly
43 - cruelly
44 - curiously
45 - daintily
46 - dearly
47 - deceivingly
48 - deeply
49 - defiantly
50 - deliberately
51 - delightfully
52 - diligently
53 - dimly
54 - doubtfully
55 - dreamily
56 - easily
57 - elegantly
58 - energetically
59 - enormously
60 - enthusiastically
61 - excitedly
62 - extremely
63 - fairly
64 - faithfully
65 - famously
66 - ferociously
67 - fervently
68 - fiercely
69 - fondly
70 - foolishly
71 - fortunately
72 - frankly
73 - frantically
74 - freely
75 - frenetically
76 - frightfully
77 - furiously
78 - generally
79 - generously
80 - gently
81 - gladly
82 - gleefully
83 - gracefully
84 - gratefully
85 - greatly
86 - greedily
87 - happily
88 - hastily
89 - healthily
90 - heavily
91 - helplessly
92 - honestly
93 - hopelessly
94 - hungrily
95 - innocently
96 - inquisitively
97 - intensely
98 - intently
99 - interestingly
100 - inwardly
101 - irritably
102 - jaggedly
103 - jealously
104 - jovially
105 - joyfully
106 - joyously
107 - jubilantly
108 - judgmentally
109 - justly
110 - keenly
111 - kiddingly
112 - kindheartedly
113 - knavishly
114 - knowingly
115 - knowledgeably
116 - lazily
117 - lightly
118 - limply
119 - lively
120 - loftily
121 - longingly
122 - loosely
123 - loudly
124 - lovingly
125 - loyally
126 - madly
127 - majestically
128 - meaningfully
129 - mechanically
130 - merrily
131 - miserably
132 - mockingly
133 - mortally
134 - mysteriously
135 - naturally
136 - nearly
137 - neatly
138 - nervously
139 - nicely
140 - noisily
141 - obediently
142 - obnoxiously
143 - oddly
144 - offensively
145 - optimistically
146 - overconfidently
147 - painfully
148 - partially
149 - patiently
150 - perfectly
151 - playfully
152 - politely
153 - poorly
154 - positively
155 - potentially
156 - powerfully
157 - promptly
158 - properly
159 - punctually
160 - quaintly
161 - queasily
162 - queerly
163 - questionably
164 - quickly
165 - quietly
166 - quirkily
167 - quizzically
168 - randomly
169 - rapidly
170 - rarely
171 - readily
172 - really
173 - reassuringly
174 - recklessly
175 - regularly
176 - reluctantly
177 - repeatedly
178 - reproachfully
179 - restfully
180 - righteously
181 - rightfully
182 - rigidly
183 - roughly
184 - rudely
185 - safely
186 - scarcely
187 - scarily
188 - searchingly
189 - sedately
190 - seemingly
191 - selfishly
192 - separately
193 - seriously
194 - shakily
195 - sharply
196 - sheepishly
197 - shrilly
198 - shyly
199 - silently
200 - sleepily
201 - slowly
202 - smoothly
203 - softly
204 - solemnly
205 - solidly
206 - speedily
207 - stealthily
208 - sternly
209 - strictly
210 - suddenly
211 - supposedly
212 - surprisingly
213 - suspiciously
214 - sweetly
215 - swiftly
216 - sympathetically
217 - tenderly
218 - tensely
219 - terribly
220 - thankfully
221 - thoroughly
222 - thoughtfully
223 - tightly
224 - tremendously
225 - triumphantly
226 - truthfully
227 - ultimately
228 - unabashedly
229 - unaccountably
230 - unbearably
231 - unethically
232 - unexpectedly
233 - unfortunately
234 - unimpressively
235 - unnaturally
236 - unnecessarily
237 - urgently
238 - usefully
239 - uselessly
240 - utterly
241 - vacantly
242 - vaguely
243 - vainly
244 - valiantly
245 - vastly
246 - verbally
247 - very
248 - viciously
249 - victoriously
250 - violently
251 - vivaciously
252 - voluntarily
253 - warmly
254 - weakly
255 - wearily
256 - wetly
257 - wholly
258 - wildly
259 - willfully
260 - wisely
261 - woefully
262 - wonderfully
263 - worriedly
264 - yawningly
265 - yearningly
266 - yieldingly
267 - youthfully
268 - zealously
269 - zestfully
270 - zestily

vale/vale/styles/Microsoft/Auto.yml

Deleted
deleted file mode 100644

+0 / −11 text lines

1extends: existence
2message: "In general, don't hyphenate '%s'."
3link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/a/auto
4ignorecase: true
5level: error
6action:
7 name: convert
8 params:
9 - simple
10tokens:
11 - 'auto-\w+'

vale/vale/styles/Microsoft/Avoid.yml

Deleted
deleted file mode 100644

+0 / −14 text lines

1extends: existence
2message: "Don't use '%s'."
3# See the A-Z word list
4link: https://docs.microsoft.com/en-us/style-guide
5ignorecase: true
6level: error
7tokens:
8 - abortion
9 - and so on
10 - app(?:lication)s? (?:developer|program)
11 - app(?:lication)? file
12 - backbone
13 - backend
14 - contiguous selection

vale/vale/styles/Microsoft/ComplexWords.yml

Deleted
deleted file mode 100644

+0 / −120 text lines

1extends: substitution
2message: "Consider using '%s' instead of '%s'."
3link: https://docs.microsoft.com/en-us/style-guide/word-choice/use-simple-words-concise-sentences
4ignorecase: true
5level: suggestion
6action:
7 name: replace
8swap:
9 "approximate(?:ly)?": about
10 abundance: plenty
11 accelerate: speed up
12 accentuate: stress
13 accompany: go with
14 accomplish: carry out|do
15 accorded: given
16 accordingly: so
17 accrue: add
18 accurate: right|exact
19 acquiesce: agree
20 acquire: get|buy
21 additional: more|extra
22 address: discuss
23 addressees: you
24 adjacent to: next to
25 adjustment: change
26 admissible: allowed
27 advantageous: helpful
28 advise: tell
29 aggregate: total
30 aircraft: plane
31 alleviate: ease
32 allocate: assign|divide
33 alternatively: or
34 alternatives: choices|options
35 ameliorate: improve
36 amend: change
37 anticipate: expect
38 apparent: clear|plain
39 ascertain: discover|find out
40 assistance: help
41 attain: meet
42 attempt: try
43 authorize: allow
44 belated: late
45 bestow: give
46 cease: stop|end
47 collaborate: work together
48 commence: begin
49 compensate: pay
50 component: part
51 comprise: form|include
52 concept: idea
53 concerning: about
54 confer: give|award
55 consequently: so
56 consolidate: merge
57 constitutes: forms
58 contains: has
59 convene: meet
60 demonstrate: show|prove
61 depart: leave
62 designate: choose
63 desire: want|wish
64 determine: decide|find
65 detrimental: bad|harmful
66 disclose: share|tell
67 discontinue: stop
68 disseminate: send|give
69 eliminate: end
70 elucidate: explain
71 employ: use
72 enclosed: inside|included
73 encounter: meet
74 endeavor: try
75 enumerate: count
76 equitable: fair
77 equivalent: equal
78 exclusively: only
79 expedite: hurry
80 facilitate: ease
81 females: women
82 finalize: complete|finish
83 frequently: often
84 identical: same
85 incorrect: wrong
86 indication: sign
87 initiate: start|begin
88 itemized: listed
89 jeopardize: risk
90 liaise: work with|partner with
91 maintain: keep|support
92 methodology: method
93 modify: change
94 monitor: check|watch
95 multiple: many
96 necessitate: cause
97 notify: tell
98 numerous: many
99 objective: aim|goal
100 obligate: bind|compel
101 optimum: best|most
102 permit: let
103 portion: part
104 possess: own
105 previous: earlier
106 previously: before
107 prioritize: rank
108 procure: buy
109 provide: give|offer
110 purchase: buy
111 relocate: move
112 solicit: request
113 state-of-the-art: latest
114 subsequent: later|next
115 substantial: large
116 sufficient: enough
117 terminate: end
118 transmit: send
119 utilization: use
120 utilize: use

vale/vale/styles/Microsoft/Contractions.yml

Deleted
deleted file mode 100644

+0 / −30 text lines

1extends: substitution
2message: "Use '%s' instead of '%s'."
3link: https://docs.microsoft.com/en-us/style-guide/word-choice/use-contractions
4level: error
5ignorecase: true
6action:
7 name: replace
8swap:
9 are not: aren't
10 cannot: can't
11 could not: couldn't
12 did not: didn't
13 do not: don't
14 does not: doesn't
15 has not: hasn't
16 have not: haven't
17 how is: how's
18 is not: isn't
19 it is: it's
20 should not: shouldn't
21 that is: that's
22 they are: they're
23 was not: wasn't
24 we are: we're
25 we have: we've
26 were not: weren't
27 what is: what's
28 when is: when's
29 where is: where's
30 will not: won't

vale/vale/styles/Microsoft/Dashes.yml

Deleted
deleted file mode 100644

+0 / −13 text lines

1extends: existence
2message: "Remove the spaces around '%s'."
3link: https://docs.microsoft.com/en-us/style-guide/punctuation/dashes-hyphens/emes
4ignorecase: true
5nonword: true
6level: error
7action:
8 name: edit
9 params:
10 - remove
11 - ' '
12tokens:
13 - '[—–]\s|\s[—–]'

vale/vale/styles/Microsoft/DateFormat.yml

Deleted
deleted file mode 100644

+0 / −8 text lines

1extends: existence
2message: Use 'July 31, 2016' format, not '%s'.
3link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/date-time-terms
4ignorecase: true
5level: error
6nonword: true
7tokens:
8 - '\d{1,2} (?:Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)|May|Jun(?:e)|Jul(?:y)|Aug(?:ust)|Sep(?:tember)?|Oct(?:ober)|Nov(?:ember)?|Dec(?:ember)?) \d{4}'

vale/vale/styles/Microsoft/DateNumbers.yml

Deleted
deleted file mode 100644

+0 / −40 text lines

1extends: existence
2message: "Don't use ordinal numbers for dates."
3link: https://docs.microsoft.com/en-us/style-guide/numbers#numbers-in-dates
4level: error
5nonword: true
6ignorecase: true
7raw:
8 - \b(?:Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)|May|Jun(?:e)|Jul(?:y)|Aug(?:ust)|Sep(?:tember)?|Oct(?:ober)|Nov(?:ember)?|Dec(?:ember)?)\b\s*
9tokens:
10 - first
11 - second
12 - third
13 - fourth
14 - fifth
15 - sixth
16 - seventh
17 - eighth
18 - ninth
19 - tenth
20 - eleventh
21 - twelfth
22 - thirteenth
23 - fourteenth
24 - fifteenth
25 - sixteenth
26 - seventeenth
27 - eighteenth
28 - nineteenth
29 - twentieth
30 - twenty-first
31 - twenty-second
32 - twenty-third
33 - twenty-fourth
34 - twenty-fifth
35 - twenty-sixth
36 - twenty-seventh
37 - twenty-eighth
38 - twenty-ninth
39 - thirtieth
40 - thirty-first

vale/vale/styles/Microsoft/DateOrder.yml

Deleted
deleted file mode 100644

+0 / −8 text lines

1extends: existence
2message: "Always spell out the name of the month."
3link: https://docs.microsoft.com/en-us/style-guide/numbers#numbers-in-dates
4ignorecase: true
5level: error
6nonword: true
7tokens:
8 - '\b\d{1,2}/\d{1,2}/(?:\d{4}|\d{2})\b'

vale/vale/styles/Microsoft/Ellipses.yml

Deleted
deleted file mode 100644

+0 / −9 text lines

1extends: existence
2message: "In general, don't use an ellipsis."
3link: https://docs.microsoft.com/en-us/style-guide/punctuation/ellipses
4nonword: true
5level: warning
6action:
7 name: remove
8tokens:
9 - '\.\.\.'

vale/vale/styles/Microsoft/FirstPerson.yml

Deleted
deleted file mode 100644

+0 / −13 text lines

1extends: existence
2message: "Use first person (such as '%s') sparingly."
3link: https://docs.microsoft.com/en-us/style-guide/grammar/person
4ignorecase: true
5level: warning
6nonword: true
7tokens:
8 - (?:^|\s)I\s
9 - (?:^|\s)I,\s
10 - \bI'm\b
11 - \bme\b
12 - \bmy\b
13 - \bmine\b

vale/vale/styles/Microsoft/Foreign.yml

Deleted
deleted file mode 100644

+0 / −12 text lines

1extends: substitution
2message: "Use '%s' instead of '%s'."
3link: https://docs.microsoft.com/en-us/style-guide/word-choice/use-us-spelling-avoid-non-english-words
4ignorecase: true
5level: error
6nonword: true
7action:
8 name: replace
9swap:
10 '\b(?:eg|e\.g\.)[\s,]': for example
11 '\b(?:ie|i\.e\.)[\s,]': that is

vale/vale/styles/Microsoft/Gender.yml

Deleted
deleted file mode 100644

+0 / −8 text lines

1extends: existence
2message: "Don't use '%s'."
3link: https://github.com/MicrosoftDocs/microsoft-style-guide/blob/master/styleguide/grammar/nouns-pronouns.md#pronouns-and-gender
4level: error
5ignorecase: true
6tokens:
7 - he/she
8 - s/he

vale/vale/styles/Microsoft/GenderBias.yml

Deleted
deleted file mode 100644

+0 / −44 text lines

1extends: substitution
2message: "Consider using '%s' instead of '%s'."
3ignorecase: true
4level: error
5swap:
6 (?:alumna|alumnus): graduate
7 (?:alumnae|alumni): graduates
8 air(?:m[ae]n|wom[ae]n): pilot(s)
9 anchor(?:m[ae]n|wom[ae]n): anchor(s)
10 authoress: author
11 camera(?:m[ae]n|wom[ae]n): camera operator(s)
12 chair(?:m[ae]n|wom[ae]n): chair(s)
13 congress(?:m[ae]n|wom[ae]n): member(s) of congress
14 door(?:m[ae]|wom[ae]n): concierge(s)
15 draft(?:m[ae]n|wom[ae]n): drafter(s)
16 fire(?:m[ae]n|wom[ae]n): firefighter(s)
17 fisher(?:m[ae]n|wom[ae]n): fisher(s)
18 fresh(?:m[ae]n|wom[ae]n): first-year student(s)
19 garbage(?:m[ae]n|wom[ae]n): waste collector(s)
20 lady lawyer: lawyer
21 ladylike: courteous
22 landlord: building manager
23 mail(?:m[ae]n|wom[ae]n): mail carriers
24 man and wife: husband and wife
25 man enough: strong enough
26 mankind: human kind
27 manmade: manufactured
28 manpower: personnel
29 men and girls: men and women
30 middle(?:m[ae]n|wom[ae]n): intermediary
31 news(?:m[ae]n|wom[ae]n): journalist(s)
32 ombuds(?:man|woman): ombuds
33 oneupmanship: upstaging
34 poetess: poet
35 police(?:m[ae]n|wom[ae]n): police officer(s)
36 repair(?:m[ae]n|wom[ae]n): technician(s)
37 sales(?:m[ae]n|wom[ae]n): salesperson or sales people
38 service(?:m[ae]n|wom[ae]n): soldier(s)
39 steward(?:ess)?: flight attendant
40 tribes(?:m[ae]n|wom[ae]n): tribe member(s)
41 waitress: waiter
42 woman doctor: doctor
43 woman scientist[s]?: scientist(s)
44 work(?:m[ae]n|wom[ae]n): worker(s)

vale/vale/styles/Microsoft/GeneralURL.yml

Deleted
deleted file mode 100644

+0 / −11 text lines

1extends: existence
2message: "For a general audience, use 'address' rather than 'URL'."
3link: https://docs.microsoft.com/en-us/style-guide/urls-web-addresses
4level: warning
5action:
6 name: replace
7 params:
8 - URL
9 - address
10tokens:
11 - URL

vale/vale/styles/Microsoft/HeadingAcronyms.yml

Deleted
deleted file mode 100644

+0 / −7 text lines

1extends: existence
2message: "Avoid using acronyms in a title or heading."
3link: https://docs.microsoft.com/en-us/style-guide/acronyms#be-careful-with-acronyms-in-titles-and-headings
4level: warning
5scope: heading
6tokens:
7 - '[A-Z]{2,4}'

vale/vale/styles/Microsoft/HeadingColons.yml

Deleted
deleted file mode 100644

+0 / −8 text lines

1extends: existence
2message: "Capitalize '%s'."
3link: https://docs.microsoft.com/en-us/style-guide/punctuation/colons
4nonword: true
5level: error
6scope: heading
7tokens:
8 - ':\s[a-z]'

vale/vale/styles/Microsoft/HeadingPunctuation.yml

Deleted
deleted file mode 100644

+0 / −13 text lines

1extends: existence
2message: "Don't use end punctuation in headings."
3link: https://docs.microsoft.com/en-us/style-guide/punctuation/periods
4nonword: true
5level: warning
6scope: heading
7action:
8 name: edit
9 params:
10 - remove
11 - '.?!'
12tokens:
13 - '[a-z][.?!](?:\s|$)'

vale/vale/styles/Microsoft/Headings.yml

Deleted
deleted file mode 100644

+0 / −28 text lines

1extends: capitalization
2message: "'%s' should use sentence-style capitalization."
3link: https://docs.microsoft.com/en-us/style-guide/capitalization
4level: suggestion
5scope: heading
6match: $sentence
7indicators:
8 - ':'
9exceptions:
10 - Azure
11 - CLI
12 - Code
13 - Cosmos
14 - Docker
15 - Emmet
16 - I
17 - Kubernetes
18 - Linux
19 - macOS
20 - Marketplace
21 - MongoDB
22 - REPL
23 - Studio
24 - TypeScript
25 - URLs
26 - Visual
27 - VS
28 - Windows

vale/vale/styles/Microsoft/Hyphens.yml

Deleted
deleted file mode 100644

+0 / −14 text lines

1extends: existence
2message: "'%s' doesn't need a hyphen."
3link: https://docs.microsoft.com/en-us/style-guide/punctuation/dashes-hyphens/hyphens
4level: warning
5ignorecase: false
6nonword: true
7action:
8 name: edit
9 params:
10 - replace
11 - '-'
12 - ' '
13tokens:
14 - '\s[^\s-]+ly-'

vale/vale/styles/Microsoft/Negative.yml

Deleted
deleted file mode 100644

+0 / −13 text lines

1extends: existence
2message: "Form a negative number with an en dash, not a hyphen."
3link: https://docs.microsoft.com/en-us/style-guide/numbers
4nonword: true
5level: error
6action:
7 name: edit
8 params:
9 - replace
10 - '-'
11 - '–'
12tokens:
13 - '\s-\d+\s'

vale/vale/styles/Microsoft/Ordinal.yml

Deleted
deleted file mode 100644

+0 / −13 text lines

1extends: existence
2message: "Don't add -ly to an ordinal number."
3link: https://docs.microsoft.com/en-us/style-guide/numbers
4level: error
5action:
6 name: edit
7 params:
8 - trim
9 - ly
10tokens:
11 - firstly
12 - secondly
13 - thirdly

vale/vale/styles/Microsoft/OxfordComma.yml

Deleted
deleted file mode 100644

+0 / −8 text lines

1extends: existence
2message: "Use the Oxford comma in '%s'."
3link: https://docs.microsoft.com/en-us/style-guide/punctuation/commas
4scope: sentence
5level: suggestion
6nonword: true
7tokens:
8 - '(?:[^\s,]+,){1,} \w+ (?:and|or) \w+[.?!]'

vale/vale/styles/Microsoft/Passive.yml

Deleted
deleted file mode 100644

+0 / −183 text lines

1extends: existence
2message: "'%s' looks like passive voice."
3ignorecase: true
4level: suggestion
5raw:
6 - \b(am|are|were|being|is|been|was|be)\b\s*
7tokens:
8 - '[\w]+ed'
9 - awoken
10 - beat
11 - become
12 - been
13 - begun
14 - bent
15 - beset
16 - bet
17 - bid
18 - bidden
19 - bitten
20 - bled
21 - blown
22 - born
23 - bought
24 - bound
25 - bred
26 - broadcast
27 - broken
28 - brought
29 - built
30 - burnt
31 - burst
32 - cast
33 - caught
34 - chosen
35 - clung
36 - come
37 - cost
38 - crept
39 - cut
40 - dealt
41 - dived
42 - done
43 - drawn
44 - dreamt
45 - driven
46 - drunk
47 - dug
48 - eaten
49 - fallen
50 - fed
51 - felt
52 - fit
53 - fled
54 - flown
55 - flung
56 - forbidden
57 - foregone
58 - forgiven
59 - forgotten
60 - forsaken
61 - fought
62 - found
63 - frozen
64 - given
65 - gone
66 - gotten
67 - ground
68 - grown
69 - heard
70 - held
71 - hidden
72 - hit
73 - hung
74 - hurt
75 - kept
76 - knelt
77 - knit
78 - known
79 - laid
80 - lain
81 - leapt
82 - learnt
83 - led
84 - left
85 - lent
86 - let
87 - lighted
88 - lost
89 - made
90 - meant
91 - met
92 - misspelt
93 - mistaken
94 - mown
95 - overcome
96 - overdone
97 - overtaken
98 - overthrown
99 - paid
100 - pled
101 - proven
102 - put
103 - quit
104 - read
105 - rid
106 - ridden
107 - risen
108 - run
109 - rung
110 - said
111 - sat
112 - sawn
113 - seen
114 - sent
115 - set
116 - sewn
117 - shaken
118 - shaven
119 - shed
120 - shod
121 - shone
122 - shorn
123 - shot
124 - shown
125 - shrunk
126 - shut
127 - slain
128 - slept
129 - slid
130 - slit
131 - slung
132 - smitten
133 - sold
134 - sought
135 - sown
136 - sped
137 - spent
138 - spilt
139 - spit
140 - split
141 - spoken
142 - spread
143 - sprung
144 - spun
145 - stolen
146 - stood
147 - stridden
148 - striven
149 - struck
150 - strung
151 - stuck
152 - stung
153 - stunk
154 - sung
155 - sunk
156 - swept
157 - swollen
158 - sworn
159 - swum
160 - swung
161 - taken
162 - taught
163 - thought
164 - thrived
165 - thrown
166 - thrust
167 - told
168 - torn
169 - trodden
170 - understood
171 - upheld
172 - upset
173 - wed
174 - wept
175 - withheld
176 - withstood
177 - woken
178 - won
179 - worn
180 - wound
181 - woven
182 - written
183 - wrung

vale/vale/styles/Microsoft/Percentages.yml

Deleted
deleted file mode 100644

+0 / −7 text lines

1extends: existence
2message: "Use a numeral plus the units."
3link: https://docs.microsoft.com/en-us/style-guide/numbers
4nonword: true
5level: error
6tokens:
7 - '\b[a-zA-z]+\spercent\b'

vale/vale/styles/Microsoft/Quotes.yml

Deleted
deleted file mode 100644

+0 / −7 text lines

1extends: existence
2message: 'Punctuation should be inside the quotes.'
3link: https://docs.microsoft.com/en-us/style-guide/punctuation/quotation-marks
4level: error
5nonword: true
6tokens:
7 - '["“][^"”“]+["”][.,]'

vale/vale/styles/Microsoft/RangeFormat.yml

Deleted
deleted file mode 100644

+0 / −13 text lines

1extends: existence
2message: "Use an en dash in a range of numbers."
3link: https://docs.microsoft.com/en-us/style-guide/numbers
4nonword: true
5level: error
6action:
7 name: edit
8 params:
9 - replace
10 - '-'
11 - '–'
12tokens:
13 - '\b\d+\s?[-]\s?\d+\b'

vale/vale/styles/Microsoft/RangeTime.yml

Deleted
deleted file mode 100644

+0 / −13 text lines

1extends: existence
2message: "Use 'to' instead of a dash in '%s'."
3link: https://docs.microsoft.com/en-us/style-guide/numbers
4nonword: true
5level: error
6action:
7 name: edit
8 params:
9 - replace
10 - '[-–]'
11 - 'to'
12tokens:
13 - '\b(?:AM|PM)\s?[-–]\s?.+(?:AM|PM)\b'

vale/vale/styles/Microsoft/Ranges.yml

Deleted
deleted file mode 100644

+0 / −7 text lines

1extends: existence
2message: "In most cases, use 'from' or 'through' to describe a range of numbers."
3link: 'https://docs.microsoft.com/en-us/style-guide/numbers'
4nonword: true
5level: warning
6tokens:
7 - '\b\d+\s?[-–]\s?\d+\b'

vale/vale/styles/Microsoft/Semicolon.yml

Deleted
deleted file mode 100644

+0 / −8 text lines

1extends: existence
2message: "Try to simplify this sentence."
3link: https://docs.microsoft.com/en-us/style-guide/punctuation/semicolons
4nonword: true
5scope: sentence
6level: suggestion
7tokens:
8 - ';'

vale/vale/styles/Microsoft/SentenceLength.yml

Deleted
deleted file mode 100644

+0 / −7 text lines

1extends: occurrence
2message: "Try to keep sentences short (< 30 words)."
3scope: sentence
4level: suggestion
5max: 30
6token: \b(\w+)\b
7

vale/vale/styles/Microsoft/Spacing.yml

Deleted
deleted file mode 100644

+0 / −8 text lines

1extends: existence
2message: "'%s' should have one space."
3link: https://docs.microsoft.com/en-us/style-guide/punctuation/periods
4level: error
5nonword: true
6tokens:
7 - '[a-z][.?!] {2,}[A-Z]'
8 - '[a-z][.?!][A-Z]'

vale/vale/styles/Microsoft/Suspended.yml

Deleted
deleted file mode 100644

+0 / −7 text lines

1extends: existence
2message: "Don't use '%s' unless space is limited."
3link: https://docs.microsoft.com/en-us/style-guide/punctuation/dashes-hyphens/hyphens
4ignorecase: true
5level: warning
6tokens:
7 - '\w+- and \w+-'

vale/vale/styles/Microsoft/Terms.yml

Deleted
deleted file mode 100644

+0 / −43 text lines

1extends: substitution
2message: "Prefer '%s' over '%s'."
3level: warning
4ignorecase: true
5action:
6 name: replace
7swap:
8 '(?:agent|virtual assistant|intelligent personal assistant)': personal digital assistant
9 '(?:drive C:|drive C>|C: drive)': drive C
10 '(?:internet bot|web robot)s?': bot(s)
11 '(?:microsoft cloud|the cloud)': cloud
12 '(?:mobile|smart) ?phone': phone
13 '24/7': every day
14 'audio(?:-| )book': audiobook
15 'back(?:-| )light': backlight
16 'chat ?bots?': chatbot(s)
17 adaptor: adapter
18 administrate: administer
19 afterwards: afterward
20 alphabetic: alphabetical
21 alphanumerical: alphanumeric
22 anti-aliasing: antialiasing
23 anti-malware: antimalware
24 anti-spyware: antispyware
25 anti-virus: antivirus
26 appendixes: appendices
27 artificial intelligence: artificial intelligence
28 assembler: assembly language
29 bpp: bpp
30 bps: bps
31 caap: CaaP
32 conversation-as-a-platform: conversation as a platform
33 eb: EB
34 gb: GB
35 gbps: Gbps
36 kb: KB
37 keypress: keystroke
38 mb: MB
39 pb: PB
40 tb: TB
41 zb: ZB
42 viz: namely
43 ergo: therefore

vale/vale/styles/Microsoft/URLFormat.yml

Deleted
deleted file mode 100644

+0 / −10 text lines

1extends: substitution
2message: "Use '%s' instead of '%s'."
3ignorecase: true
4level: error
5action:
6 name: replace
7swap:
8 URL for: URL of
9 an URL: a URL

vale/vale/styles/Microsoft/Units.yml

Deleted
deleted file mode 100644

+0 / −16 text lines

1extends: existence
2message: "Don't spell out the number in '%s'."
3link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/units-of-measure-terms
4level: error
5raw:
6 - '[a-zA-Z]+\s'
7tokens:
8 - '(?:centi|milli)?meters'
9 - '(?:kilo)?grams'
10 - '(?:kilo)?meters'
11 - '(?:mega)?pixels'
12 - cm
13 - inches
14 - lb
15 - miles
16 - pounds

vale/vale/styles/Microsoft/Vocab.yml

Deleted
deleted file mode 100644

+0 / −25 text lines

1extends: existence
2message: "Verify your use of '%s' with the A-Z word list."
3link: 'https://docs.microsoft.com/en-us/style-guide'
4level: suggestion
5ignorecase: true
6tokens:
7 - above
8 - accessible
9 - actionable
10 - against
11 - alarm
12 - alert
13 - alias
14 - allows?
15 - and/or
16 - as well as
17 - assure
18 - author
19 - avg
20 - beta
21 - ensure
22 - he
23 - insure
24 - sample
25 - she

vale/vale/styles/Microsoft/We.yml

Deleted
deleted file mode 100644

+0 / −11 text lines

1extends: existence
2message: "Try to avoid using first-person plural like '%s'."
3link: https://docs.microsoft.com/en-us/style-guide/grammar/person#avoid-first-person-plural
4level: warning
5ignorecase: true
6tokens:
7 - we
8 - we'(?:ve|re)
9 - ours?
10 - us
11 - let's

vale/vale/styles/Microsoft/Wordiness.yml

Deleted
deleted file mode 100644

+0 / −122 text lines

1extends: substitution
2message: "Consider using '%s' instead of '%s'."
3link: https://docs.microsoft.com/en-us/style-guide/word-choice/use-simple-words-concise-sentences
4ignorecase: true
5level: warning
6action:
7 name: replace
8swap:
9 (?:give|gave) rise to: lead to
10 (?:previous|prior) to: before
11 a (?:large)? majority of: most
12 a (?:large)? number of: many
13 a myriad of: myriad
14 adversely impact: hurt
15 all across: across
16 all of a sudden: suddenly
17 all of these: these
18 all of: all
19 all-time record: record
20 almost all: most
21 almost never: seldom
22 along the lines of: similar to
23 an adequate number of: enough
24 an appreciable number of: many
25 an estimated: about
26 any and all: all
27 are in agreement: agree
28 as a matter of fact: in fact
29 as a means of: to
30 as a result of: because of
31 as of yet: yet
32 as per: per
33 at a later date: later
34 at all times: always
35 at the present time: now
36 at this point in time: at this point
37 based in large part on: based on
38 based on the fact that: because
39 basic necessity: necessity
40 because of the fact that: because
41 came to a realization: realized
42 came to an abrupt end: ended abruptly
43 carry out an evaluation of: evaluate
44 close down: close
45 closed down: closed
46 complete stranger: stranger
47 completely separate: separate
48 concerning the matter of: regarding
49 conduct a review of: review
50 conduct an investigation: investigate
51 conduct experiments: experiment
52 continue on: continue
53 despite the fact that: although
54 disappear from sight: disappear
55 drag and drop: drag
56 drag-and-drop: drag
57 doomed to fail: doomed
58 due to the fact that: because
59 during the period of: during
60 during the time that: while
61 emergency situation: emergency
62 except when: unless
63 excessive number: too many
64 extend an invitation: invite
65 fall down: fall
66 fell down: fell
67 for the duration of: during
68 gather together: gather
69 has the ability to: can
70 has the capacity to: can
71 has the opportunity to: could
72 hold a meeting: meet
73 if this is not the case: if not
74 in a careful manner: carefully
75 in a thoughtful manner: thoughtfully
76 in a timely manner: timely
77 in an effort to: to
78 in between: between
79 in lieu of: instead of
80 in many cases: often
81 in most cases: usually
82 in order to: to
83 in some cases: sometimes
84 in spite of the fact that: although
85 in spite of: despite
86 in the (?:very)? near future: soon
87 in the event that: if
88 in the neighborhood of: roughly
89 in the vicinity of: close to
90 it would appear that: apparently
91 lift up: lift
92 made reference to: referred to
93 make reference to: refer to
94 mix together: mix
95 none at all: none
96 not in a position to: unable
97 not possible: impossible
98 of major importance: important
99 perform an assessment of: assess
100 pertaining to: about
101 place an order: order
102 plays a key role in: is essential to
103 present time: now
104 readily apparent: apparent
105 some of the: some
106 span across: span
107 subsequent to: after
108 successfully complete: complete
109 sufficient number (?:of)?: enough
110 take action: act
111 take into account: consider
112 the question as to whether: whether
113 there is no doubt but that: doubtless
114 this day and age: this age
115 this is a subject that: this subject
116 time (?:frame|period): time
117 under the provisions of: under
118 until such time as: until
119 used for fuel purposes: used for fuel
120 whether or not: whether
121 with regard to: regarding
122 with the exception of: except for

vale/vale/styles/Microsoft/meta.json

Deleted
deleted file mode 100644

+0 / −4 text lines

1{
2 "feed": "https://github.com/errata-ai/Microsoft/releases.atom",
3 "vale_version": ">=1.0.0"
4}

vale/vale/styles/proselint/Airlinese.yml

Deleted
deleted file mode 100644

+0 / −8 text lines

1extends: existence
2message: "'%s' is airlinese."
3ignorecase: true
4level: error
5tokens:
6 - enplan(?:e|ed|ing|ement)
7 - deplan(?:e|ed|ing|ement)
8 - taking off momentarily

vale/vale/styles/proselint/AnimalLabels.yml

Deleted
deleted file mode 100644

+0 / −48 text lines

1extends: substitution
2message: "Consider using '%s' instead of '%s'."
3level: error
4action:
5 name: replace
6swap:
7 (?:bull|ox)-like: taurine
8 (?:calf|veal)-like: vituline
9 (?:crow|raven)-like: corvine
10 (?:leopard|panther)-like: pardine
11 bird-like: avine
12 centipede-like: scolopendrine
13 crab-like: cancrine
14 crocodile-like: crocodiline
15 deer-like: damine
16 eagle-like: aquiline
17 earthworm-like: lumbricine
18 falcon-like: falconine
19 ferine: wild animal-like
20 fish-like: piscine
21 fox-like: vulpine
22 frog-like: ranine
23 goat-like: hircine
24 goose-like: anserine
25 gull-like: laridine
26 hare-like: leporine
27 hawk-like: accipitrine
28 hippopotamus-like: hippopotamine
29 lizard-like: lacertine
30 mongoose-like: viverrine
31 mouse-like: murine
32 ostrich-like: struthionine
33 peacock-like: pavonine
34 porcupine-like: hystricine
35 rattlesnake-like: crotaline
36 sable-like: zibeline
37 sheep-like: ovine
38 shrew-like: soricine
39 sparrow-like: passerine
40 swallow-like: hirundine
41 swine-like: suilline
42 tiger-like: tigrine
43 viper-like: viperine
44 vulture-like: vulturine
45 wasp-like: vespine
46 wolf-like: lupine
47 woodpecker-like: picine
48 zebra-like: zebrine

vale/vale/styles/proselint/Annotations.yml

Deleted
deleted file mode 100644

+0 / −9 text lines

1extends: existence
2message: "'%s' left in text."
3ignorecase: false
4level: error
5tokens:
6 - XXX
7 - FIXME
8 - TODO
9 - NOTE

vale/vale/styles/proselint/Apologizing.yml

Deleted
deleted file mode 100644

+0 / −8 text lines

1extends: existence
2message: "Excessive apologizing: '%s'"
3ignorecase: true
4level: error
5action:
6 name: remove
7tokens:
8 - More research is needed

vale/vale/styles/proselint/Archaisms.yml

Deleted
deleted file mode 100644

+0 / −52 text lines

1extends: existence
2message: "'%s' is archaic."
3ignorecase: true
4level: error
5tokens:
6 - alack
7 - anent
8 - begat
9 - belike
10 - betimes
11 - boughten
12 - brocage
13 - brokage
14 - camarade
15 - chiefer
16 - chiefest
17 - Christiana
18 - completely obsolescent
19 - cozen
20 - divers
21 - deflexion
22 - fain
23 - forsooth
24 - foreclose from
25 - haply
26 - howbeit
27 - illumine
28 - in sooth
29 - maugre
30 - meseems
31 - methinks
32 - nigh
33 - peradventure
34 - perchance
35 - saith
36 - shew
37 - sistren
38 - spake
39 - to wit
40 - verily
41 - whilom
42 - withal
43 - wot
44 - enclosed please find
45 - please find enclosed
46 - enclosed herewith
47 - enclosed herein
48 - inforce
49 - ex postfacto
50 - foreclose from
51 - forewent
52 - for ever

vale/vale/styles/proselint/But.yml

Deleted
deleted file mode 100644

+0 / −8 text lines

1extends: existence
2message: "Do not start a paragraph with a 'but'."
3level: error
4scope: paragraph
5action:
6 name: remove
7tokens:
8 - ^But

vale/vale/styles/proselint/Cliches.yml

Deleted
deleted file mode 100644

+0 / −782 text lines

1extends: existence
2message: "'%s' is a cliche."
3level: error
4ignorecase: true
5tokens:
6 - a chip off the old block
7 - a clean slate
8 - a dark and stormy night
9 - a far cry
10 - a fate worse than death
11 - a fine kettle of fish
12 - a loose cannon
13 - a penny saved is a penny earned
14 - a tough row to hoe
15 - a word to the wise
16 - ace in the hole
17 - acid test
18 - add insult to injury
19 - against all odds
20 - air your dirty laundry
21 - alas and alack
22 - all fun and games
23 - all hell broke loose
24 - all in a day's work
25 - all talk, no action
26 - all thumbs
27 - all your eggs in one basket
28 - all's fair in love and war
29 - all's well that ends well
30 - almighty dollar
31 - American as apple pie
32 - an axe to grind
33 - another day, another dollar
34 - armed to the teeth
35 - as luck would have it
36 - as old as time
37 - as the crow flies
38 - at loose ends
39 - at my wits end
40 - at the end of the day
41 - avoid like the plague
42 - babe in the woods
43 - back against the wall
44 - back in the saddle
45 - back to square one
46 - back to the drawing board
47 - bad to the bone
48 - badge of honor
49 - bald faced liar
50 - bald-faced lie
51 - ballpark figure
52 - banging your head against a brick wall
53 - baptism by fire
54 - barking up the wrong tree
55 - bat out of hell
56 - be all and end all
57 - beat a dead horse
58 - beat around the bush
59 - been there, done that
60 - beggars can't be choosers
61 - behind the eight ball
62 - bend over backwards
63 - benefit of the doubt
64 - bent out of shape
65 - best thing since sliced bread
66 - bet your bottom dollar
67 - better half
68 - better late than never
69 - better mousetrap
70 - better safe than sorry
71 - between a rock and a hard place
72 - between a rock and a hard place
73 - between Scylla and Charybdis
74 - between the devil and the deep blue see
75 - betwixt and between
76 - beyond the pale
77 - bide your time
78 - big as life
79 - big cheese
80 - big fish in a small pond
81 - big man on campus
82 - bigger they are the harder they fall
83 - bird in the hand
84 - bird's eye view
85 - birds and the bees
86 - birds of a feather flock together
87 - bit the hand that feeds you
88 - bite the bullet
89 - bite the dust
90 - bitten off more than he can chew
91 - black as coal
92 - black as pitch
93 - black as the ace of spades
94 - blast from the past
95 - bleeding heart
96 - blessing in disguise
97 - blind ambition
98 - blind as a bat
99 - blind leading the blind
100 - blissful ignorance
101 - blood is thicker than water
102 - blood sweat and tears
103 - blow a fuse
104 - blow off steam
105 - blow your own horn
106 - blushing bride
107 - boils down to
108 - bolt from the blue
109 - bone to pick
110 - bored stiff
111 - bored to tears
112 - bottomless pit
113 - boys will be boys
114 - bright and early
115 - brings home the bacon
116 - broad across the beam
117 - broken record
118 - brought back to reality
119 - bulk large
120 - bull by the horns
121 - bull in a china shop
122 - burn the midnight oil
123 - burning question
124 - burning the candle at both ends
125 - burst your bubble
126 - bury the hatchet
127 - busy as a bee
128 - but that's another story
129 - by hook or by crook
130 - call a spade a spade
131 - called onto the carpet
132 - calm before the storm
133 - can of worms
134 - can't cut the mustard
135 - can't hold a candle to
136 - case of mistaken identity
137 - cast aspersions
138 - cat got your tongue
139 - cat's meow
140 - caught in the crossfire
141 - caught red-handed
142 - chase a red herring
143 - checkered past
144 - chomping at the bit
145 - cleanliness is next to godliness
146 - clear as a bell
147 - clear as mud
148 - close to the vest
149 - cock and bull story
150 - cold shoulder
151 - come hell or high water
152 - comparing apples and oranges
153 - compleat
154 - conspicuous by its absence
155 - cool as a cucumber
156 - cool, calm, and collected
157 - cost a king's ransom
158 - count your blessings
159 - crack of dawn
160 - crash course
161 - creature comforts
162 - cross that bridge when you come to it
163 - crushing blow
164 - cry like a baby
165 - cry me a river
166 - cry over spilt milk
167 - crystal clear
168 - crystal clear
169 - curiosity killed the cat
170 - cut and dried
171 - cut through the red tape
172 - cut to the chase
173 - cute as a bugs ear
174 - cute as a button
175 - cute as a puppy
176 - cuts to the quick
177 - cutting edge
178 - dark before the dawn
179 - day in, day out
180 - dead as a doornail
181 - decision-making process
182 - devil is in the details
183 - dime a dozen
184 - divide and conquer
185 - dog and pony show
186 - dog days
187 - dog eat dog
188 - dog tired
189 - don't burn your bridges
190 - don't count your chickens
191 - don't look a gift horse in the mouth
192 - don't rock the boat
193 - don't step on anyone's toes
194 - don't take any wooden nickels
195 - down and out
196 - down at the heels
197 - down in the dumps
198 - down the hatch
199 - down to earth
200 - draw the line
201 - dressed to kill
202 - dressed to the nines
203 - drives me up the wall
204 - dubious distinction
205 - dull as dishwater
206 - duly authorized
207 - dyed in the wool
208 - eagle eye
209 - ear to the ground
210 - early bird catches the worm
211 - easier said than done
212 - easy as pie
213 - eat your heart out
214 - eat your words
215 - eleventh hour
216 - even the playing field
217 - every dog has its day
218 - every fiber of my being
219 - everything but the kitchen sink
220 - eye for an eye
221 - eyes peeled
222 - face the music
223 - facts of life
224 - fair weather friend
225 - fall by the wayside
226 - fan the flames
227 - far be it from me
228 - fast and loose
229 - feast or famine
230 - feather your nest
231 - feathered friends
232 - few and far between
233 - fifteen minutes of fame
234 - fills the bill
235 - filthy vermin
236 - fine kettle of fish
237 - first and foremost
238 - fish out of water
239 - fishing for a compliment
240 - fit as a fiddle
241 - fit the bill
242 - fit to be tied
243 - flash in the pan
244 - flat as a pancake
245 - flip your lid
246 - flog a dead horse
247 - fly by night
248 - fly the coop
249 - follow your heart
250 - for all intents and purposes
251 - for free
252 - for the birds
253 - for what it's worth
254 - force of nature
255 - force to be reckoned with
256 - forgive and forget
257 - fox in the henhouse
258 - free and easy
259 - free as a bird
260 - fresh as a daisy
261 - full steam ahead
262 - fun in the sun
263 - garbage in, garbage out
264 - gentle as a lamb
265 - get a kick out of
266 - get a leg up
267 - get down and dirty
268 - get the lead out
269 - get to the bottom of
270 - get with the program
271 - get your feet wet
272 - gets my goat
273 - gilding the lily
274 - gilding the lily
275 - give and take
276 - go against the grain
277 - go at it tooth and nail
278 - go for broke
279 - go him one better
280 - go the extra mile
281 - go with the flow
282 - goes without saying
283 - good as gold
284 - good deed for the day
285 - good things come to those who wait
286 - good time was had by all
287 - good times were had by all
288 - greased lightning
289 - greek to me
290 - green thumb
291 - green-eyed monster
292 - grist for the mill
293 - growing like a weed
294 - hair of the dog
295 - hand to mouth
296 - happy as a clam
297 - happy as a lark
298 - hasn't a clue
299 - have a nice day
300 - have a short fuse
301 - have high hopes
302 - have the last laugh
303 - haven't got a row to hoe
304 - he's got his hands full
305 - head honcho
306 - head over heels
307 - hear a pin drop
308 - heard it through the grapevine
309 - heart's content
310 - heavy as lead
311 - hem and haw
312 - high and dry
313 - high and mighty
314 - high as a kite
315 - his own worst enemy
316 - his work cut out for him
317 - hit paydirt
318 - hither and yon
319 - Hobson's choice
320 - hold your head up high
321 - hold your horses
322 - hold your own
323 - hold your tongue
324 - honest as the day is long
325 - horns of a dilemma
326 - horns of a dilemma
327 - horse of a different color
328 - hot under the collar
329 - hour of need
330 - I beg to differ
331 - icing on the cake
332 - if the shoe fits
333 - if the shoe were on the other foot
334 - if you catch my drift
335 - in a jam
336 - in a jiffy
337 - in a nutshell
338 - in a pig's eye
339 - in a pinch
340 - in a word
341 - in hot water
342 - in light of
343 - in the final analysis
344 - in the gutter
345 - in the last analysis
346 - in the nick of time
347 - in the thick of it
348 - in your dreams
349 - innocent bystander
350 - it ain't over till the fat lady sings
351 - it goes without saying
352 - it takes all kinds
353 - it takes one to know one
354 - it's a small world
355 - it's not what you know, it's who you know
356 - it's only a matter of time
357 - ivory tower
358 - Jack of all trades
359 - jockey for position
360 - jog your memory
361 - joined at the hip
362 - judge a book by its cover
363 - jump down your throat
364 - jump in with both feet
365 - jump on the bandwagon
366 - jump the gun
367 - jump to conclusions
368 - just a hop, skip, and a jump
369 - just the ticket
370 - justice is blind
371 - keep a stiff upper lip
372 - keep an eye on
373 - keep it simple, stupid
374 - keep the home fires burning
375 - keep up with the Joneses
376 - keep your chin up
377 - keep your fingers crossed
378 - kick the bucket
379 - kick up your heels
380 - kick your feet up
381 - kid in a candy store
382 - kill two birds with one stone
383 - kiss of death
384 - knock it out of the park
385 - knock on wood
386 - knock your socks off
387 - know him from Adam
388 - know the ropes
389 - know the score
390 - knuckle down
391 - knuckle sandwich
392 - knuckle under
393 - labor of love
394 - ladder of success
395 - land on your feet
396 - lap of luxury
397 - last but not least
398 - last but not least
399 - last hurrah
400 - last-ditch effort
401 - law of the jungle
402 - law of the land
403 - lay down the law
404 - leaps and bounds
405 - let sleeping dogs lie
406 - let the cat out of the bag
407 - let the good times roll
408 - let your hair down
409 - let's talk turkey
410 - letter perfect
411 - lick your wounds
412 - lies like a rug
413 - life's a bitch
414 - life's a grind
415 - light at the end of the tunnel
416 - lighter than a feather
417 - lighter than air
418 - like clockwork
419 - like father like son
420 - like taking candy from a baby
421 - like there's no tomorrow
422 - lion's share
423 - live and learn
424 - live and let live
425 - long and short of it
426 - long lost love
427 - look before you leap
428 - look down your nose
429 - look what the cat dragged in
430 - looking a gift horse in the mouth
431 - looks like death warmed over
432 - loose cannon
433 - lose your head
434 - lose your temper
435 - loud as a horn
436 - lounge lizard
437 - loved and lost
438 - low man on the totem pole
439 - luck of the draw
440 - luck of the Irish
441 - make a mockery of
442 - make hay while the sun shines
443 - make money hand over fist
444 - make my day
445 - make the best of a bad situation
446 - make the best of it
447 - make your blood boil
448 - male chauvinism
449 - man of few words
450 - man's best friend
451 - mark my words
452 - meaningful dialogue
453 - missed the boat on that one
454 - moment in the sun
455 - moment of glory
456 - moment of truth
457 - moment of truth
458 - money to burn
459 - more in sorrow than in anger
460 - more power to you
461 - more sinned against than sinning
462 - more than one way to skin a cat
463 - movers and shakers
464 - moving experience
465 - my better half
466 - naked as a jaybird
467 - naked truth
468 - neat as a pin
469 - needle in a haystack
470 - needless to say
471 - neither here nor there
472 - never look back
473 - never say never
474 - nip and tuck
475 - nip in the bud
476 - nip it in the bud
477 - no guts, no glory
478 - no love lost
479 - no pain, no gain
480 - no skin off my back
481 - no stone unturned
482 - no time like the present
483 - no use crying over spilled milk
484 - nose to the grindstone
485 - not a hope in hell
486 - not a minute's peace
487 - not in my backyard
488 - not playing with a full deck
489 - not the end of the world
490 - not written in stone
491 - nothing to sneeze at
492 - nothing ventured nothing gained
493 - now we're cooking
494 - off the top of my head
495 - off the wagon
496 - off the wall
497 - old hat
498 - olden days
499 - older and wiser
500 - older than dirt
501 - older than Methuselah
502 - on a roll
503 - on cloud nine
504 - on pins and needles
505 - on the bandwagon
506 - on the money
507 - on the nose
508 - on the rocks
509 - on the same page
510 - on the spot
511 - on the tip of my tongue
512 - on the wagon
513 - on thin ice
514 - once bitten, twice shy
515 - one bad apple doesn't spoil the bushel
516 - one born every minute
517 - one brick short
518 - one foot in the grave
519 - one in a million
520 - one red cent
521 - only game in town
522 - open a can of worms
523 - open and shut case
524 - open the flood gates
525 - opportunity doesn't knock twice
526 - out of pocket
527 - out of sight, out of mind
528 - out of the frying pan into the fire
529 - out of the woods
530 - out on a limb
531 - over a barrel
532 - over the hump
533 - pain and suffering
534 - pain in the
535 - panic button
536 - par for the course
537 - part and parcel
538 - party pooper
539 - pass the buck
540 - patience is a virtue
541 - pay through the nose
542 - penny pincher
543 - perfect storm
544 - pig in a poke
545 - pile it on
546 - pillar of the community
547 - pin your hopes on
548 - pitter patter of little feet
549 - plain as day
550 - plain as the nose on your face
551 - play by the rules
552 - play your cards right
553 - playing the field
554 - playing with fire
555 - pleased as punch
556 - plenty of fish in the sea
557 - point with pride
558 - poor as a church mouse
559 - pot calling the kettle black
560 - presidential timber
561 - pretty as a picture
562 - pull a fast one
563 - pull your punches
564 - pulled no punches
565 - pulling your leg
566 - pure as the driven snow
567 - put it in a nutshell
568 - put one over on you
569 - put the cart before the horse
570 - put the pedal to the metal
571 - put your best foot forward
572 - put your foot down
573 - quantum jump
574 - quantum leap
575 - quick as a bunny
576 - quick as a lick
577 - quick as a wink
578 - quick as lightning
579 - quiet as a dormouse
580 - rags to riches
581 - raining buckets
582 - raining cats and dogs
583 - rank and file
584 - rat race
585 - reap what you sow
586 - red as a beet
587 - red herring
588 - redound to one's credit
589 - redound to the benefit of
590 - reinvent the wheel
591 - rich and famous
592 - rings a bell
593 - ripe old age
594 - ripped me off
595 - rise and shine
596 - road to hell is paved with good intentions
597 - rob Peter to pay Paul
598 - roll over in the grave
599 - rub the wrong way
600 - ruled the roost
601 - running in circles
602 - sad but true
603 - sadder but wiser
604 - salt of the earth
605 - scared stiff
606 - scared to death
607 - sea change
608 - sealed with a kiss
609 - second to none
610 - see eye to eye
611 - seen the light
612 - seize the day
613 - set the record straight
614 - set the world on fire
615 - set your teeth on edge
616 - sharp as a tack
617 - shirked his duties
618 - shoot for the moon
619 - shoot the breeze
620 - shot in the dark
621 - shoulder to the wheel
622 - sick as a dog
623 - sigh of relief
624 - signed, sealed, and delivered
625 - sink or swim
626 - six of one, half a dozen of another
627 - six of one, half a dozen of the other
628 - skating on thin ice
629 - slept like a log
630 - slinging mud
631 - slippery as an eel
632 - slow as molasses
633 - smart as a whip
634 - smooth as a baby's bottom
635 - sneaking suspicion
636 - snug as a bug in a rug
637 - sow wild oats
638 - spare the rod, spoil the child
639 - speak of the devil
640 - spilled the beans
641 - spinning your wheels
642 - spitting image of
643 - spoke with relish
644 - spread like wildfire
645 - spring to life
646 - squeaky wheel gets the grease
647 - stands out like a sore thumb
648 - start from scratch
649 - stick in the mud
650 - still waters run deep
651 - stitch in time
652 - stop and smell the roses
653 - straight as an arrow
654 - straw that broke the camel's back
655 - stretched to the breaking point
656 - strong as an ox
657 - stubborn as a mule
658 - stuff that dreams are made of
659 - stuffed shirt
660 - sweating blood
661 - sweating bullets
662 - take a load off
663 - take one for the team
664 - take the bait
665 - take the bull by the horns
666 - take the plunge
667 - takes one to know one
668 - takes two to tango
669 - than you can shake a stick at
670 - the cream of the crop
671 - the cream rises to the top
672 - the more the merrier
673 - the real deal
674 - the real McCoy
675 - the red carpet treatment
676 - the same old story
677 - the straw that broke the camel's back
678 - there is no accounting for taste
679 - thick as a brick
680 - thick as thieves
681 - thick as thieves
682 - thin as a rail
683 - think outside of the box
684 - thinking outside the box
685 - third time's the charm
686 - this day and age
687 - this hurts me worse than it hurts you
688 - this point in time
689 - thought leaders?
690 - three sheets to the wind
691 - through thick and thin
692 - throw in the towel
693 - throw the baby out with the bathwater
694 - tie one on
695 - tighter than a drum
696 - time and time again
697 - time is of the essence
698 - tip of the iceberg
699 - tired but happy
700 - to coin a phrase
701 - to each his own
702 - to make a long story short
703 - to the best of my knowledge
704 - toe the line
705 - tongue in cheek
706 - too good to be true
707 - too hot to handle
708 - too numerous to mention
709 - touch with a ten foot pole
710 - tough as nails
711 - trial and error
712 - trials and tribulations
713 - tried and true
714 - trip down memory lane
715 - twist of fate
716 - two cents worth
717 - two peas in a pod
718 - ugly as sin
719 - under the counter
720 - under the gun
721 - under the same roof
722 - under the weather
723 - until the cows come home
724 - unvarnished truth
725 - up the creek
726 - uphill battle
727 - upper crust
728 - upset the applecart
729 - vain attempt
730 - vain effort
731 - vanquish the enemy
732 - various and sundry
733 - vested interest
734 - viable alternative
735 - waiting for the other shoe to drop
736 - wakeup call
737 - warm welcome
738 - watch your p's and q's
739 - watch your tongue
740 - watching the clock
741 - water under the bridge
742 - wax eloquent
743 - wax poetic
744 - we've got a situation here
745 - weather the storm
746 - weed them out
747 - week of Sundays
748 - went belly up
749 - wet behind the ears
750 - what goes around comes around
751 - what you see is what you get
752 - when it rains, it pours
753 - when push comes to shove
754 - when the cat's away
755 - when the going gets tough, the tough get going
756 - whet (?:the|your) appetite
757 - white as a sheet
758 - whole ball of wax
759 - whole hog
760 - whole nine yards
761 - wild goose chase
762 - will wonders never cease?
763 - wisdom of the ages
764 - wise as an owl
765 - wolf at the door
766 - wool pulled over our eyes
767 - words fail me
768 - work like a dog
769 - world weary
770 - worst nightmare
771 - worth its weight in gold
772 - writ large
773 - wrong side of the bed
774 - yanking your chain
775 - yappy as a dog
776 - years young
777 - you are what you eat
778 - you can run but you can't hide
779 - you only live once
780 - you're the boss
781 - young and foolish
782 - young and vibrant

vale/vale/styles/proselint/CorporateSpeak.yml

Deleted
deleted file mode 100644

+0 / −30 text lines

1extends: existence
2message: "'%s' is corporate speak."
3ignorecase: true
4level: error
5tokens:
6 - at the end of the day
7 - back to the drawing board
8 - hit the ground running
9 - get the ball rolling
10 - low-hanging fruit
11 - thrown under the bus
12 - think outside the box
13 - let's touch base
14 - get my manager's blessing
15 - it's on my radar
16 - ping me
17 - i don't have the bandwidth
18 - no brainer
19 - par for the course
20 - bang for your buck
21 - synergy
22 - move the goal post
23 - apples to apples
24 - win-win
25 - circle back around
26 - all hands on deck
27 - take this offline
28 - drill-down
29 - elephant in the room
30 - on my plate

vale/vale/styles/proselint/Currency.yml

Deleted
deleted file mode 100644

+0 / −5 text lines

1extends: existence
2message: "Incorrect use of symbols in '%s'."
3ignorecase: true
4raw:
5 - \$[\d]* ?(?:dollars|usd|us dollars)

vale/vale/styles/proselint/Cursing.yml

Deleted
deleted file mode 100644

+0 / −15 text lines

1extends: existence
2message: "Consider replacing '%s'."
3level: error
4ignorecase: true
5tokens:
6 - shit
7 - piss
8 - fuck
9 - cunt
10 - cocksucker
11 - motherfucker
12 - tits
13 - fart
14 - turd
15 - twat

vale/vale/styles/proselint/DateCase.yml

Deleted
deleted file mode 100644

+0 / −7 text lines

1extends: existence
2message: With lowercase letters, the periods are standard.
3ignorecase: true
4level: error
5nonword: true
6tokens:
7 - '\d{1,2} ?[ap]m\b'

vale/vale/styles/proselint/DateMidnight.yml

Deleted
deleted file mode 100644

+0 / −7 text lines

1extends: existence
2message: "Use 'midnight' or 'noon'."
3ignorecase: true
4level: error
5nonword: true
6tokens:
7 - '12 ?[ap]\.?m\.?'

vale/vale/styles/proselint/DateRedundancy.yml

Deleted
deleted file mode 100644

+0 / −10 text lines

1extends: existence
2message: "'a.m.' is always morning; 'p.m.' is always night."
3ignorecase: true
4level: error
5nonword: true
6tokens:
7 - '\d{1,2} ?a\.?m\.? in the morning'
8 - '\d{1,2} ?p\.?m\.? in the evening'
9 - '\d{1,2} ?p\.?m\.? at night'
10 - '\d{1,2} ?p\.?m\.? in the afternoon'

vale/vale/styles/proselint/DateSpacing.yml

Deleted
deleted file mode 100644

+0 / −7 text lines

1extends: existence
2message: "It's standard to put a space before '%s'"
3ignorecase: true
4level: error
5nonword: true
6tokens:
7 - '\d{1,2}[ap]\.?m\.?'

vale/vale/styles/proselint/DenizenLabels.yml

Deleted
deleted file mode 100644

+0 / −52 text lines

1extends: substitution
2message: Did you mean '%s'?
3ignorecase: false
4action:
5 name: replace
6swap:
7 (?:Afrikaaner|Afrikander): Afrikaner
8 (?:Hong Kongite|Hong Kongian): Hong Konger
9 (?:Indianan|Indianian): Hoosier
10 (?:Michiganite|Michiganian): Michigander
11 (?:New Hampshireite|New Hampshireman): New Hampshirite
12 (?:Newcastlite|Newcastleite): Novocastrian
13 (?:Providencian|Providencer): Providentian
14 (?:Trentian|Trentonian): Tridentine
15 (?:Warsawer|Warsawian): Varsovian
16 (?:Wolverhamptonite|Wolverhamptonian): Wulfrunian
17 Alabaman: Alabamian
18 Albuquerquian: Albuquerquean
19 Anchoragite: Anchorageite
20 Arizonian: Arizonan
21 Arkansawyer: Arkansan
22 Belarusan: Belarusian
23 Cayman Islander: Caymanian
24 Coloradoan: Coloradan
25 Connecticuter: Nutmegger
26 Fairbanksian: Fairbanksan
27 Fort Worther: Fort Worthian
28 Grenadian: Grenadan
29 Halifaxer: Haligonian
30 Hartlepoolian: Hartlepudlian
31 Illinoisian: Illinoisan
32 Iowegian: Iowan
33 Leedsian: Leodenisian
34 Liverpoolian: Liverpudlian
35 Los Angelean: Angeleno
36 Manchesterian: Mancunian
37 Minneapolisian: Minneapolitan
38 Missouran: Missourian
39 Monacan: Monegasque
40 Neopolitan: Neapolitan
41 New Jerseyite: New Jerseyan
42 New Orleansian: New Orleanian
43 Oklahoma Citian: Oklahoma Cityan
44 Oklahomian: Oklahoman
45 Saudi Arabian: Saudi
46 Seattlite: Seattleite
47 Surinamer: Surinamese
48 Tallahassean: Tallahasseean
49 Tennesseean: Tennessean
50 Trois-Rivièrester: Trifluvian
51 Utahan: Utahn
52 Valladolidian: Vallisoletano

vale/vale/styles/proselint/Diacritical.yml

Deleted
deleted file mode 100644

+0 / −95 text lines

1extends: substitution
2message: Consider using '%s' instead of '%s'.
3ignorecase: true
4level: error
5action:
6 name: replace
7swap:
8 beau ideal: beau idéal
9 boutonniere: boutonnière
10 bric-a-brac: bric-à-brac
11 cafe: café
12 cause celebre: cause célèbre
13 chevre: chèvre
14 cliche: cliché
15 consomme: consommé
16 coup de grace: coup de grâce
17 crudites: crudités
18 creme brulee: crème brûlée
19 creme de menthe: crème de menthe
20 creme fraice: crème fraîche
21 creme fresh: crème fraîche
22 crepe: crêpe
23 debutante: débutante
24 decor: décor
25 deja vu: déjà vu
26 denouement: dénouement
27 facade: façade
28 fiance: fiancé
29 fiancee: fiancée
30 flambe: flambé
31 garcon: garçon
32 lycee: lycée
33 maitre d: maître d
34 menage a trois: ménage à trois
35 negligee: négligée
36 protege: protégé
37 protegee: protégée
38 puree: purée
39 my resume: my résumé
40 your resume: your résumé
41 his resume: his résumé
42 her resume: her résumé
43 a resume: a résumé
44 the resume: the résumé
45 risque: risqué
46 roue: roué
47 soiree: soirée
48 souffle: soufflé
49 soupcon: soupçon
50 touche: touché
51 tete-a-tete: tête-à-tête
52 voila: voilà
53 a la carte: à la carte
54 a la mode: à la mode
55 emigre: émigré
57 # Spanish loanwords
58 El Nino: El Niño
59 jalapeno: jalapeño
60 La Nina: La Niña
61 pina colada: piña colada
62 senor: señor
63 senora: señora
64 senorita: señorita
66 # Portuguese loanwords
67 acai: açaí
69 # German loanwords
70 doppelganger: doppelgänger
71 Fuhrer: Führer
72 Gewurztraminer: Gewürztraminer
73 vis-a-vis: vis-à-vis
74 Ubermensch: Übermensch
76 # Swedish loanwords
77 filmjolk: filmjölk
78 smorgasbord: smörgåsbord
80 # Names, places, and companies
81 Beyonce: Beyoncé
82 Bronte: Brontë
83 Champs-Elysees: Champs-Élysées
84 Citroen: Citroën
85 Curacao: Curaçao
86 Lowenbrau: Löwenbräu
87 Monegasque: Monégasque
88 Motley Crue: Mötley Crüe
89 Nescafe: Nescafé
90 Queensryche: Queensrÿche
91 Quebec: Québec
92 Quebecois: Québécois
93 Angstrom: Ångström
94 angstrom: ångström
95 Skoda: Škoda

vale/vale/styles/proselint/GenderBias.yml

Deleted
deleted file mode 100644

+0 / −45 text lines

1extends: substitution
2message: Consider using '%s' instead of '%s'.
3ignorecase: true
4level: error
5action:
6 name: replace
7swap:
8 (?:alumnae|alumni): graduates
9 (?:alumna|alumnus): graduate
10 air(?:m[ae]n|wom[ae]n): pilot(s)
11 anchor(?:m[ae]n|wom[ae]n): anchor(s)
12 authoress: author
13 camera(?:m[ae]n|wom[ae]n): camera operator(s)
14 chair(?:m[ae]n|wom[ae]n): chair(s)
15 congress(?:m[ae]n|wom[ae]n): member(s) of congress
16 door(?:m[ae]|wom[ae]n): concierge(s)
17 draft(?:m[ae]n|wom[ae]n): drafter(s)
18 fire(?:m[ae]n|wom[ae]n): firefighter(s)
19 fisher(?:m[ae]n|wom[ae]n): fisher(s)
20 fresh(?:m[ae]n|wom[ae]n): first-year student(s)
21 garbage(?:m[ae]n|wom[ae]n): waste collector(s)
22 lady lawyer: lawyer
23 ladylike: courteous
24 landlord: building manager
25 mail(?:m[ae]n|wom[ae]n): mail carriers
26 man and wife: husband and wife
27 man enough: strong enough
28 mankind: human kind
29 manmade: manufactured
30 men and girls: men and women
31 middle(?:m[ae]n|wom[ae]n): intermediary
32 news(?:m[ae]n|wom[ae]n): journalist(s)
33 ombuds(?:man|woman): ombuds
34 oneupmanship: upstaging
35 poetess: poet
36 police(?:m[ae]n|wom[ae]n): police officer(s)
37 repair(?:m[ae]n|wom[ae]n): technician(s)
38 sales(?:m[ae]n|wom[ae]n): salesperson or sales people
39 service(?:m[ae]n|wom[ae]n): soldier(s)
40 steward(?:ess)?: flight attendant
41 tribes(?:m[ae]n|wom[ae]n): tribe member(s)
42 waitress: waiter
43 woman doctor: doctor
44 woman scientist[s]?: scientist(s)
45 work(?:m[ae]n|wom[ae]n): worker(s)

vale/vale/styles/proselint/GroupTerms.yml

Deleted
deleted file mode 100644

+0 / −39 text lines

1extends: substitution
2message: Consider using '%s' instead of '%s'.
3ignorecase: true
4action:
5 name: replace
6swap:
7 (?:bunch|group|pack|flock) of chickens: brood of chickens
8 (?:bunch|group|pack|flock) of crows: murder of crows
9 (?:bunch|group|pack|flock) of hawks: cast of hawks
10 (?:bunch|group|pack|flock) of parrots: pandemonium of parrots
11 (?:bunch|group|pack|flock) of peacocks: muster of peacocks
12 (?:bunch|group|pack|flock) of penguins: muster of penguins
13 (?:bunch|group|pack|flock) of sparrows: host of sparrows
14 (?:bunch|group|pack|flock) of turkeys: rafter of turkeys
15 (?:bunch|group|pack|flock) of woodpeckers: descent of woodpeckers
16 (?:bunch|group|pack|herd) of apes: shrewdness of apes
17 (?:bunch|group|pack|herd) of baboons: troop of baboons
18 (?:bunch|group|pack|herd) of badgers: cete of badgers
19 (?:bunch|group|pack|herd) of bears: sloth of bears
20 (?:bunch|group|pack|herd) of bullfinches: bellowing of bullfinches
21 (?:bunch|group|pack|herd) of bullocks: drove of bullocks
22 (?:bunch|group|pack|herd) of caterpillars: army of caterpillars
23 (?:bunch|group|pack|herd) of cats: clowder of cats
24 (?:bunch|group|pack|herd) of colts: rag of colts
25 (?:bunch|group|pack|herd) of crocodiles: bask of crocodiles
26 (?:bunch|group|pack|herd) of dolphins: school of dolphins
27 (?:bunch|group|pack|herd) of foxes: skulk of foxes
28 (?:bunch|group|pack|herd) of gorillas: band of gorillas
29 (?:bunch|group|pack|herd) of hippopotami: bloat of hippopotami
30 (?:bunch|group|pack|herd) of horses: drove of horses
31 (?:bunch|group|pack|herd) of jellyfish: fluther of jellyfish
32 (?:bunch|group|pack|herd) of kangeroos: mob of kangeroos
33 (?:bunch|group|pack|herd) of monkeys: troop of monkeys
34 (?:bunch|group|pack|herd) of oxen: yoke of oxen
35 (?:bunch|group|pack|herd) of rhinoceros: crash of rhinoceros
36 (?:bunch|group|pack|herd) of wild boar: sounder of wild boar
37 (?:bunch|group|pack|herd) of wild pigs: drift of wild pigs
38 (?:bunch|group|pack|herd) of zebras: zeal of wild pigs
39 (?:bunch|group|pack|school) of trout: hover of trout

vale/vale/styles/proselint/Hedging.yml

Deleted
deleted file mode 100644

+0 / −8 text lines

1extends: existence
2message: "'%s' is hedging."
3ignorecase: true
4level: error
5tokens:
6 - I would argue that
7 - ', so to speak'
8 - to a certain degree

vale/vale/styles/proselint/Hyperbole.yml

Deleted
deleted file mode 100644

+0 / −6 text lines

1extends: existence
2message: "'%s' is hyperbolic."
3level: error
4nonword: true
5tokens:
6 - '[a-z]+[!?]{2,}'

vale/vale/styles/proselint/Jargon.yml

Deleted
deleted file mode 100644

+0 / −11 text lines

1extends: existence
2message: "'%s' is jargon."
3ignorecase: true
4level: error
5tokens:
6 - in the affirmative
7 - in the negative
8 - agendize
9 - per your order
10 - per your request
11 - disincentivize

vale/vale/styles/proselint/LGBTOffensive.yml

Deleted
deleted file mode 100644

+0 / −13 text lines

1extends: existence
2message: "'%s' is offensive. Remove it or consider the context."
3ignorecase: true
4tokens:
5 - fag
6 - faggot
7 - dyke
8 - sodomite
9 - homosexual agenda
10 - gay agenda
11 - transvestite
12 - homosexual lifestyle
13 - gay lifestyle

vale/vale/styles/proselint/LGBTTerms.yml

Deleted
deleted file mode 100644

+0 / −15 text lines

1extends: substitution
2message: "Consider using '%s' instead of '%s'."
3ignorecase: true
4action:
5 name: replace
6swap:
7 homosexual man: gay man
8 homosexual men: gay men
9 homosexual woman: lesbian
10 homosexual women: lesbians
11 homosexual people: gay people
12 homosexual couple: gay couple
13 sexual preference: sexual orientation
14 (?:admitted homosexual|avowed homosexual): openly gay
15 special rights: equal rights

vale/vale/styles/proselint/Malapropisms.yml

Deleted
deleted file mode 100644

+0 / −8 text lines

1extends: existence
2message: "'%s' is a malapropism."
3ignorecase: true
4level: error
5tokens:
6 - the infinitesimal universe
7 - a serial experience
8 - attack my voracity

vale/vale/styles/proselint/Needless.yml

Deleted
deleted file mode 100644

+0 / −358 text lines

1extends: substitution
2message: Prefer '%s' over '%s'
3ignorecase: true
4action:
5 name: replace
6swap:
7 '(?:cell phone|cell-phone)': cellphone
8 '(?:cliquey|cliquy)': cliquish
9 '(?:pygmean|pygmaen)': pygmy
10 '(?:retributional|retributionary)': retributive
11 '(?:revokable|revokeable)': revocable
12 abolishment: abolition
13 accessary: accessory
14 accreditate: accredit
15 accruement: accrual
16 accusee: accused
17 acquaintanceship: acquaintance
18 acquitment: acquittal
19 administrate: administer
20 administrated: administered
21 administrating: administering
22 adulterate: adulterous
23 advisatory: advisory
24 advocator: advocate
25 aggrievance: grievance
26 allegator: alleger
27 allusory: allusive
28 amative: amorous
29 amortizement: amortization
30 amphiboly: amphibology
31 anecdotalist: anecdotist
32 anilinctus: anilingus
33 anticipative: anticipatory
34 antithetic: antithetical
35 applicative: applicable
36 applicatory: applicable
37 applier: applicator
38 approbative: approbatory
39 arbitrager: arbitrageur
40 arsenous: arsenious
41 ascendance: ascendancy
42 ascendence: ascendancy
43 ascendency: ascendancy
44 auctorial: authorial
45 averral: averment
46 barbwire: barbed wire
47 benefic: beneficent
48 benignant: benign
49 bestowment: bestowal
50 betrothment: betrothal
51 blamableness: blameworthiness
52 butt naked: buck naked
53 camarade: comrade
54 carta blanca: carte blanche
55 casualities: casualties
56 casuality: casualty
57 catch on fire: catch fire
58 catholicly: catholically
59 cease fire: ceasefire
60 channelize: channel
61 chaplainship: chaplaincy
62 chrysalid: chrysalis
63 chrysalids: chrysalises
64 cigaret: cigarette
65 coemployee: coworker
66 cognitional: cognitive
67 cohabitate: cohabit
68 cohabitor: cohabitant
69 collodium: collodion
70 collusory: collusive
71 commemoratory: commemorative
72 commonty: commonage
73 communicatory: communicative
74 compensative: compensatory
75 complacence: complacency
76 complicitous: complicit
77 computate: compute
78 conciliative: conciliatory
79 concomitancy: concomitance
80 condonance: condonation
81 confirmative: confirmatory
82 congruency: congruence
83 connotate: connote
84 consanguineal: consanguine
85 conspicuity: conspicuousness
86 conspiratorialist: conspirator
87 constitutionist: constitutionalist
88 contingence: contigency
89 contributary: contributory
90 contumacity: contumacy
91 conversible: convertible
92 conveyal: conveyance
93 copartner: partner
94 copartnership: partnership
95 corroboratory: corroborative
96 cotemporaneous: contemporaneous
97 cotemporary: contemporary
98 criminate: incriminate
99 culpatory: inculpatory
100 cumbrance: encumbrance
101 cumulate: accumulate
102 curatory: curative
103 daredeviltry: daredevilry
104 deceptious: deceptive
105 defamative: defamatory
106 defraudulent: fraudulent
107 degeneratory: degenerative
108 delimitate: delimit
109 delusory: delusive
110 denouncement: denunciation
111 depositee: depositary
112 depreciative: depreciatory
113 deprival: deprivation
114 derogative: derogatory
115 destroyable: destructible
116 detoxicate: detoxify
117 detractory: detractive
118 deviancy: deviance
119 deviationist: deviant
120 digamy: deuterogamy
121 digitalize: digitize
122 diminishment: diminution
123 diplomatist: diplomat
124 disassociate: dissociate
125 disciplinatory: disciplinary
126 discriminant: discriminating
127 disenthrone: dethrone
128 disintegratory: disintegrative
129 dismission: dismissal
130 disorientate: disorient
131 disorientated: disoriented
132 disquieten: disquiet
133 distraite: distrait
134 divergency: divergence
135 dividable: divisible
136 doctrinary: doctrinaire
137 documental: documentary
138 domesticize: domesticate
139 duplicatory: duplicative
140 duteous: dutiful
141 educationalist: educationist
142 educatory: educative
143 enigmatas: enigmas
144 enlargen: enlarge
145 enswathe: swathe
146 epical: epic
147 erotism: eroticism
148 ethician: ethicist
149 ex officiis: ex officio
150 exculpative: exculpatory
151 exigeant: exigent
152 exigence: exigency
153 exotism: exoticism
154 expedience: expediency
155 expediential: expedient
156 extensible: extendable
157 eying: eyeing
158 fiefdom: fief
159 flagrance: flagrancy
160 flatulency: flatulence
161 fraudful: fraudulent
162 funebrial: funereal
163 geographical: geographic
164 geometrical: geometric
165 gerry-rigged: jury-rigged
166 goatherder: goatherd
167 gustatorial: gustatory
168 habitude: habit
169 henceforward: henceforth
170 hesitance: hesitancy
171 heterogenous: heterogeneous
172 hierarchic: hierarchical
173 hindermost: hindmost
174 honorand: honoree
175 hypostasize: hypostatize
176 hysteric: hysterical
177 idolatrize: idolize
178 impanel: empanel
179 imperviable: impervious
180 importunacy: importunity
181 impotency: impotence
182 imprimatura: imprimatur
183 improprietous: improper
184 inalterable: unalterable
185 incitation: incitement
186 incommunicative: uncommunicative
187 inconsistence: inconsistency
188 incontrollable: uncontrollable
189 incurment: incurrence
190 indow: endow
191 indue: endue
192 inhibitive: inhibitory
193 innavigable: unnavigable
194 innovational: innovative
195 inquisitional: inquisitorial
196 insistment: insistence
197 insolvable: unsolvable
198 instillment: instillation
199 instinctual: instinctive
200 insuror: insurer
201 insurrectional: insurrectionary
202 interpretate: interpret
203 intervenience: intervention
204 ironical: ironic
205 jerry-rigged: jury-rigged
206 judgmatic: judgmental
207 labyrinthian: labyrinthine
208 laudative: laudatory
209 legitimatization: legitimation
210 legitimatize: legitimize
211 legitimization: legitimation
212 lengthways: lengthwise
213 life-sized: life-size
214 liquorice: licorice
215 lithesome: lithe
216 lollipop: lollypop
217 loth: loath
218 lubricous: lubricious
219 maihem: mayhem
220 medicinal marijuana: medical marijuana
221 meliorate: ameliorate
222 minimalize: minimize
223 mirk: murk
224 mirky: murky
225 misdoubt: doubt
226 monetarize: monetize
227 moveable: movable
228 narcism: narcissism
229 neglective: neglectful
230 negligency: negligence
231 neologizer: neologist
232 neurologic: neurological
233 nicknack: knickknack
234 nictate: nictitate
235 nonenforceable: unenforceable
236 normalcy: normality
237 numbedness: numbness
238 omittable: omissible
239 onomatopoetic: onomatopoeic
240 opinioned: opined
241 optimum advantage: optimal advantage
242 orientate: orient
243 outsized: outsize
244 oversized: oversize
245 overthrowal: overthrow
246 pacificist: pacifist
247 paederast: pederast
248 parachronism: anachronism
249 parti-color: parti-colored
250 participative: participatory
251 party-colored: parti-colored
252 pediatrist: pediatrician
253 penumbrous: penumbral
254 perjorative: pejorative
255 permissory: permissive
256 permutate: permute
257 personation: impersonation
258 pharmaceutic: pharmaceutical
259 pleuritis: pleurisy
260 policy holder: policyholder
261 policyowner: policyholder
262 politicalize: politicize
263 precedency: precedence
264 preceptoral: preceptorial
265 precipitance: precipitancy
266 precipitant: precipitate
267 preclusory: preclusive
268 precolumbian: pre-Columbian
269 prefectoral: prefectorial
270 preponderately: preponderantly
271 preserval: preservation
272 preventative: preventive
273 proconsulship: proconsulate
274 procreational: procreative
275 procurance: procurement
276 propelment: propulsion
277 propulsory: propulsive
278 prosecutive: prosecutory
279 protectory: protective
280 provocatory: provocative
281 pruriency: prurience
282 psychal: psychical
283 punitory: punitive
284 quantitate: quantify
285 questionary: questionnaire
286 quiescency: quiescence
287 rabbin: rabbi
288 reasonability: reasonableness
289 recidivistic: recidivous
290 recriminative: recriminatory
291 recruital: recruitment
292 recurrency: recurrence
293 recusance: recusancy
294 recusation: recusal
295 recusement: recusal
296 redemptory: redemptive
297 referrable: referable
298 referrible: referable
299 refutatory: refutative
300 remitment: remittance
301 remittal: remission
302 renouncement: renunciation
303 renunciable: renounceable
304 reparatory: reparative
305 repudiative: repudiatory
306 requitement: requital
307 rescindment: rescission
308 restoral: restoration
309 reticency: reticence
310 reviewal: review
311 revisal: revision
312 revisional: revisionary
313 revolute: revolt
314 saliency: salience
315 salutiferous: salutary
316 sensatory: sensory
317 sessionary: sessional
318 shareowner: shareholder
319 sicklily: sickly
320 signator: signatory
321 slanderize: slander
322 societary: societal
323 sodomist: sodomite
324 solicitate: solicit
325 speculatory: speculative
326 spiritous: spirituous
327 statutorial: statutory
328 submergeable: submersible
329 submittal: submission
330 subtile: subtle
331 succuba: succubus
332 sufficience: sufficiency
333 suppliant: supplicant
334 surmisal: surmise
335 suspendible: suspendable
336 synthetize: synthesize
337 systemize: systematize
338 tactual: tactile
339 tangental: tangential
340 tautologous: tautological
341 tee-shirt: T-shirt
342 thenceforward: thenceforth
343 transiency: transience
344 transposal: transposition
345 unfrequent: infrequent
346 unreasonability: unreasonableness
347 unrevokable: irrevocable
348 unsubstantial: insubstantial
349 usurpature: usurpation
350 variative: variational
351 vegetive: vegetative
352 vindicative: vindictive
353 vituperous: vituperative
354 vociferant: vociferous
355 volitive: volitional
356 wolverene: wolverine
357 wolvish: wolfish
358 Zoroastrism: Zoroastrianism

vale/vale/styles/proselint/Nonwords.yml

Deleted
deleted file mode 100644

+0 / −38 text lines

1extends: substitution
2message: "Consider using '%s' instead of '%s'."
3ignorecase: true
4level: error
5action:
6 name: replace
7swap:
8 affrontery: effrontery
9 analyzation: analysis
10 annoyment: annoyance
11 confirmant: confirmand
12 confirmants: confirmands
13 conversate: converse
14 crained: cranded
15 discomforture: discomfort|discomfiture
16 dispersement: disbursement|dispersal
17 doubtlessly: doubtless|undoubtedly
18 forebearance: forbearance
19 improprietous: improper
20 inclimate: inclement
21 inimicable: inimical
22 irregardless: regardless
23 minimalize: minimize
24 minimalized: minimized
25 minimalizes: minimizes
26 minimalizing: minimizing
27 optimalize: optimize
28 paralyzation: paralysis
29 pettifogger: pettifog
30 proprietous: proper
31 relative inexpense: relatively low price|affordability
32 seldomly: seldom
33 thusly: thus
34 uncategorically: categorically
35 undoubtably: undoubtedly|indubitably
36 unequivocable: unequivocal
37 unmercilessly: mercilessly
38 unrelentlessly: unrelentingly|relentlessly

vale/vale/styles/proselint/Oxymorons.yml

Deleted
deleted file mode 100644

+0 / −22 text lines

1extends: existence
2message: "'%s' is an oxymoron."
3ignorecase: true
4level: error
5tokens:
6 - amateur expert
7 - increasingly less
8 - advancing backwards
9 - alludes explicitly to
10 - explicitly alludes to
11 - totally obsolescent
12 - completely obsolescent
13 - generally always
14 - usually always
15 - increasingly less
16 - build down
17 - conspicuous absence
18 - exact estimate
19 - found missing
20 - intense apathy
21 - mandatory choice
22 - organized mess

vale/vale/styles/proselint/P-Value.yml

Deleted
deleted file mode 100644

+0 / −6 text lines

1extends: existence
2message: "You should use more decimal places, unless '%s' is really true."
3ignorecase: true
4level: suggestion
5tokens:
6 - 'p = 0\.0{2,4}'

vale/vale/styles/proselint/RASSyndrome.yml

Deleted
deleted file mode 100644

+0 / −30 text lines

1extends: existence
2message: "'%s' is redundant."
3level: error
4action:
5 name: edit
6 params:
7 - split
8 - ' '
9 - '0'
10tokens:
11 - ABM missile
12 - ACT test
13 - ABM missiles
14 - ABS braking system
15 - ATM machine
16 - CD disc
17 - CPI Index
18 - GPS system
19 - GUI interface
20 - HIV virus
21 - ISBN number
22 - LCD display
23 - PDF format
24 - PIN number
25 - RAS syndrome
26 - RIP in peace
27 - please RSVP
28 - SALT talks
29 - SAT test
30 - UPC codes

vale/vale/styles/proselint/README.md

Deleted
deleted file mode 100644

+0 / −12 text lines

1Copyright © 2014–2015, Jordan Suchow, Michael Pacer, and Lara A. Ross
2All rights reserved.
3
4Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5
61. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7
82. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
9
103. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
12THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

vale/vale/styles/proselint/Skunked.yml

Deleted
deleted file mode 100644

+0 / −13 text lines

1extends: existence
2message: "'%s' is a bit of a skunked term — impossible to use without issue."
3ignorecase: true
4level: error
5tokens:
6 - bona fides
7 - deceptively
8 - decimate
9 - effete
10 - fulsome
11 - hopefully
12 - impassionate
13 - Thankfully

vale/vale/styles/proselint/Spelling.yml

Deleted
deleted file mode 100644

+0 / −17 text lines

1extends: consistency
2message: "Inconsistent spelling of '%s'."
3level: error
4ignorecase: true
5either:
6 advisor: adviser
7 centre: center
8 colour: color
9 emphasise: emphasize
10 finalise: finalize
11 focussed: focused
12 labour: labor
13 learnt: learned
14 organise: organize
15 organised: organized
16 organising: organizing
17 recognise: recognize

vale/vale/styles/proselint/Typography.yml

Deleted
deleted file mode 100644

+0 / −11 text lines

1extends: substitution
2message: Consider using the '%s' symbol instead of '%s'.
3level: error
4nonword: true
5swap:
6 '\.\.\.': …
7 '\([cC]\)': ©
8 '\(TM\)': ™
9 '\(tm\)': ™
10 '\([rR]\)': ®
11 '[0-9]+ ?x ?[0-9]+': ×

vale/vale/styles/proselint/Uncomparables.yml

Deleted
deleted file mode 100644

+0 / −50 text lines

1extends: existence
2message: "'%s' is not comparable"
3ignorecase: true
4level: error
5action:
6 name: edit
7 params:
8 - split
9 - ' '
10 - '1'
11raw:
12 - \b(?:absolutely|most|more|less|least|very|quite|largely|extremely|increasingly|kind of|mildy|hardly|greatly|sort of)\b\s*
13tokens:
14 - absolute
15 - adequate
16 - complete
17 - correct
18 - certain
19 - devoid
20 - entire
21 - 'false'
22 - fatal
23 - favorite
24 - final
25 - ideal
26 - impossible
27 - inevitable
28 - infinite
29 - irrevocable
30 - main
31 - manifest
32 - only
33 - paramount
34 - perfect
35 - perpetual
36 - possible
37 - preferable
38 - principal
39 - singular
40 - stationary
41 - sufficient
42 - 'true'
43 - unanimous
44 - unavoidable
45 - unbroken
46 - uniform
47 - unique
48 - universal
49 - void
50 - whole

vale/vale/styles/proselint/Very.yml

Deleted
deleted file mode 100644

+0 / −6 text lines

1extends: existence
2message: "Remove '%s'."
3ignorecase: true
4level: error
5tokens:
6 - very

vale/vale/styles/proselint/meta.json

Deleted
deleted file mode 100644

+0 / −17 text lines

1{
2 "author": "jdkato",
3 "description": "A Vale-compatible implementation of the proselint linter.",
4 "email": "support@errata.ai",
5 "lang": "en",
6 "url": "https://github.com/errata-ai/proselint/releases/latest/download/proselint.zip",
7 "feed": "https://github.com/errata-ai/proselint/releases.atom",
8 "issues": "https://github.com/errata-ai/proselint/issues/new",
9 "license": "BSD-3-Clause",
10 "name": "proselint",
11 "sources": [
12 "https://github.com/amperser/proselint"
13 ],
14 "vale_version": ">=1.0.0",
15 "coverage": 0.0,
16 "version": "0.1.0"
17}

vale/vale/styles/write-good/Cliches.yml

Deleted
deleted file mode 100644

+0 / −702 text lines

1extends: existence
2message: "Try to avoid using clichés like '%s'."
3ignorecase: true
4level: warning
5tokens:
6 - a chip off the old block
7 - a clean slate
8 - a dark and stormy night
9 - a far cry
10 - a fine kettle of fish
11 - a loose cannon
12 - a penny saved is a penny earned
13 - a tough row to hoe
14 - a word to the wise
15 - ace in the hole
16 - acid test
17 - add insult to injury
18 - against all odds
19 - air your dirty laundry
20 - all fun and games
21 - all in a day's work
22 - all talk, no action
23 - all thumbs
24 - all your eggs in one basket
25 - all's fair in love and war
26 - all's well that ends well
27 - almighty dollar
28 - American as apple pie
29 - an axe to grind
30 - another day, another dollar
31 - armed to the teeth
32 - as luck would have it
33 - as old as time
34 - as the crow flies
35 - at loose ends
36 - at my wits end
37 - avoid like the plague
38 - babe in the woods
39 - back against the wall
40 - back in the saddle
41 - back to square one
42 - back to the drawing board
43 - bad to the bone
44 - badge of honor
45 - bald faced liar
46 - ballpark figure
47 - banging your head against a brick wall
48 - baptism by fire
49 - barking up the wrong tree
50 - bat out of hell
51 - be all and end all
52 - beat a dead horse
53 - beat around the bush
54 - been there, done that
55 - beggars can't be choosers
56 - behind the eight ball
57 - bend over backwards
58 - benefit of the doubt
59 - bent out of shape
60 - best thing since sliced bread
61 - bet your bottom dollar
62 - better half
63 - better late than never
64 - better mousetrap
65 - better safe than sorry
66 - between a rock and a hard place
67 - beyond the pale
68 - bide your time
69 - big as life
70 - big cheese
71 - big fish in a small pond
72 - big man on campus
73 - bigger they are the harder they fall
74 - bird in the hand
75 - bird's eye view
76 - birds and the bees
77 - birds of a feather flock together
78 - bit the hand that feeds you
79 - bite the bullet
80 - bite the dust
81 - bitten off more than he can chew
82 - black as coal
83 - black as pitch
84 - black as the ace of spades
85 - blast from the past
86 - bleeding heart
87 - blessing in disguise
88 - blind ambition
89 - blind as a bat
90 - blind leading the blind
91 - blood is thicker than water
92 - blood sweat and tears
93 - blow off steam
94 - blow your own horn
95 - blushing bride
96 - boils down to
97 - bolt from the blue
98 - bone to pick
99 - bored stiff
100 - bored to tears
101 - bottomless pit
102 - boys will be boys
103 - bright and early
104 - brings home the bacon
105 - broad across the beam
106 - broken record
107 - brought back to reality
108 - bull by the horns
109 - bull in a china shop
110 - burn the midnight oil
111 - burning question
112 - burning the candle at both ends
113 - burst your bubble
114 - bury the hatchet
115 - busy as a bee
116 - by hook or by crook
117 - call a spade a spade
118 - called onto the carpet
119 - calm before the storm
120 - can of worms
121 - can't cut the mustard
122 - can't hold a candle to
123 - case of mistaken identity
124 - cat got your tongue
125 - cat's meow
126 - caught in the crossfire
127 - caught red-handed
128 - checkered past
129 - chomping at the bit
130 - cleanliness is next to godliness
131 - clear as a bell
132 - clear as mud
133 - close to the vest
134 - cock and bull story
135 - cold shoulder
136 - come hell or high water
137 - cool as a cucumber
138 - cool, calm, and collected
139 - cost a king's ransom
140 - count your blessings
141 - crack of dawn
142 - crash course
143 - creature comforts
144 - cross that bridge when you come to it
145 - crushing blow
146 - cry like a baby
147 - cry me a river
148 - cry over spilt milk
149 - crystal clear
150 - curiosity killed the cat
151 - cut and dried
152 - cut through the red tape
153 - cut to the chase
154 - cute as a bugs ear
155 - cute as a button
156 - cute as a puppy
157 - cuts to the quick
158 - dark before the dawn
159 - day in, day out
160 - dead as a doornail
161 - devil is in the details
162 - dime a dozen
163 - divide and conquer
164 - dog and pony show
165 - dog days
166 - dog eat dog
167 - dog tired
168 - don't burn your bridges
169 - don't count your chickens
170 - don't look a gift horse in the mouth
171 - don't rock the boat
172 - don't step on anyone's toes
173 - don't take any wooden nickels
174 - down and out
175 - down at the heels
176 - down in the dumps
177 - down the hatch
178 - down to earth
179 - draw the line
180 - dressed to kill
181 - dressed to the nines
182 - drives me up the wall
183 - dull as dishwater
184 - dyed in the wool
185 - eagle eye
186 - ear to the ground
187 - early bird catches the worm
188 - easier said than done
189 - easy as pie
190 - eat your heart out
191 - eat your words
192 - eleventh hour
193 - even the playing field
194 - every dog has its day
195 - every fiber of my being
196 - everything but the kitchen sink
197 - eye for an eye
198 - face the music
199 - facts of life
200 - fair weather friend
201 - fall by the wayside
202 - fan the flames
203 - feast or famine
204 - feather your nest
205 - feathered friends
206 - few and far between
207 - fifteen minutes of fame
208 - filthy vermin
209 - fine kettle of fish
210 - fish out of water
211 - fishing for a compliment
212 - fit as a fiddle
213 - fit the bill
214 - fit to be tied
215 - flash in the pan
216 - flat as a pancake
217 - flip your lid
218 - flog a dead horse
219 - fly by night
220 - fly the coop
221 - follow your heart
222 - for all intents and purposes
223 - for the birds
224 - for what it's worth
225 - force of nature
226 - force to be reckoned with
227 - forgive and forget
228 - fox in the henhouse
229 - free and easy
230 - free as a bird
231 - fresh as a daisy
232 - full steam ahead
233 - fun in the sun
234 - garbage in, garbage out
235 - gentle as a lamb
236 - get a kick out of
237 - get a leg up
238 - get down and dirty
239 - get the lead out
240 - get to the bottom of
241 - get your feet wet
242 - gets my goat
243 - gilding the lily
244 - give and take
245 - go against the grain
246 - go at it tooth and nail
247 - go for broke
248 - go him one better
249 - go the extra mile
250 - go with the flow
251 - goes without saying
252 - good as gold
253 - good deed for the day
254 - good things come to those who wait
255 - good time was had by all
256 - good times were had by all
257 - greased lightning
258 - greek to me
259 - green thumb
260 - green-eyed monster
261 - grist for the mill
262 - growing like a weed
263 - hair of the dog
264 - hand to mouth
265 - happy as a clam
266 - happy as a lark
267 - hasn't a clue
268 - have a nice day
269 - have high hopes
270 - have the last laugh
271 - haven't got a row to hoe
272 - head honcho
273 - head over heels
274 - hear a pin drop
275 - heard it through the grapevine
276 - heart's content
277 - heavy as lead
278 - hem and haw
279 - high and dry
280 - high and mighty
281 - high as a kite
282 - hit paydirt
283 - hold your head up high
284 - hold your horses
285 - hold your own
286 - hold your tongue
287 - honest as the day is long
288 - horns of a dilemma
289 - horse of a different color
290 - hot under the collar
291 - hour of need
292 - I beg to differ
293 - icing on the cake
294 - if the shoe fits
295 - if the shoe were on the other foot
296 - in a jam
297 - in a jiffy
298 - in a nutshell
299 - in a pig's eye
300 - in a pinch
301 - in a word
302 - in hot water
303 - in the gutter
304 - in the nick of time
305 - in the thick of it
306 - in your dreams
307 - it ain't over till the fat lady sings
308 - it goes without saying
309 - it takes all kinds
310 - it takes one to know one
311 - it's a small world
312 - it's only a matter of time
313 - ivory tower
314 - Jack of all trades
315 - jockey for position
316 - jog your memory
317 - joined at the hip
318 - judge a book by its cover
319 - jump down your throat
320 - jump in with both feet
321 - jump on the bandwagon
322 - jump the gun
323 - jump to conclusions
324 - just a hop, skip, and a jump
325 - just the ticket
326 - justice is blind
327 - keep a stiff upper lip
328 - keep an eye on
329 - keep it simple, stupid
330 - keep the home fires burning
331 - keep up with the Joneses
332 - keep your chin up
333 - keep your fingers crossed
334 - kick the bucket
335 - kick up your heels
336 - kick your feet up
337 - kid in a candy store
338 - kill two birds with one stone
339 - kiss of death
340 - knock it out of the park
341 - knock on wood
342 - knock your socks off
343 - know him from Adam
344 - know the ropes
345 - know the score
346 - knuckle down
347 - knuckle sandwich
348 - knuckle under
349 - labor of love
350 - ladder of success
351 - land on your feet
352 - lap of luxury
353 - last but not least
354 - last hurrah
355 - last-ditch effort
356 - law of the jungle
357 - law of the land
358 - lay down the law
359 - leaps and bounds
360 - let sleeping dogs lie
361 - let the cat out of the bag
362 - let the good times roll
363 - let your hair down
364 - let's talk turkey
365 - letter perfect
366 - lick your wounds
367 - lies like a rug
368 - life's a bitch
369 - life's a grind
370 - light at the end of the tunnel
371 - lighter than a feather
372 - lighter than air
373 - like clockwork
374 - like father like son
375 - like taking candy from a baby
376 - like there's no tomorrow
377 - lion's share
378 - live and learn
379 - live and let live
380 - long and short of it
381 - long lost love
382 - look before you leap
383 - look down your nose
384 - look what the cat dragged in
385 - looking a gift horse in the mouth
386 - looks like death warmed over
387 - loose cannon
388 - lose your head
389 - lose your temper
390 - loud as a horn
391 - lounge lizard
392 - loved and lost
393 - low man on the totem pole
394 - luck of the draw
395 - luck of the Irish
396 - make hay while the sun shines
397 - make money hand over fist
398 - make my day
399 - make the best of a bad situation
400 - make the best of it
401 - make your blood boil
402 - man of few words
403 - man's best friend
404 - mark my words
405 - meaningful dialogue
406 - missed the boat on that one
407 - moment in the sun
408 - moment of glory
409 - moment of truth
410 - money to burn
411 - more power to you
412 - more than one way to skin a cat
413 - movers and shakers
414 - moving experience
415 - naked as a jaybird
416 - naked truth
417 - neat as a pin
418 - needle in a haystack
419 - needless to say
420 - neither here nor there
421 - never look back
422 - never say never
423 - nip and tuck
424 - nip it in the bud
425 - no guts, no glory
426 - no love lost
427 - no pain, no gain
428 - no skin off my back
429 - no stone unturned
430 - no time like the present
431 - no use crying over spilled milk
432 - nose to the grindstone
433 - not a hope in hell
434 - not a minute's peace
435 - not in my backyard
436 - not playing with a full deck
437 - not the end of the world
438 - not written in stone
439 - nothing to sneeze at
440 - nothing ventured nothing gained
441 - now we're cooking
442 - off the top of my head
443 - off the wagon
444 - off the wall
445 - old hat
446 - older and wiser
447 - older than dirt
448 - older than Methuselah
449 - on a roll
450 - on cloud nine
451 - on pins and needles
452 - on the bandwagon
453 - on the money
454 - on the nose
455 - on the rocks
456 - on the spot
457 - on the tip of my tongue
458 - on the wagon
459 - on thin ice
460 - once bitten, twice shy
461 - one bad apple doesn't spoil the bushel
462 - one born every minute
463 - one brick short
464 - one foot in the grave
465 - one in a million
466 - one red cent
467 - only game in town
468 - open a can of worms
469 - open and shut case
470 - open the flood gates
471 - opportunity doesn't knock twice
472 - out of pocket
473 - out of sight, out of mind
474 - out of the frying pan into the fire
475 - out of the woods
476 - out on a limb
477 - over a barrel
478 - over the hump
479 - pain and suffering
480 - pain in the
481 - panic button
482 - par for the course
483 - part and parcel
484 - party pooper
485 - pass the buck
486 - patience is a virtue
487 - pay through the nose
488 - penny pincher
489 - perfect storm
490 - pig in a poke
491 - pile it on
492 - pillar of the community
493 - pin your hopes on
494 - pitter patter of little feet
495 - plain as day
496 - plain as the nose on your face
497 - play by the rules
498 - play your cards right
499 - playing the field
500 - playing with fire
501 - pleased as punch
502 - plenty of fish in the sea
503 - point with pride
504 - poor as a church mouse
505 - pot calling the kettle black
506 - pretty as a picture
507 - pull a fast one
508 - pull your punches
509 - pulling your leg
510 - pure as the driven snow
511 - put it in a nutshell
512 - put one over on you
513 - put the cart before the horse
514 - put the pedal to the metal
515 - put your best foot forward
516 - put your foot down
517 - quick as a bunny
518 - quick as a lick
519 - quick as a wink
520 - quick as lightning
521 - quiet as a dormouse
522 - rags to riches
523 - raining buckets
524 - raining cats and dogs
525 - rank and file
526 - rat race
527 - reap what you sow
528 - red as a beet
529 - red herring
530 - reinvent the wheel
531 - rich and famous
532 - rings a bell
533 - ripe old age
534 - ripped me off
535 - rise and shine
536 - road to hell is paved with good intentions
537 - rob Peter to pay Paul
538 - roll over in the grave
539 - rub the wrong way
540 - ruled the roost
541 - running in circles
542 - sad but true
543 - sadder but wiser
544 - salt of the earth
545 - scared stiff
546 - scared to death
547 - sealed with a kiss
548 - second to none
549 - see eye to eye
550 - seen the light
551 - seize the day
552 - set the record straight
553 - set the world on fire
554 - set your teeth on edge
555 - sharp as a tack
556 - shoot for the moon
557 - shoot the breeze
558 - shot in the dark
559 - shoulder to the wheel
560 - sick as a dog
561 - sigh of relief
562 - signed, sealed, and delivered
563 - sink or swim
564 - six of one, half a dozen of another
565 - skating on thin ice
566 - slept like a log
567 - slinging mud
568 - slippery as an eel
569 - slow as molasses
570 - smart as a whip
571 - smooth as a baby's bottom
572 - sneaking suspicion
573 - snug as a bug in a rug
574 - sow wild oats
575 - spare the rod, spoil the child
576 - speak of the devil
577 - spilled the beans
578 - spinning your wheels
579 - spitting image of
580 - spoke with relish
581 - spread like wildfire
582 - spring to life
583 - squeaky wheel gets the grease
584 - stands out like a sore thumb
585 - start from scratch
586 - stick in the mud
587 - still waters run deep
588 - stitch in time
589 - stop and smell the roses
590 - straight as an arrow
591 - straw that broke the camel's back
592 - strong as an ox
593 - stubborn as a mule
594 - stuff that dreams are made of
595 - stuffed shirt
596 - sweating blood
597 - sweating bullets
598 - take a load off
599 - take one for the team
600 - take the bait
601 - take the bull by the horns
602 - take the plunge
603 - takes one to know one
604 - takes two to tango
605 - the more the merrier
606 - the real deal
607 - the real McCoy
608 - the red carpet treatment
609 - the same old story
610 - there is no accounting for taste
611 - thick as a brick
612 - thick as thieves
613 - thin as a rail
614 - think outside of the box
615 - third time's the charm
616 - this day and age
617 - this hurts me worse than it hurts you
618 - this point in time
619 - three sheets to the wind
620 - through thick and thin
621 - throw in the towel
622 - tie one on
623 - tighter than a drum
624 - time and time again
625 - time is of the essence
626 - tip of the iceberg
627 - tired but happy
628 - to coin a phrase
629 - to each his own
630 - to make a long story short
631 - to the best of my knowledge
632 - toe the line
633 - tongue in cheek
634 - too good to be true
635 - too hot to handle
636 - too numerous to mention
637 - touch with a ten foot pole
638 - tough as nails
639 - trial and error
640 - trials and tribulations
641 - tried and true
642 - trip down memory lane
643 - twist of fate
644 - two cents worth
645 - two peas in a pod
646 - ugly as sin
647 - under the counter
648 - under the gun
649 - under the same roof
650 - under the weather
651 - until the cows come home
652 - unvarnished truth
653 - up the creek
654 - uphill battle
655 - upper crust
656 - upset the applecart
657 - vain attempt
658 - vain effort
659 - vanquish the enemy
660 - vested interest
661 - waiting for the other shoe to drop
662 - wakeup call
663 - warm welcome
664 - watch your p's and q's
665 - watch your tongue
666 - watching the clock
667 - water under the bridge
668 - weather the storm
669 - weed them out
670 - week of Sundays
671 - went belly up
672 - wet behind the ears
673 - what goes around comes around
674 - what you see is what you get
675 - when it rains, it pours
676 - when push comes to shove
677 - when the cat's away
678 - when the going gets tough, the tough get going
679 - white as a sheet
680 - whole ball of wax
681 - whole hog
682 - whole nine yards
683 - wild goose chase
684 - will wonders never cease?
685 - wisdom of the ages
686 - wise as an owl
687 - wolf at the door
688 - words fail me
689 - work like a dog
690 - world weary
691 - worst nightmare
692 - worth its weight in gold
693 - wrong side of the bed
694 - yanking your chain
695 - yappy as a dog
696 - years young
697 - you are what you eat
698 - you can run but you can't hide
699 - you only live once
700 - you're the boss
701 - young and foolish
702 - young and vibrant

vale/vale/styles/write-good/E-Prime.yml

Deleted
deleted file mode 100644

+0 / −32 text lines

1extends: existence
2message: "Try to avoid using '%s'."
3ignorecase: true
4level: suggestion
5tokens:
6 - am
7 - are
8 - aren't
9 - be
10 - been
11 - being
12 - he's
13 - here's
14 - here's
15 - how's
16 - i'm
17 - is
18 - isn't
19 - it's
20 - she's
21 - that's
22 - there's
23 - they're
24 - was
25 - wasn't
26 - we're
27 - were
28 - weren't
29 - what's
30 - where's
31 - who's
32 - you're

vale/vale/styles/write-good/Illusions.yml

Deleted
deleted file mode 100644

+0 / −11 text lines

1extends: repetition
2message: "'%s' is repeated!"
3level: warning
4alpha: true
5action:
6 name: edit
7 params:
8 - truncate
9 - " "
10tokens:
11 - '[^\s]+'

vale/vale/styles/write-good/Passive.yml

Deleted
deleted file mode 100644

+0 / −183 text lines

1extends: existence
2message: "'%s' may be passive voice. Use active voice if you can."
3ignorecase: true
4level: warning
5raw:
6 - \b(am|are|were|being|is|been|was|be)\b\s*
7tokens:
8 - '[\w]+ed'
9 - awoken
10 - beat
11 - become
12 - been
13 - begun
14 - bent
15 - beset
16 - bet
17 - bid
18 - bidden
19 - bitten
20 - bled
21 - blown
22 - born
23 - bought
24 - bound
25 - bred
26 - broadcast
27 - broken
28 - brought
29 - built
30 - burnt
31 - burst
32 - cast
33 - caught
34 - chosen
35 - clung
36 - come
37 - cost
38 - crept
39 - cut
40 - dealt
41 - dived
42 - done
43 - drawn
44 - dreamt
45 - driven
46 - drunk
47 - dug
48 - eaten
49 - fallen
50 - fed
51 - felt
52 - fit
53 - fled
54 - flown
55 - flung
56 - forbidden
57 - foregone
58 - forgiven
59 - forgotten
60 - forsaken
61 - fought
62 - found
63 - frozen
64 - given
65 - gone
66 - gotten
67 - ground
68 - grown
69 - heard
70 - held
71 - hidden
72 - hit
73 - hung
74 - hurt
75 - kept
76 - knelt
77 - knit
78 - known
79 - laid
80 - lain
81 - leapt
82 - learnt
83 - led
84 - left
85 - lent
86 - let
87 - lighted
88 - lost
89 - made
90 - meant
91 - met
92 - misspelt
93 - mistaken
94 - mown
95 - overcome
96 - overdone
97 - overtaken
98 - overthrown
99 - paid
100 - pled
101 - proven
102 - put
103 - quit
104 - read
105 - rid
106 - ridden
107 - risen
108 - run
109 - rung
110 - said
111 - sat
112 - sawn
113 - seen
114 - sent
115 - set
116 - sewn
117 - shaken
118 - shaven
119 - shed
120 - shod
121 - shone
122 - shorn
123 - shot
124 - shown
125 - shrunk
126 - shut
127 - slain
128 - slept
129 - slid
130 - slit
131 - slung
132 - smitten
133 - sold
134 - sought
135 - sown
136 - sped
137 - spent
138 - spilt
139 - spit
140 - split
141 - spoken
142 - spread
143 - sprung
144 - spun
145 - stolen
146 - stood
147 - stridden
148 - striven
149 - struck
150 - strung
151 - stuck
152 - stung
153 - stunk
154 - sung
155 - sunk
156 - swept
157 - swollen
158 - sworn
159 - swum
160 - swung
161 - taken
162 - taught
163 - thought
164 - thrived
165 - thrown
166 - thrust
167 - told
168 - torn
169 - trodden
170 - understood
171 - upheld
172 - upset
173 - wed
174 - wept
175 - withheld
176 - withstood
177 - woken
178 - won
179 - worn
180 - wound
181 - woven
182 - written
183 - wrung

vale/vale/styles/write-good/README.md

Deleted
deleted file mode 100644

+0 / −27 text lines

1Based on [write-good](https://github.com/btford/write-good).
2
3> Naive linter for English prose for developers who can't write good and wanna learn to do other stuff good too.
4
5```
6The MIT License (MIT)
7
8Copyright (c) 2014 Brian Ford
9
10Permission is hereby granted, free of charge, to any person obtaining a copy
11of this software and associated documentation files (the "Software"), to deal
12in the Software without restriction, including without limitation the rights
13to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14copies of the Software, and to permit persons to whom the Software is
15furnished to do so, subject to the following conditions:
17The above copyright notice and this permission notice shall be included in all
18copies or substantial portions of the Software.
20THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26SOFTWARE.
27```

vale/vale/styles/write-good/So.yml

Deleted
deleted file mode 100644

+0 / −5 text lines

1extends: existence
2message: "Don't start a sentence with '%s'."
3level: error
4raw:
5 - '(?:[;-]\s)so[\s,]|\bSo[\s,]'

vale/vale/styles/write-good/ThereIs.yml

Deleted
deleted file mode 100644

+0 / −6 text lines

1extends: existence
2message: "Don't start a sentence with '%s'."
3ignorecase: false
4level: error
5raw:
6 - '(?:[;-]\s)There\s(is|are)|\bThere\s(is|are)\b'

vale/vale/styles/write-good/TooWordy.yml

Deleted
deleted file mode 100644

+0 / −221 text lines

1extends: existence
2message: "'%s' is too wordy."
3ignorecase: true
4level: warning
5tokens:
6 - a number of
7 - abundance
8 - accede to
9 - accelerate
10 - accentuate
11 - accompany
12 - accomplish
13 - accorded
14 - accrue
15 - acquiesce
16 - acquire
17 - additional
18 - adjacent to
19 - adjustment
20 - admissible
21 - advantageous
22 - adversely impact
23 - advise
24 - aforementioned
25 - aggregate
26 - aircraft
27 - all of
28 - all things considered
29 - alleviate
30 - allocate
31 - along the lines of
32 - already existing
33 - alternatively
34 - amazing
35 - ameliorate
36 - anticipate
37 - apparent
38 - appreciable
39 - as a matter of fact
40 - as a means of
41 - as far as I'm concerned
42 - as of yet
43 - as to
44 - as yet
45 - ascertain
46 - assistance
47 - at the present time
48 - at this time
49 - attain
50 - attributable to
51 - authorize
52 - because of the fact that
53 - belated
54 - benefit from
55 - bestow
56 - by means of
57 - by virtue of
58 - by virtue of the fact that
59 - cease
60 - close proximity
61 - commence
62 - comply with
63 - concerning
64 - consequently
65 - consolidate
66 - constitutes
67 - demonstrate
68 - depart
69 - designate
70 - discontinue
71 - due to the fact that
72 - each and every
73 - economical
74 - eliminate
75 - elucidate
76 - employ
77 - endeavor
78 - enumerate
79 - equitable
80 - equivalent
81 - evaluate
82 - evidenced
83 - exclusively
84 - expedite
85 - expend
86 - expiration
87 - facilitate
88 - factual evidence
89 - feasible
90 - finalize
91 - first and foremost
92 - for all intents and purposes
93 - for the most part
94 - for the purpose of
95 - forfeit
96 - formulate
97 - have a tendency to
98 - honest truth
99 - however
100 - if and when
101 - impacted
102 - implement
103 - in a manner of speaking
104 - in a timely manner
105 - in a very real sense
106 - in accordance with
107 - in addition
108 - in all likelihood
109 - in an effort to
110 - in between
111 - in excess of
112 - in lieu of
113 - in light of the fact that
114 - in many cases
115 - in my opinion
116 - in order to
117 - in regard to
118 - in some instances
119 - in terms of
120 - in the case of
121 - in the event that
122 - in the final analysis
123 - in the nature of
124 - in the near future
125 - in the process of
126 - inception
127 - incumbent upon
128 - indicate
129 - indication
130 - initiate
131 - irregardless
132 - is applicable to
133 - is authorized to
134 - is responsible for
135 - it is
136 - it is essential
137 - it seems that
138 - it was
139 - magnitude
140 - maximum
141 - methodology
142 - minimize
143 - minimum
144 - modify
145 - monitor
146 - multiple
147 - necessitate
148 - nevertheless
149 - not certain
150 - not many
151 - not often
152 - not unless
153 - not unlike
154 - notwithstanding
155 - null and void
156 - numerous
157 - objective
158 - obligate
159 - obtain
160 - on the contrary
161 - on the other hand
162 - one particular
163 - optimum
164 - overall
165 - owing to the fact that
166 - participate
167 - particulars
168 - pass away
169 - pertaining to
170 - point in time
171 - portion
172 - possess
173 - preclude
174 - previously
175 - prior to
176 - prioritize
177 - procure
178 - proficiency
179 - provided that
180 - purchase
181 - put simply
182 - readily apparent
183 - refer back
184 - regarding
185 - relocate
186 - remainder
187 - remuneration
188 - requirement
189 - reside
190 - residence
191 - retain
192 - satisfy
193 - shall
194 - should you wish
195 - similar to
196 - solicit
197 - span across
198 - strategize
199 - subsequent
200 - substantial
201 - successfully complete
202 - sufficient
203 - terminate
204 - the month of
205 - the point I am trying to make
206 - therefore
207 - time period
208 - took advantage of
209 - transmit
210 - transpire
211 - type of
212 - until such time as
213 - utilization
214 - utilize
215 - validate
216 - various different
217 - what I mean to say is
218 - whether or not
219 - with respect to
220 - with the exception of
221 - witnessed

vale/vale/styles/write-good/Weasel.yml

Deleted
deleted file mode 100644

+0 / −207 text lines

1extends: existence
2message: "'%s' is a weasel word!"
3ignorecase: true
4level: warning
5tokens:
6 - absolutely
7 - accidentally
8 - additionally
9 - allegedly
10 - alternatively
11 - angrily
12 - anxiously
13 - approximately
14 - awkwardly
15 - badly
16 - barely
17 - beautifully
18 - blindly
19 - boldly
20 - bravely
21 - brightly
22 - briskly
23 - bristly
24 - bubbly
25 - busily
26 - calmly
27 - carefully
28 - carelessly
29 - cautiously
30 - cheerfully
31 - clearly
32 - closely
33 - coldly
34 - completely
35 - consequently
36 - correctly
37 - courageously
38 - crinkly
39 - cruelly
40 - crumbly
41 - cuddly
42 - currently
43 - daily
44 - daringly
45 - deadly
46 - definitely
47 - deliberately
48 - doubtfully
49 - dumbly
50 - eagerly
51 - early
52 - easily
53 - elegantly
54 - enormously
55 - enthusiastically
56 - equally
57 - especially
58 - eventually
59 - exactly
60 - exceedingly
61 - exclusively
62 - extremely
63 - fairly
64 - faithfully
65 - fatally
66 - fiercely
67 - finally
68 - fondly
69 - few
70 - foolishly
71 - fortunately
72 - frankly
73 - frantically
74 - generously
75 - gently
76 - giggly
77 - gladly
78 - gracefully
79 - greedily
80 - happily
81 - hardly
82 - hastily
83 - healthily
84 - heartily
85 - helpfully
86 - honestly
87 - hourly
88 - hungrily
89 - hurriedly
90 - immediately
91 - impatiently
92 - inadequately
93 - ingeniously
94 - innocently
95 - inquisitively
96 - interestingly
97 - irritably
98 - jiggly
99 - joyously
100 - justly
101 - kindly
102 - largely
103 - lately
104 - lazily
105 - likely
106 - literally
107 - lonely
108 - loosely
109 - loudly
110 - loudly
111 - luckily
112 - madly
113 - many
114 - mentally
115 - mildly
116 - monthly
117 - mortally
118 - mostly
119 - mysteriously
120 - neatly
121 - nervously
122 - nightly
123 - noisily
124 - normally
125 - obediently
126 - occasionally
127 - only
128 - openly
129 - painfully
130 - particularly
131 - patiently
132 - perfectly
133 - politely
134 - poorly
135 - powerfully
136 - presumably
137 - previously
138 - promptly
139 - punctually
140 - quarterly
141 - quickly
142 - quietly
143 - rapidly
144 - rarely
145 - really
146 - recently
147 - recklessly
148 - regularly
149 - remarkably
150 - relatively
151 - reluctantly
152 - repeatedly
153 - rightfully
154 - roughly
155 - rudely
156 - sadly
157 - safely
158 - selfishly
159 - sensibly
160 - seriously
161 - sharply
162 - shortly
163 - shyly
164 - significantly
165 - silently
166 - simply
167 - sleepily
168 - slowly
169 - smartly
170 - smelly
171 - smoothly
172 - softly
173 - solemnly
174 - sparkly
175 - speedily
176 - stealthily
177 - sternly
178 - stupidly
179 - substantially
180 - successfully
181 - suddenly
182 - surprisingly
183 - suspiciously
184 - swiftly
185 - tenderly
186 - tensely
187 - thoughtfully
188 - tightly
189 - timely
190 - truthfully
191 - unexpectedly
192 - unfortunately
193 - usually
194 - very
195 - victoriously
196 - violently
197 - vivaciously
198 - warmly
199 - waverly
200 - weakly
201 - wearily
202 - weekly
203 - wildly
204 - wisely
205 - worldly
206 - wrinkly
207 - yearly

vale/vale/styles/write-good/meta.json

Deleted
deleted file mode 100644

+0 / −4 text lines

1{
2 "feed": "https://github.com/errata-ai/write-good/releases.atom",
3 "vale_version": ">=1.0.0"
4}

x230.symlinks

Modified

+6 / −0 text lines

1010starship/starship.toml.x230
1111~/.config/starship.toml
13icc/thinkpad_x230.icc
14~/.config/icc/thinkpad_x230.icc
16indexa/config.linux.toml
17~/.config/indexa/config.toml