Support for tex-fmt (#5127)
CI / Build (push) Waiting to run
CI / Lint (push) Blocked by required conditions
CI / Lua (push) Blocked by required conditions
CI / Neovim 0.10 Linux (push) Blocked by required conditions
CI / Neovim 0.12 Linux (push) Blocked by required conditions
CI / Vim 8.2 Linux (push) Blocked by required conditions
CI / Vim 9.2 Linux (push) Blocked by required conditions
CI / Neovim 0.10 Windows (push) Waiting to run
CI / Neovim 0.12 Windows (push) Waiting to run
CI / Vim 8.2 Windows (push) Waiting to run
CI / Vim 9.2 Windows (push) Waiting to run

* Support for tex-fmt

Support for tex-fmt, https://github.com/WGUNDERWOOD/tex-fmt.

* Remove file type plaintex

Remove file type plaintex as tex-fmt is solely for LaTeX.
See
https://superuser.com/questions/208177/vim-and-tex-filetypes-plaintex-vs-tex
for a distinction.
This commit is contained in:
Matheus Gabriel Werny
2026-05-15 00:00:05 +02:00
committed by GitHub
parent 641294465e
commit 916c8764ce
7 changed files with 64 additions and 0 deletions
@@ -0,0 +1,12 @@
Before:
call ale#assert#SetUpFixerTest('tex', 'tex-fmt')
After:
Restore
call ale#assert#TearDownFixerTest()
Execute(The tex-fmt callback should return the correct default command):
AssertEqual
\ {'command': ale#Escape('tex-fmt') . ' -s'},
\ ale#fixers#tex_fmt#Fix(bufnr(''))