Buffer-local values were introduced and their existence was checked, however they were never actually used.
This PR fixes this. Now if you want linux sources (which typically only contain tabs to be displayed with 8 columns) to be automatically set to the right indentation level, while retaining personal preferences on other files, you can do:
autocmd BufRead /usr/src/linux* let b:detectindent_preferred_indent = 8
Buffer-local values were introduced and their existence was checked, however they were never actually used.
This PR fixes this. Now if you want linux sources (which typically only contain tabs to be displayed with 8 columns) to be automatically set to the right indentation level, while retaining personal preferences on other files, you can do: