Questions tagged [match]

The tag has no usage guidance.

3 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers
35 views

define a match group for a modeline

Looking to define a match group for modelines. vim defines two patterns for modelines: The first form: [text{white}]{vi:|vim:|ex:}[white]{options} [text{white}] empty or any text followed by at least ...
Matthew Webb's user avatar
1 vote
0 answers
41 views

Interaction between zero-width matchers and backreferences

Take a file with the following text as a workbench. hello world hello world With the cursor at the beginning of the line, here's how \1 interacts with \(…\), \@=, and \@! # regex matched text text ...
Enlico's user avatar
  • 2,194
0 votes
0 answers
56 views

Matchpairs not working?

I'd like to match pairs in nvim and have the following code: vim.opt.matchpairs:append("❪:❫") vim.opt.matchpairs:append("⟮:⟯") vim.opt.matchpairs:append("❨:❩") However, ...
Alois Pichler's user avatar