Skip to content

Commit

Permalink
fix(syntax): minor issue with asymptote
Browse files Browse the repository at this point in the history
refer: #724
  • Loading branch information
lervag committed Feb 27, 2024
1 parent afac402 commit 2bb7cdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autoload/vimtex/syntax/p/asymptote.vim
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

function! vimtex#syntax#p#asymptote#load(cfg) abort " {{{1
call vimtex#syntax#core#new_env({
\ 'name': 'asy\(def\)?',
\ 'name': 'asy\(def\)\?',
\ 'region': 'texAsymptoteZone',
\ 'nested': 'asy',
\})
Expand Down
2 changes: 1 addition & 1 deletion test/test-syntax/test-asymptote.vim
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ set runtimepath^=.
EditConcealed test-asymptote.tex

if empty($INMAKE) | finish | endif

call vimtex#test#finished()

0 comments on commit 2bb7cdc

Please sign in to comment.