Skip to content

Commit

Permalink
chore: minor adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
lervag committed Mar 23, 2021
1 parent 1700090 commit ded4262
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion autoload/vimtex/syntax/p/listings.vim
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function! vimtex#syntax#p#listings#load(cfg) abort " {{{1

" Match \lstset
syntax match texCmdLstset "\\lstset\>"
\ nextgroup=texLstsetArg,texLstsetArg skipwhite skipnl
\ nextgroup=texLstsetArg skipwhite skipnl
call vimtex#syntax#core#new_arg('texLstsetArg', {
\ 'contains': 'texCmdSize,texCmdStyle,@texClusterOpt'
\})
Expand Down
6 changes: 3 additions & 3 deletions test/test-syntax/test-listings.tex
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
\lstset{language=x,numbers=none}

\lstset{
language=C,
basicstyle=\color[RGB]{0,0,0},
numberstyle=\small
language=C,
basicstyle=\color[RGB]{0,0,0},
numberstyle=\small
}

\end{document}

0 comments on commit ded4262

Please sign in to comment.