annotate runtime/ftplugin/elixir.vim @ 29756:2acb87ee55fc

Update runtime files Commit: https://github.com/vim/vim/commit/e1f3fd1d02e3f5fe6d2b6d82687c6846b8e500f8 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Aug 15 18:51:32 2022 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Mon, 15 Aug 2022 20:00:05 +0200
parents 4d76b3e07c07
children 1e91e26ceebf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28620
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Elixir filetype plugin
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: Elixir
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: Mitchell Hanberg <vimNOSPAM@mitchellhanberg.com>
29756
2acb87ee55fc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 28620
diff changeset
4 " Last Change: 2022 August 10
28620
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 if exists("b:did_ftplugin")
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 finish
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 endif
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 let b:did_ftplugin = 1
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10
29756
2acb87ee55fc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 28620
diff changeset
11 let s:save_cpo = &cpo
2acb87ee55fc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 28620
diff changeset
12 set cpo&vim
2acb87ee55fc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 28620
diff changeset
13
2acb87ee55fc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 28620
diff changeset
14 " Matchit support
2acb87ee55fc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 28620
diff changeset
15 if exists('loaded_matchit') && !exists('b:match_words')
2acb87ee55fc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 28620
diff changeset
16 let b:match_ignorecase = 0
2acb87ee55fc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 28620
diff changeset
17
2acb87ee55fc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 28620
diff changeset
18 let b:match_words = '\:\@<!\<\%(do\|fn\)\:\@!\>' .
2acb87ee55fc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 28620
diff changeset
19 \ ':' .
2acb87ee55fc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 28620
diff changeset
20 \ '\<\%(else\|catch\|after\|rescue\)\:\@!\>' .
2acb87ee55fc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 28620
diff changeset
21 \ ':' .
2acb87ee55fc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 28620
diff changeset
22 \ '\:\@<!\<end\>' .
2acb87ee55fc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 28620
diff changeset
23 \ ',{:},\[:\],(:)'
2acb87ee55fc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 28620
diff changeset
24 endif
2acb87ee55fc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 28620
diff changeset
25
28620
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
26 setlocal commentstring=#\ %s
29756
2acb87ee55fc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 28620
diff changeset
27
2acb87ee55fc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 28620
diff changeset
28 let &cpo = s:save_cpo
2acb87ee55fc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 28620
diff changeset
29 unlet s:save_cpo