Skip to content

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

Closed
xuhdev opened this Issue Jul 12, 2012 · 4 comments

2 participants

@xuhdev
xuhdev commented Jul 12, 2012

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

Also see this question.

Thank you!

@chrisbra
Owner
@xuhdev
xuhdev commented Jul 13, 2012

For example, for the following ini file:

[a]
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
Owner
@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!)
c48e925
@chrisbra chrisbra closed this in c48e925 Jul 14, 2012
@chrisbra
Owner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.