From c11986ed1a816d7ebcb5a5f707e3ef884f278293 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Mon, 15 May 2023 09:38:32 +0200 Subject: vim-patch:b7398fe41c9e (#23627) Update runtime files https://github.com/vim/vim/commit/b7398fe41c9e1e731d058105a34158871ee83e3f Co-authored-by: Bram Moolenaar --- runtime/ftplugin/luau.vim | 14 ++++++++++++++ runtime/ftplugin/usd.vim | 18 ++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 runtime/ftplugin/luau.vim create mode 100644 runtime/ftplugin/usd.vim (limited to 'runtime/ftplugin') diff --git a/runtime/ftplugin/luau.vim b/runtime/ftplugin/luau.vim new file mode 100644 index 0000000000..458d0b05a9 --- /dev/null +++ b/runtime/ftplugin/luau.vim @@ -0,0 +1,14 @@ +" Vim filetype plugin file +" Language: Luau +" Maintainer: None yet +" Last Change: 2023 Apr 30 + +if exists("b:did_ftplugin") + finish +endif + +" Luau is a superset of Lua +runtime! ftplugin/lua.vim + + +" vim: nowrap sw=2 sts=2 ts=8 diff --git a/runtime/ftplugin/usd.vim b/runtime/ftplugin/usd.vim new file mode 100644 index 0000000000..c795ba591b --- /dev/null +++ b/runtime/ftplugin/usd.vim @@ -0,0 +1,18 @@ +" Vim filetype plugin file +" Language: Pixar Animation's Universal Scene Description format +" Maintainer: Colin Kennedy +" Last Change: 2023 May 9 + +if exists("b:did_ftplugin") + finish +endif + +let s:cpo_save = &cpo +set cpo&vim + +let b:did_ftplugin = 1 + +setlocal commentstring=#\ %s + +let &cpo = s:cpo_save +unlet s:cpo_save -- cgit