Files
klammertext/doc/edit/vim/ftdetect/klammertext.vim
Andy Kopra f855c5ccae 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>
2026-07-27 15:01:49 +02:00

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