Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
29755:e726ee71b93b | 29756:2acb87ee55fc |
---|---|
1 " Elixir filetype plugin | 1 " Elixir filetype plugin |
2 " Language: Elixir | 2 " Language: Elixir |
3 " Maintainer: Mitchell Hanberg <vimNOSPAM@mitchellhanberg.com> | 3 " Maintainer: Mitchell Hanberg <vimNOSPAM@mitchellhanberg.com> |
4 " Last Change: 2022 Apr 20 | 4 " Last Change: 2022 August 10 |
5 | 5 |
6 if exists("b:did_ftplugin") | 6 if exists("b:did_ftplugin") |
7 finish | 7 finish |
8 endif | 8 endif |
9 let b:did_ftplugin = 1 | 9 let b:did_ftplugin = 1 |
10 | 10 |
11 let s:save_cpo = &cpo | |
12 set cpo&vim | |
13 | |
14 " Matchit support | |
15 if exists('loaded_matchit') && !exists('b:match_words') | |
16 let b:match_ignorecase = 0 | |
17 | |
18 let b:match_words = '\:\@<!\<\%(do\|fn\)\:\@!\>' . | |
19 \ ':' . | |
20 \ '\<\%(else\|catch\|after\|rescue\)\:\@!\>' . | |
21 \ ':' . | |
22 \ '\:\@<!\<end\>' . | |
23 \ ',{:},\[:\],(:)' | |
24 endif | |
25 | |
11 setlocal commentstring=#\ %s | 26 setlocal commentstring=#\ %s |
27 | |
28 let &cpo = s:save_cpo | |
29 unlet s:save_cpo |