Skip to content

runtime(typst): Improve ftplugin#20077

Draft
dkearns wants to merge 1 commit into
vim:masterfrom
dkearns:runtime-typst-move-user-settings-to-ftplugin
Draft

runtime(typst): Improve ftplugin#20077
dkearns wants to merge 1 commit into
vim:masterfrom
dkearns:runtime-typst-move-user-settings-to-ftplugin

Conversation

@dkearns
Copy link
Copy Markdown
Contributor

@dkearns dkearns commented Apr 26, 2026

  • Move whitespace formatting settings from the indent to the filetype plugin behind a typst_recommended_style config option.
  • Set browsefilter

Related: #20036

@habamax
Copy link
Copy Markdown
Contributor

habamax commented Apr 27, 2026

I would also update the syntax, am slowly working on it.
https://github.com/habamax/.vim/blob/master/pack/local/start/vim-typst/syntax/typst.vim#L1-L1

@dkearns dkearns force-pushed the runtime-typst-move-user-settings-to-ftplugin branch from 9a0cc5e to 2b52a5d Compare May 1, 2026 13:50
@dkearns
Copy link
Copy Markdown
Contributor Author

dkearns commented May 1, 2026

@habamax, thanks I added your syntax file updates to this PR and listed you as maintainer as I assume you intended. Would you be willing to maintain all the typst runtime files?

@dkearns
Copy link
Copy Markdown
Contributor Author

dkearns commented May 1, 2026

I'm also not sure how 'recommended' those style settings really are?

- Move whitespace formatting settings from the indent to the filetype
  plugin behind a "typst_recommended_style" config option.
- Set browsefilter
- Cleanup syntax file

Related: vim#20036

Co-authored-by: Maxim Kim <[email protected]>
Signed-off-by: Maxim Kim <[email protected]>
Signed-off-by: Doug Kearns <[email protected]>
@dkearns dkearns force-pushed the runtime-typst-move-user-settings-to-ftplugin branch from 2b52a5d to 9e9f25a Compare May 1, 2026 14:00
@habamax
Copy link
Copy Markdown
Contributor

habamax commented May 1, 2026

@habamax, thanks I added your syntax file updates to this PR and listed you as maintainer as I assume you intended. Would you be willing to maintain all the typst runtime files?

Sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants