Skip to main content
REmoved my correction so it doesn't look like my question changed...
Source Link

I upgraded to Ubuntu 18.04 and this has Vim version 8.0.

This newer version has MatchIt setup to ignore parenthesis, brackets, etc. found inside comments and strings. Although it is at times useful, I prefer to be able to match all of those characters because I often write code in my comments (i.e. for documentation purposes, showing examples).

Although there are times when it is nice to have it this way (ignoring comments/strings), for me it is really rarely useful.

Is there a way for me to turn off that feature with one flag or another?


Correction: the % key works perfectly in comments and strings, what is missing is the highlighting of the start/end matches.

I upgraded to Ubuntu 18.04 and this has Vim version 8.0.

This newer version has MatchIt setup to ignore parenthesis, brackets, etc. found inside comments and strings. Although it is at times useful, I prefer to be able to match all of those characters because I often write code in my comments (i.e. for documentation purposes, showing examples).

Although there are times when it is nice to have it this way (ignoring comments/strings), for me it is really rarely useful.

Is there a way for me to turn off that feature with one flag or another?


Correction: the % key works perfectly in comments and strings, what is missing is the highlighting of the start/end matches.

I upgraded to Ubuntu 18.04 and this has Vim version 8.0.

This newer version has MatchIt setup to ignore parenthesis, brackets, etc. found inside comments and strings. Although it is at times useful, I prefer to be able to match all of those characters because I often write code in my comments (i.e. for documentation purposes, showing examples).

Although there are times when it is nice to have it this way (ignoring comments/strings), for me it is really rarely useful.

Is there a way for me to turn off that feature with one flag or another?

Added a correction, since actually the % key works, I thought that the highlighing and % would be the same thing...
Source Link

I upgraded to Ubuntu 18.04 and this has Vim version 8.0.

This newer version has MatchIt setup to ignore parenthesis, brackets, etc. found inside comments and strings. Although it is at times useful, I prefer to be able to match all of those characters because I often write code in my comments (i.e. for documentation purposes, showing examples).

Although there are times when it is nice to have it this way (ignoring comments/strings), for me it is really rarely useful.

Is there a way for me to turn off that feature with one flag or another?


Correction: the % key works perfectly in comments and strings, what is missing is the highlighting of the start/end matches.

I upgraded to Ubuntu 18.04 and this has Vim version 8.0.

This newer version has MatchIt setup to ignore parenthesis, brackets, etc. found inside comments and strings. Although it is at times useful, I prefer to be able to match all of those characters because I often write code in my comments (i.e. for documentation purposes, showing examples).

Although there are times when it is nice to have it this way (ignoring comments/strings), for me it is really rarely useful.

Is there a way for me to turn off that feature with one flag or another?

I upgraded to Ubuntu 18.04 and this has Vim version 8.0.

This newer version has MatchIt setup to ignore parenthesis, brackets, etc. found inside comments and strings. Although it is at times useful, I prefer to be able to match all of those characters because I often write code in my comments (i.e. for documentation purposes, showing examples).

Although there are times when it is nice to have it this way (ignoring comments/strings), for me it is really rarely useful.

Is there a way for me to turn off that feature with one flag or another?


Correction: the % key works perfectly in comments and strings, what is missing is the highlighting of the start/end matches.

Source Link

MatchIt not matching anymore if parenthesis, brackets, etc. are between quotes or in comments?

I upgraded to Ubuntu 18.04 and this has Vim version 8.0.

This newer version has MatchIt setup to ignore parenthesis, brackets, etc. found inside comments and strings. Although it is at times useful, I prefer to be able to match all of those characters because I often write code in my comments (i.e. for documentation purposes, showing examples).

Although there are times when it is nice to have it this way (ignoring comments/strings), for me it is really rarely useful.

Is there a way for me to turn off that feature with one flag or another?