Narrow Region buffer filetype is different from the original one #10

xuhdev opened this Issue Jul 12, 2012 · 4 comments


None yet

2 participants


The narrow region buffer filetype is always detected by Vim, not the same with the original buffer.

Also see this question.

Thank you!


For example, for the following ini file:

key1 = value1
key2 = value2

Select line 2 and 3, type :NarrowRegion, and the new buffer won't be detected as ini file. The syntax highlighting thus won't be corrected done.

@chrisbra chrisbra added a commit that closed this issue Jul 14, 2012
@chrisbra Fix #10
The filetype was not always correctly set up. (Reported by Hong Xu in
#10, thanks!)
@chrisbra chrisbra closed this in c48e925 Jul 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment