Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Feb 25, 2015
  1. @idbrii

    Allow settings to be buffer-local

    idbrii authored
    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.
  2. @idbrii

    Add option for preferred values with tabs + spaces

    idbrii authored
    Add detectindent_preferred_when_mixed so we use
    detectindent_preferred_indent and detectindent_preferred_expandtab when
    both tabs and spaces are found. This makes it easier for users to
    enforce a "correct" setting when working in messy code.
Commits on Aug 10, 2009
  1. @suokko

    Limit number of lines that are analysed to improve oepning speed if f…

    suokko authored committed
    …ile is very large.
    
    Default number of lines to analyse is 1024. Default can be changed with g:detectindent_max_lines_to_analyse variable.
    
    Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
Commits on Jul 9, 2009
  1. Import

    authored
Something went wrong with that request. Please try again.