(use-package ada-mode) (add-hook 'ada-mode-hook #'lsp! 'append) (setq-default ada-xref-backend 'eglot) (setq-default ada-diagnostics-backend 'eglot) (add-hook 'ada-mode-hook (lambda () (set (make-local-variable 'comment-start) "-- "))) (custom-set-variables '(ada-fill-comment-prefix #("-- " 0 2 (syntax-table (11)))) '(wisi-size-threshold 2))
((ada-mode . ((eglot-workspace-configuration . (:ada (:projectFile "AAA.gpr"))) (tab-width . 3) (fill-column . 119) (indent-tabs-mode . nil))))