Rare find

Sleuth. Automatically detects and applies the right indentation settings for your code files.

vim.org/scripts/script.php?script_id=4375

Vaya's read on this project

Problem, audience, market, and the verdict — sign in to see it.

Updates

September 2024
  • Fix regression in {} list expansion
  • Allow deeper nesting in editorconfig globs
  • Allow more double quotes on the same line as docstring
January 2023
  • Don't set 'smarttab'
  • Try harder to detect local 'nomodeline'
  • Drop README reference to alternative plugin
  • Support b:sleuth_defaults, for symmetry with other buffer options
October 2022
  • Avoid silenced output during autocommand
June 2022
  • Stop .editorconfig hunting on empty override
May 2022
  • Avoid extra slash when getcwd() == "/"
April 2022
  • Support b:sleuth_globs, for symmetry with other buffer options
  • sleuth.vim 2.0
  • Copy buffer opt-out from Projectionist
  • Avoid double slash edge case at file system root
  • Document use of neighboring files during detection
  • Don't consider buftype=acwrite buffers to have a real filename
  • Formally deprecate g:sleuth_automatic
  • Add bash to file types with heredocs
  • Provide per-filetype defaults configuration
  • Respect b:sleuth_heuristics