[PR #2117] [MERGED] Add capitalize.sh #19180

Closed
opened 2026-05-11 12:42:52 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rockerBOO/awesome-neovim/pull/2117
Author: @DrKJeff16
Created: 1/21/2026
Status: ✅ Merged
Merged: 1/23/2026
Merged by: @DrKJeff16

Base: main ← Head: ci/capitalize-script


📝 Commits (1)

📊 Changes

1 file changed (+461 additions, -0 deletions)

View changed files

➕ scripts/capitalize.sh (+461 -0)

📄 Description

Description

I've made a barebones script that attempts to fix SOME common bad acronyms/capitalizations.

This is far from a complete solution but it's guaranteed to be leave [username/repo](url) fields untouched.

This will be extended in the future. I haven't accounted for ALL substitutions, but this is robust enough.

Capitalizations Searched

As of writing I've implemented semi-robust regular expressions for the following:

  • Bash
  • BSD
  • C
  • C#
  • C++
  • Cargo
  • CoffeeScript
  • Common Lisp
  • C shell
  • CSON
  • CSS
  • CSV
  • Fennel
  • FreeBSD
  • Git
  • GitHub
  • GitLab
  • Golang
  • Haskell
  • HTML
  • HTML5
  • INI
  • Java
  • JavaScript
  • JS
  • JSON
  • JSON5
  • JSONC
  • Language Server Protocol
  • LaTeX
  • Linux
  • LSP
  • Lua
  • macOS
  • MariaDB
  • Markdown
  • MySQL
  • Neovim
  • NetBSD
  • Nix
  • NixOS
  • OpenBSD
  • POSIX
  • PostgresSQL
  • PyPI
  • Python
  • Python 2
  • Python 3
  • Rails
  • ReStructuredText
  • RST
  • Ruby
  • Rust
  • SCSS
  • SQL
  • SQLite
  • StyLua
  • Tailwind CSS
  • TeX
  • TOML
  • Tree-sitter
  • TS
  • TypeScript
  • UNIX
  • Vim
  • VimL
  • Vimscript
  • Vue
  • VueJS
  • XHTML
  • XML
  • YAML
  • Zsh

Any feedback please let me know.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rockerBOO/awesome-neovim/pull/2117 **Author:** [@DrKJeff16](https://github.com/DrKJeff16) **Created:** 1/21/2026 **Status:** ✅ Merged **Merged:** 1/23/2026 **Merged by:** [@DrKJeff16](https://github.com/DrKJeff16) **Base:** `main` ← **Head:** `ci/capitalize-script` --- ### 📝 Commits (1) - [`d1c2ed3`](https://github.com/rockerBOO/awesome-neovim/commit/d1c2ed3ff5419e672d537e9f2721c718e7f3a0a6) Add `capitalize.sh` ### 📊 Changes **1 file changed** (+461 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `scripts/capitalize.sh` (+461 -0) </details> ### 📄 Description ### Description I've made a barebones script that attempts to fix SOME common bad acronyms/capitalizations. This is far from a complete solution but it's **guaranteed to be leave `[username/repo](url)` fields untouched**. This will be extended in the future. I haven't accounted for ALL substitutions, but this is robust enough. ### Capitalizations Searched As of writing I've implemented semi-robust regular expressions for the following: - `Bash` - `BSD` - `C` - `C#` - `C++` - `Cargo` - `CoffeeScript` - `Common Lisp` - `C shell` - `CSON` - `CSS` - `CSV` - `Fennel` - `FreeBSD` - `Git` - `GitHub` - `GitLab` - `Golang` - `Haskell` - `HTML` - `HTML5` - `INI` - `Java` - `JavaScript` - `JS` - `JSON` - `JSON5` - `JSONC` - `Language Server Protocol` - `LaTeX` - `Linux` - `LSP` - `Lua` - `macOS` - `MariaDB` - `Markdown` - `MySQL` - `Neovim` - `NetBSD` - `Nix` - `NixOS` - `OpenBSD` - `POSIX` - `PostgresSQL` - `PyPI` - `Python` - `Python 2` - `Python 3` - `Rails` - `ReStructuredText` - `RST` - `Ruby` - `Rust` - `SCSS` - `SQL` - `SQLite` - `StyLua` - `Tailwind CSS` - `TeX` - `TOML` - `Tree-sitter` - `TS` - `TypeScript` - `UNIX` - `Vim` - `VimL` - `Vimscript` - `Vue` - `VueJS` - `XHTML` - `XML` - `YAML` - `Zsh` --- Any feedback please let me know. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-11 12:42:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-neovim#19180