Ross ROSS = Recommend OSS · open-source software intelligence for agents

tpope/vim-sleuth

sleuth.vim: Heuristically set buffer options observed · 2026-08-28

github.com/tpope/vim-sleuth · homepage · Vim Script observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4994
  • days_rel: n/a
  • days_push: 713
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2145 stars · 94 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

sleuth.vim is a Vim plugin that heuristically detects indentation settings from the current file and neighboring files, automatically setting 'shiftwidth' and 'expandtab'. It also consults modelines and EditorConfig files to set additional buffer options like 'tabstop' and 'textwidth'.

Use cases

  • automatically detect indentation style in vim
  • stop manually setting shiftwidth and expandtab per project
  • respect editorconfig indentation settings in vim
  • detect tabs vs spaces when opening a file
  • remove indent-related configuration from my vimrc
  • set buffer options from modelines automatically

When to choose

  • you use Vim or Neovim and want fully automatic indentation detection
  • you work across projects with inconsistent indentation conventions
  • you want EditorConfig support without a separate plugin

When to avoid

  • you prefer explicit, fixed indentation settings in your vimrc
  • you use an editor other than Vim/Neovim
  • you need indentation detection for non-editor tooling

Facets

plugin · maturity stable

editor developer-tools text-editors developer-tools editor-plugin cross-platform vim editorconfig indentation shiftwidth expandtab heuristics

5 sources

Member repositories

RepositoryRoleHealth v2
tpope/vim-sleuthmain32

For agents

markdown · JSON · MCP: product_card(name="tpope/vim-sleuth")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem