Skip to content
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

vimrc: use matchall() instead of ":match" to allow multiple matches #53330

Closed
blueyed mannequin opened this issue Jun 26, 2010 · 2 comments
Closed

vimrc: use matchall() instead of ":match" to allow multiple matches #53330

blueyed mannequin opened this issue Jun 26, 2010 · 2 comments
Assignees
Labels
type-bug An unexpected behavior, bug, or error

Comments

@blueyed
Copy link
Mannequin

blueyed mannequin commented Jun 26, 2010

BPO 9084
Nosy @brettcannon, @blueyed, @merwok
Dependencies
  • bpo-9893: Removing the Misc/Vim/ files
  • Files
  • python-vimrc-use-matchadd.diff
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/brettcannon'
    closed_at = <Date 2012-11-15.21:21:20.630>
    created_at = <Date 2010-06-26.02:43:11.465>
    labels = ['type-bug']
    title = 'vimrc: use matchall() instead of ":match" to allow multiple matches'
    updated_at = <Date 2012-11-15.21:21:20.629>
    user = 'https://github.com/blueyed'

    bugs.python.org fields:

    activity = <Date 2012-11-15.21:21:20.629>
    actor = 'brett.cannon'
    assignee = 'brett.cannon'
    closed = True
    closed_date = <Date 2012-11-15.21:21:20.630>
    closer = 'brett.cannon'
    components = ['Demos and Tools']
    creation = <Date 2010-06-26.02:43:11.465>
    creator = 'blueyed'
    dependencies = ['9893']
    files = ['17773']
    hgrepos = []
    issue_num = 9084
    keywords = ['patch']
    message_count = 2.0
    messages = ['108683', '175646']
    nosy_count = 3.0
    nosy_names = ['brett.cannon', 'blueyed', 'eric.araujo']
    pr_nums = []
    priority = 'low'
    resolution = 'wont fix'
    stage = 'patch review'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue9084'
    versions = []

    @blueyed
    Copy link
    Mannequin Author

    blueyed mannequin commented Jun 26, 2010

    This patch fixes the vimrc example file to use matchadd() instead of ":match", so that the second "match" does not overwrite the first one.

    This resulted in leading tabs not highlighted as BadWhitespace.

    @brettcannon brettcannon self-assigned this Jun 26, 2010
    @brettcannon brettcannon added the type-bug An unexpected behavior, bug, or error label Jun 26, 2010
    @merwok merwok assigned benjaminp and brettcannon and unassigned brettcannon and benjaminp Mar 21, 2011
    @brettcannon
    Copy link
    Member

    7e37a6c76e36 removes the files in Misc/Vim. Thanks for the patch regardless, Daniel. If the syntax file in Vim is out of date then I would suggest trying to submit a patch. I have found the Vim maintainer quite willing to take fixes.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants