view runtime/ftplugin/odin.vim @ 34638:857eb73fb6a7

NSIS: Redesigning the appearance of the vimrc settings page (#14292) Commit: https://github.com/vim/vim/commit/6dcf59b89fd4a65df4a68a333a66357c2480d7b0 Author: Restorer <69863286+RestorerZ@users.noreply.github.com> Date: Mon Mar 25 15:38:37 2024 +0000 NSIS: Redesigning the appearance of the vimrc settings page (https://github.com/vim/vim/issues/14292) Signed-off-by: RestorerZ <restorer@mail2k.ru> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 25 Mar 2024 16:45:05 +0100
parents c2a3b642d4cb
children 7c7432a53a6c
line wrap: on
line source

vim9script

# Vim filetype plugin file
# Language: Odin
# Maintainer: Maxim Kim <habamax@gmail.com>
# 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:*/,://