Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [syntax]

The tag has no usage guidance.

0
votes
1answer
23 views

How to use a regexp to search/match specific pattern only for the custom statusline and/or tabline?

I got this regexp from google which is for matching specific glyphs in vim-nerdtree. autocmd FileType nerdtree syntax match {hl-group} /\v{glyph}/ containedin=ALL But obviously it won't work on ...
0
votes
0answers
21 views

Syntax hightligh broken in html file after ^F [duplicate]

Expected behaviour Syntax highlight should work even after CTRL-F Actual behaviour Syntax hightlighting stops working after scrolling to next page Steps to reproduce using nvim -u NORC: nvim -u ...
0
votes
0answers
29 views

Specify a syntax checker for Chef on Vim with Syntastic

[Arch linux 4.18.14 with Vim 8.1 and Syntastic 3.9.0.] I am trying to configure the syntastic plugin on vim with a checker for Chef recipes. For that I installed the plugin dougireton/vim-chef inside ...
0
votes
1answer
13 views

folding in matlab

I'm using vim for my matlab editor. And It works nicely, except I cannot get folding to work. I found my syntax file on github: matlab.vim And I wanted to add folding. I changed the line syn ...
0
votes
1answer
31 views

What are the allowable characters in identifiers?

In Vim, what characters are allowed in identifiers, such as variable names and function names? I looked up the help for both variables and functions and neither one defines the allowable character ...