{"id":23320165,"url":"https://github.com/kg8m/vim-detect-indent","last_synced_at":"2026-05-07T18:39:31.018Z","repository":{"id":44350986,"uuid":"507347714","full_name":"kg8m/vim-detect-indent","owner":"kg8m","description":"A Vim/Neovim plugin to detect indentation options automatically powered by denops.vim","archived":false,"fork":false,"pushed_at":"2025-03-22T14:32:25.000Z","size":235,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T15:24:44.692Z","etag":null,"topics":["indentation","neovim","neovim-plugin","vim","vim-denops","vim-plugin"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kg8m.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"kg8m"}},"created_at":"2022-06-25T15:29:24.000Z","updated_at":"2025-03-22T14:32:29.000Z","dependencies_parsed_at":"2023-02-10T16:45:31.872Z","dependency_job_id":"3b118ba2-449d-431a-b60d-2c693838a078","html_url":"https://github.com/kg8m/vim-detect-indent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kg8m%2Fvim-detect-indent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kg8m%2Fvim-detect-indent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kg8m%2Fvim-detect-indent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kg8m%2Fvim-detect-indent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kg8m","download_url":"https://codeload.github.com/kg8m/vim-detect-indent/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247599083,"owners_count":20964577,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["indentation","neovim","neovim-plugin","vim","vim-denops","vim-plugin"],"created_at":"2024-12-20T17:30:25.935Z","updated_at":"2026-05-07T18:39:25.980Z","avatar_url":"https://github.com/kg8m.png","language":"TypeScript","funding_links":["https://github.com/sponsors/kg8m"],"categories":[],"sub_categories":[],"readme":"[![Deno 1.45.0+](https://img.shields.io/badge/Deno-Support%201.45.0-yellowgreen.svg?logo=deno)](https://github.com/denoland/deno/tree/v1.45.0)\n[![Vim 9.0.1499+](https://img.shields.io/badge/Vim-Support%209.0.1499%2B-yellowgreen.svg?logo=vim)](https://github.com/vim/vim/tree/v9.0.1499)\n[![Neovim 0.8.0+](https://img.shields.io/badge/Neovim-Support%200.8.0-yellowgreen.svg?logo=neovim\u0026logoColor=white)](https://github.com/neovim/neovim/tree/v0.8.0)\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n[![test](https://github.com/kg8m/vim-detect-indent/actions/workflows/checks.yml/badge.svg)](https://github.com/kg8m/vim-detect-indent/actions/workflows/checks.yml)\n\n# vim-detect-indent\n\nA Vim/Neovim plugin to detect indentation options automatically powered by\n[denops.vim](https://github.com/vim-denops/denops.vim).\n\n## Usage\n\nOnce you install this plugin, indentation options will be detected\nautomatically.\n\nIf you want to customize its behavior, see\n[the documentation](doc/vim-detect-indent.txt).\n\n## Similar Plugins / Algorithm\n\nThere are great existing similar plugins. For example:\n\n- [vim-findent](https://github.com/lambdalisue/vim-findent)\n- [vim-sleuth](https://github.com/tpope/vim-sleuth)\n- [detectindent](https://github.com/ciaranm/detectindent)\n\nvim-detect-indent uses a simpler algorithm: it determines indentation based on\nthe majority of indented lines. If lines are indented with hard tabs,\n`noexpandtab` will be set. If spaces are used, `expandtab` and `shiftwidth={n}`\nwill be applied. vim-detect-indent’s behavior is predictable due to its\nstraightforward algorithm. While it may not cover all indentation scenarios, it\nis designed to work well in many common cases.\n\n## Installation\n\nFor [dein.vim](https://github.com/Shougo/dein.vim) users:\n\n```vim\ncall dein#add(\"kg8m/vim-detect-indent\")\n```\n\nFor [vim-plug](https://github.com/junegunn/vim-plug) users:\n\n```vim\nPlug 'kg8m/vim-detect-indent'\n```\n\n## Requirements\n\n- Deno\n- denops.vim\n- Vim or Neovim\n\nSupported version of Deno, Vim, and Neovim depends on denops.vim. Please see\n[denops.vim’s README](https://github.com/vim-denops/denops.vim#readme).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkg8m%2Fvim-detect-indent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkg8m%2Fvim-detect-indent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkg8m%2Fvim-detect-indent/lists"}