New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

Comments

Projects
None yet
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

This comment has been minimized.

Show comment
Hide comment
@chrisbra

chrisbra Jul 13, 2012

Owner

On Thu, July 12, 2012 20:23, Hong Xu wrote:

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

I don't understand the problem.

Also see this
question
.

I answered that question.

regards,
Christian

Owner

chrisbra commented Jul 13, 2012

On Thu, July 12, 2012 20:23, Hong Xu wrote:

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

I don't understand the problem.

Also see this
question
.

I answered that question.

regards,
Christian

@xuhdev

This comment has been minimized.

Show comment
Hide comment
@xuhdev

xuhdev 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.

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

This comment has been minimized.

Show comment
Hide comment
@chrisbra

chrisbra Jul 14, 2012

Owner

Hi Hong!

On Fr, 13 Jul 2012, Hong Xu wrote:

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.

This works as expected. I have no clue, why it shouldn't work for you.

regards,

Christian

Ich wähle meine Freunde nach ihrem guten Aussehen, meine Bekannten
nach ihrem Charakter und meine Feinde nach ihrem Verstand.
-- Oscar Wilde

Owner

chrisbra commented Jul 14, 2012

Hi Hong!

On Fr, 13 Jul 2012, Hong Xu wrote:

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.

This works as expected. I have no clue, why it shouldn't work for you.

regards,

Christian

Ich wähle meine Freunde nach ihrem guten Aussehen, meine Bekannten
nach ihrem Charakter und meine Feinde nach ihrem Verstand.
-- Oscar Wilde

@chrisbra chrisbra closed this in c48e925 Jul 14, 2012

@chrisbra

This comment has been minimized.

Show comment
Hide comment
@chrisbra

chrisbra Jul 14, 2012

Owner

Hi Hong!

On Fr, 13 Jul 2012, Hong Xu wrote:

For example, for the following ini file:

[a]
key1 = value1
key2 = value2

Ah, I found the problem. It is fixed now. Thanks for the feedback.

regards,

Christian

Wo man arbeitet, da ist genug; wo man aber mit Worten umgeht, da ist
Mangel.
-- Salomo

Owner

chrisbra commented Jul 14, 2012

Hi Hong!

On Fr, 13 Jul 2012, Hong Xu wrote:

For example, for the following ini file:

[a]
key1 = value1
key2 = value2

Ah, I found the problem. It is fixed now. Thanks for the feedback.

regards,

Christian

Wo man arbeitet, da ist genug; wo man aber mit Worten umgeht, da ist
Mangel.
-- Salomo

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