AutoYADM commit: 2025-06-09 17:37:38

This commit is contained in:
Daniel Fichtinger 2025-06-09 17:37:39 -04:00
parent 1f9b5fceea
commit aa7cbf8a12
2 changed files with 14 additions and 0 deletions

View file

@ -209,3 +209,7 @@ hook -group lsp-filetype-typst global BufSetOption filetype=typst %{
# lsp-menu %arg{@}
# }
# enable inline-diagnostics if the cursor is on a diagnostic
define-command lsp-check-inline-diagnostic %{
# we write a python script for this
}

View file

@ -0,0 +1,10 @@
#!/usr/bin/env python
def parse_specs(data: str):
diagnostics = []
for entry in data.strip().split():
if not entry or len(entry) < 9:
continue
range_part, _ = entry.split("|", 1)
start_str, end_str = range_part.split(",")