Objectmix
Tags Register Mark Forums Read

[Vim] Syntax highlighting more than 3000 characters : Editors

This is a discussion on [Vim] Syntax highlighting more than 3000 characters within the Editors forums in Theory and Concepts category; Hello. Vim stops its syntax hightlighting after the 3000th character of a line. This is a very sensible setting, and I wouldn't want to change the default. However, some files (for example, minified JavaScript files) only have a single long line, which makes them very hard to read. Sometimes I'd like to increase the 3000 character limit after opening such a file, if it isn't too long. Is there a setting to change the limit, similar to "syn sync minlines"? - Conrad...


Object Mix > Theory and Concepts > Editors > [Vim] Syntax highlighting more than 3000 characters

Reply

 

LinkBack Thread Tools
  #1  
Old 11-02-2008, 03:52 PM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default [Vim] Syntax highlighting more than 3000 characters

Hello.

Vim stops its syntax hightlighting after the 3000th character of a line.
This is a very sensible setting, and I wouldn't want to change the
default. However, some files (for example, minified JavaScript files)
only have a single long line, which makes them very hard to read.
Sometimes I'd like to increase the 3000 character limit after opening
such a file, if it isn't too long.

Is there a setting to change the limit, similar to "syn sync minlines"?


- Conrad
  #2  
Old 11-02-2008, 04:06 PM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default Re: [Vim] Syntax highlighting more than 3000 characters

On 02/11/08 21:52, Conrad Lender wrote:
> Hello.
>
> Vim stops its syntax hightlighting after the 3000th character of a line.
> This is a very sensible setting, and I wouldn't want to change the
> default. However, some files (for example, minified JavaScript files)
> only have a single long line, which makes them very hard to read.
> Sometimes I'd like to increase the 3000 character limit after opening
> such a file, if it isn't too long.
>
> Is there a setting to change the limit, similar to "syn sync minlines"?
>
>
> - Conrad


see :help 'synmaxcol'

Best regards,
Tony.
--
Accidents cause History.

If Sigismund Unbuckle had taken a walk in 1426 and met Wat Tyler, the
Peasant's Revolt would never have happened and the motor car would not
have been invented until 2026, which would have meant that all the oil
could have been used for lamps, thus saving the electric light bulb and
the whale, and nobody would have caught Moby Dick or Billy Budd.
-- Mike Harding, "The Armchair Anarchist's Almanac"
  #3  
Old 11-02-2008, 05:43 PM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default Re: [Vim] Syntax highlighting more than 3000 characters

On 2008-11-02 22:06, Tony Mechelynck wrote:
>> Is there a setting to change the limit, similar to "syn sync minlines"?


> see :help 'synmaxcol'


Thanks!


- Conrad
Reply

Thread Tools



All times are GMT -5. The time now is 12:42 AM.

Managed by Infnx Pvt Ltd.