AutoYADM commit: 2025-06-09 17:07:29

This commit is contained in:
Daniel Fichtinger 2025-06-09 17:07:29 -04:00
parent 30a89c5619
commit 1f9b5fceea

View file

@ -160,6 +160,30 @@ hook -group lsp-filetype-markdown global BufSetOption filetype=markdown %{
}
}
remove-hooks global lsp-filetype-typst
hook -group lsp-filetype-typst global BufSetOption filetype=typst %{
set-option buffer lsp_servers %{
[tinymist]
root_globs = [".git", ".hg"]
args = ["lsp"]
settings_section = "_"
[tinymist.settings._]
# See https://myriad-dreamin.github.io/tinymist/configurations.html
exportPdf = "never"
# exportPdf = "onDocumentHasTitle"
formatterMode = "typstyle"
previewFeature = "disable"
[harper-ls]
root_globs = ["*"]
args = ["--stdio"]
command = "harper-ls"
[harper-ls.settings.harper-ls.linters]
LongSentences = false
}
set-option -add buffer lsp_servers "formatterPrintWidth = %opt{autowrap_column}"
}
# # can be empty, global, or file
# declare-option -hidden str harper_add ""
# define-command -hidden harper-add -params 1 %{