AutoYADM commit: 2025-06-16 17:06:41

This commit is contained in:
Daniel Fichtinger 2025-06-16 17:06:41 -04:00
parent cae5b77602
commit 42e3ad62a7
2 changed files with 9 additions and 10 deletions

View file

@ -66,7 +66,7 @@ define-command -hidden -override lsp-hide-code-actions %{
set-option global lsp_debug false
# list of filetypes for which LSP will be activated in the window scope
declare-option str-list lsp_filetypes python go rust bash fish c cpp typst markdown yaml json jsonc bash sh typescript javascript latex
declare-option str-list lsp_filetypes python go rust bash fish c cpp typst markdown yaml json jsonc bash sh typescript javascript latex toml
declare-option -hidden bool inlay_enabled false
@ -280,6 +280,14 @@ hook -group lsp-filetype-typst global BufSetOption filetype=typst %{
set-option -add buffer lsp_servers "formatterPrintWidth = %opt{autowrap_column}"
}
hook -group lsp-filetype-toml global BufSetOption filetype=toml %{
set-option buffer lsp_servers %{
[taplo]
root_globs = [".git", ".hg", "."]
args = ["lsp", "stdio"]
}
}
# # can be empty, global, or file
# declare-option -hidden str harper_add ""
# define-command -hidden harper-add -params 1 %{