From 66818f40225eb2c2722ba62a3743e478d9111b03 Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Tue, 23 Jun 2026 16:38:48 -0400 Subject: Add vim syntax and indent support for ProvideX/PVX source files Highlights comments, strings, labels, control flow, and the object method-call operator; indents to match the convention encoded in native-sage-connector's formatpvx.pl (one tab per block level). Co-Authored-By: Claude Sonnet 4.6 --- ftplugin/pvx.vim | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ftplugin/pvx.vim (limited to 'ftplugin/pvx.vim') diff --git a/ftplugin/pvx.vim b/ftplugin/pvx.vim new file mode 100644 index 0000000..8134126 --- /dev/null +++ b/ftplugin/pvx.vim @@ -0,0 +1,14 @@ +" Filetype settings for ProvideX / PVX source files. +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +setlocal commentstring=!\ %s +setlocal comments=:! + +" formatpvx.pl indents with one literal tab per level; match that. +setlocal noexpandtab +setlocal tabstop=4 +setlocal shiftwidth=4 +setlocal softtabstop=4 -- cgit v1.2.3