Switch branches/tags
Nothing to show
Find file History
Latest commit 3a33e22 Feb 25, 2015 @idbrii idbrii Allow settings to be buffer-local
Only applies to indent settings (not max lines etc).

Add s:GetValue() to properly grab buffer-local options. Assumes if they
are active that we should use their value (instead of assuming existence
means 1) to allow us to force settings for specific filetypes.

To make most filetypes use 'expandtab', add this to vimrc:
    let g:detectindent_preferred_expandtab = 1
And for the exceptions that should use 'noexpandtab' add this to
after/ftplugin/FILETYPENAMEHERE.vim:
    let b:detectindent_preferred_expandtab = 1

Add documentation.
Permalink
..
Failed to load latest commit information.
detectindent.txt Allow settings to be buffer-local Feb 25, 2015