Skip to content

Conversation

@Cimbali
Copy link

@Cimbali Cimbali commented Jun 20, 2016

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

@idbrii
Copy link
Contributor

idbrii commented Oct 5, 2017

This change was also made in #22. Sorry I missed this in #21!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants