Skip to content

Commit b4421ef

Browse files
authored
feat: latex (#103)
1 parent 3383e4d commit b4421ef

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

update.mjs

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,32 @@ const docker = [
110110
'docker-compose.*',
111111
]
112112

113+
// latex
114+
const tex = [
115+
'$(capture).aux',
116+
'$(capture).bbl',
117+
'$(capture).blg',
118+
'$(capture).idx',
119+
'$(capture).ind',
120+
'$(capture).lof',
121+
'$(capture).lot',
122+
'$(capture).out',
123+
'$(capture).toc',
124+
'$(capture).acn',
125+
'$(capture).acr',
126+
'$(capture).alg',
127+
'$(capture).glg',
128+
'$(capture).glo',
129+
'$(capture).gls',
130+
'$(capture).ist',
131+
'$(capture).fls',
132+
'$(capture).log',
133+
'$(capture).synctex.gz',
134+
'$(capture).xdv',
135+
'$(capture).fdb_latexmk',
136+
'$(capture).pdf'
137+
]
138+
113139
// frameworks and their specific files
114140
const frameworks = {
115141
'vite.config.*': [],
@@ -312,6 +338,7 @@ const full = sortObject({
312338
'mix.exs': stringify(elixir),
313339
'pyproject.toml': stringify(pdm),
314340
'*.ex': stringify(phoenixLiveView),
341+
'*.tex': stringify(tex),
315342
...Object.fromEntries(Object.entries(frameworks).map(([n, i]) => [n, stringify([...i, ...libraries])])),
316343
})
317344

0 commit comments

Comments
 (0)