AutoYADM commit: 2025-06-09 17:07:29
This commit is contained in:
parent
30a89c5619
commit
1f9b5fceea
1 changed files with 24 additions and 0 deletions
|
@ -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 %{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue