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>
11 lines
620 B
VimL
11 lines
620 B
VimL
" Klammertext filetype detection (.kt source files, .k klammer definitions).
|
|
"
|
|
" NOTE: .kt is also Kotlin's extension, and recent Vim/Neovim runtimes map
|
|
" *.kt to the kotlin filetype. This file overrides that unconditionally
|
|
" (`set filetype=`, not `setfiletype`, so it wins over the runtime's
|
|
" earlier detection). If you edit both Kotlin and Klammertext, replace the
|
|
" *.kt line with a content heuristic of your choice, or drop it and set the
|
|
" filetype per file with a modeline (# vim: ft=klammertext) or :set.
|
|
au BufRead,BufNewFile *.kt set filetype=klammertext
|
|
au BufRead,BufNewFile *.k set filetype=klammertext
|