Mercurial > vim
annotate 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 |
rev | line source |
---|---|
34150
c2a3b642d4cb
runtime(odin): include ftplugin, syntax and indent script (#13867)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 vim9script |
c2a3b642d4cb
runtime(odin): include ftplugin, syntax and indent script (#13867)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 |
c2a3b642d4cb
runtime(odin): include ftplugin, syntax and indent script (#13867)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 # Vim filetype plugin file |
c2a3b642d4cb
runtime(odin): include ftplugin, syntax and indent script (#13867)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 # Language: Odin |
c2a3b642d4cb
runtime(odin): include ftplugin, syntax and indent script (#13867)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 # Maintainer: Maxim Kim <habamax@gmail.com> |
c2a3b642d4cb
runtime(odin): include ftplugin, syntax and indent script (#13867)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 # Website: https://github.com/habamax/vim-odin |
c2a3b642d4cb
runtime(odin): include ftplugin, syntax and indent script (#13867)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
7 # Last Change: 2024-01-15 |
c2a3b642d4cb
runtime(odin): include ftplugin, syntax and indent script (#13867)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
8 |
c2a3b642d4cb
runtime(odin): include ftplugin, syntax and indent script (#13867)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
9 if exists("b:did_ftplugin") |
c2a3b642d4cb
runtime(odin): include ftplugin, syntax and indent script (#13867)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
10 finish |
c2a3b642d4cb
runtime(odin): include ftplugin, syntax and indent script (#13867)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
11 endif |
c2a3b642d4cb
runtime(odin): include ftplugin, syntax and indent script (#13867)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
12 b:did_ftplugin = 1 |
c2a3b642d4cb
runtime(odin): include ftplugin, syntax and indent script (#13867)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
13 |
c2a3b642d4cb
runtime(odin): include ftplugin, syntax and indent script (#13867)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
14 b:undo_ftplugin = 'setlocal commentstring<' |
c2a3b642d4cb
runtime(odin): include ftplugin, syntax and indent script (#13867)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
15 \ .. '| setlocal comments<' |
c2a3b642d4cb
runtime(odin): include ftplugin, syntax and indent script (#13867)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
16 \ .. '| setlocal suffixesadd<' |
c2a3b642d4cb
runtime(odin): include ftplugin, syntax and indent script (#13867)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
17 |
c2a3b642d4cb
runtime(odin): include ftplugin, syntax and indent script (#13867)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
18 setlocal suffixesadd=.odin |
c2a3b642d4cb
runtime(odin): include ftplugin, syntax and indent script (#13867)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
19 setlocal commentstring=//%s |
c2a3b642d4cb
runtime(odin): include ftplugin, syntax and indent script (#13867)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
20 setlocal comments=s1:/*,mb:*,ex:*/,:// |