diff options
| author | Adam Stankiewicz <sheerun@sher.pl> | 2017-02-02 21:16:29 +0100 | 
|---|---|---|
| committer | Adam Stankiewicz <sheerun@sher.pl> | 2017-02-02 21:16:29 +0100 | 
| commit | e685e4b431ab017d1aec9f9668fbeeeb6e7113e6 (patch) | |
| tree | 47137f448d461ebb6852d81c6f553d0843e33764 /ftplugin | |
| parent | e404a658b1647fad396a954776eda0bdabf8353c (diff) | |
| download | vim-polyglot-e685e4b431ab017d1aec9f9668fbeeeb6e7113e6.tar.gz vim-polyglot-e685e4b431ab017d1aec9f9668fbeeeb6e7113e6.zip | |
Update
Diffstat (limited to 'ftplugin')
| -rw-r--r-- | ftplugin/crystal.vim | 2 | ||||
| -rw-r--r-- | ftplugin/nginx.vim | 5 | ||||
| -rw-r--r-- | ftplugin/plantuml.vim | 6 | 
3 files changed, 11 insertions, 2 deletions
| diff --git a/ftplugin/crystal.vim b/ftplugin/crystal.vim index 29aac72d..57ceb97d 100644 --- a/ftplugin/crystal.vim +++ b/ftplugin/crystal.vim @@ -12,7 +12,7 @@ if exists('loaded_matchit') && !exists('b:match_words')    let b:match_ignorecase = 0    let b:match_words = -        \ '\<\%(if\|unless\|case\|while\|until\|for\|do\|class\|module\|struct\|lib\|macro\|ifdef\|def\|fun\|begin\)\>=\@!' . +        \ '\<\%(if\|unless\|case\|while\|until\|for\|do\|class\|module\|struct\|lib\|macro\|ifdef\|def\|fun\|begin\|enum\)\>=\@!' .          \ ':' .          \ '\<\%(else\|elsif\|ensure\|when\|rescue\|break\|redo\|next\|retry\)\>' .          \ ':' . diff --git a/ftplugin/nginx.vim b/ftplugin/nginx.vim new file mode 100644 index 00000000..efcccbd0 --- /dev/null +++ b/ftplugin/nginx.vim @@ -0,0 +1,5 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 +   +setlocal commentstring=#\ %s + +endif diff --git a/ftplugin/plantuml.vim b/ftplugin/plantuml.vim index 1d15b06f..fe5496fc 100644 --- a/ftplugin/plantuml.vim +++ b/ftplugin/plantuml.vim @@ -3,13 +3,14 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'plantuml') == -  " Vim plugin file  " Language:     PlantUML  " Maintainer:   Aaron C. Meadows < language name at shadowguarddev dot com> -" Last Change:  19-Jun-2012  " Version:      0.1  if exists("b:loaded_plantuml_plugin")    finish  endif  let b:loaded_plantuml_plugin = 1 +let s:cpo_save = &cpo +set cpo&vim  if !exists("g:plantuml_executable_script")    let g:plantuml_executable_script="plantuml" @@ -35,4 +36,7 @@ let b:endwise_words = 'loop,group,alt,note,legend'  let b:endwise_pattern = '^\s*\zs\<\(loop\|group\|alt\|note\ze[^:]*$\|legend\)\>.*$'  let b:endwise_syngroups = 'plantumlKeyword' +let &cpo = s:cpo_save +unlet s:cpo_save +  endif | 
