autodetect indentation

Bug #1806173 reported by anatoly techtonik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vim (Ubuntu)
New
Undecided
Unassigned

Bug Description

Vim already comes with a good syntax highlighting default, but editing files with 2 space indentation is a disaster. All indentation aware editors correctly detect this setup and are able to indent and dedent lines correctly, but not vim.

There are a couple of plugins that fix the issue, even though I think that it is a usability bug in vim.

https://vi.stackexchange.com/questions/52/how-do-i-make-vim-adapt-to-the-current-indenting-style-of-the-file-im-editing

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: vim 2:8.0.1766-1ubuntu1
ProcVersionSignature: Ubuntu 4.18.0-11.12-generic 4.18.12
Uname: Linux 4.18.0-11-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.10-0ubuntu13.1
Architecture: amd64
CurrentDesktop: i3
Date: Sat Dec 1 12:08:48 2018
InstallationDate: Installed on 2018-11-01 (29 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
SourcePackage: vim
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
anatoly techtonik (techtonik) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.