From 00c068502d170f9f9b59c4a68aa12e8835859f6c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 09:39:41 +0200 Subject: Adding upstream version 2:9.1.0199. Signed-off-by: Daniel Baumann --- runtime/ftplugin/odin.vim | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 runtime/ftplugin/odin.vim (limited to 'runtime/ftplugin/odin.vim') diff --git a/runtime/ftplugin/odin.vim b/runtime/ftplugin/odin.vim new file mode 100644 index 0000000..9d94a57 --- /dev/null +++ b/runtime/ftplugin/odin.vim @@ -0,0 +1,20 @@ +vim9script + +# Vim filetype plugin file +# Language: Odin +# Maintainer: Maxim Kim +# Website: https://github.com/habamax/vim-odin +# Last Change: 2024-01-15 + +if exists("b:did_ftplugin") + finish +endif +b:did_ftplugin = 1 + +b:undo_ftplugin = 'setlocal commentstring<' + \ .. '| setlocal comments<' + \ .. '| setlocal suffixesadd<' + +setlocal suffixesadd=.odin +setlocal commentstring=//%s +setlocal comments=s1:/*,mb:*,ex:*/,:// -- cgit v1.2.3