Editor support generalized: shared core, language server, Vim and VS Code (from dev eb5baf9cbe59)
doc/edit/ now holds a shared Python implementation of the language's structural layer (klammertext_edit.py) and a dependency-free language server (klammertext_ls.py), with integrations for Emacs, Sublime Text, Vim, and Visual Studio Code. The editor test suite in tst/ covers the core's API and CLI, the language server protocol, the VS Code extension, headless Vim, and Emacs byte-equality. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
;; (require 'klammertext-align)
|
||||
;;
|
||||
;; Comment that line out to disable alignment entirely. The Sublime Text
|
||||
;; port doc/sublime/Klammertext_align.py implements the same algorithm —
|
||||
;; port doc/edit/sublime/Klammertext_align.py implements the same algorithm —
|
||||
;; keep the two in step.
|
||||
;;
|
||||
;; Alignment is for SMALL data items (2026-07-27):
|
||||
@@ -42,8 +42,11 @@
|
||||
;; aligned row; run TAB / `indent-region' first if the rows disagree.
|
||||
;;
|
||||
;; SYNC: `klammertext-align-klammers' / `-cell-max' / `-row-max' are
|
||||
;; mirrored as ALIGN_KLAMMERS / CELL_MAX / ROW_MAX in Klammertext_align.py
|
||||
;; (a Sublime plugin cannot read these defcustoms).
|
||||
;; mirrored as ALIGN_KLAMMERS / CELL_MAX / ROW_MAX in the shared Python
|
||||
;; core doc/edit/shared/klammertext_edit.py (the single implementation
|
||||
;; behind the Sublime, Vim, and VS Code integrations and the language
|
||||
;; server; this elisp unit stays independent, held equal by
|
||||
;; tst/editor_test.sh's byte-equality checks).
|
||||
|
||||
;;; Code:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user