• Wincent
    Menu
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Teach dedent helper to default to 6 spaces (wikitext, e0ba800)

Created 2/11/2008, updated 3/5/2024
  • snippets

Now that I've converted all the specs I see that in every single case I dedenting by 6 spaces. So teach the dedent helper to assume 6 spaces if passed only one parameter.

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← Remove redundant parameters to dedent method (wikitext, f29d562)
Update ul spec to use indentation helper (wikitext, ea4a291) →

All snippets

Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell with Rust (with help from Git and Neovim).