diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2016-07-19 10:09:54 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2016-07-19 10:09:54 +0200 |
commit | 11f34624aa32ac72dc65e46ea9badb4b16a0edd1 (patch) | |
tree | 63c50a215fe4a67e4223c19b4b1dbb9747c14ffd /ftplugin | |
parent | 1422f7a75ce0b382d601238c5979b04473b9021e (diff) | |
download | vim-polyglot-11f34624aa32ac72dc65e46ea9badb4b16a0edd1.tar.gz vim-polyglot-11f34624aa32ac72dc65e46ea9badb4b16a0edd1.zip |
Updatev2.11.3
Diffstat (limited to 'ftplugin')
-rw-r--r-- | ftplugin/blade.vim | 18 | ||||
-rw-r--r-- | ftplugin/clojure.vim | 18 | ||||
-rw-r--r-- | ftplugin/ember-script.vim | 6 | ||||
-rw-r--r-- | ftplugin/emblem.vim | 6 |
4 files changed, 33 insertions, 15 deletions
diff --git a/ftplugin/blade.vim b/ftplugin/blade.vim index 3d3e7c50..68e80883 100644 --- a/ftplugin/blade.vim +++ b/ftplugin/blade.vim @@ -14,5 +14,23 @@ let b:did_ftplugin = 1 setlocal suffixesadd=.blade.php,.php setlocal includeexpr=substitute(v:fname,'\\.','/','g') setlocal path+=resources/views; +setlocal include=\\w\\@<!@\\%(include\\\|extends\\) +setlocal define=\\w\\@<!@\\%(yield\\\|stack\\) + +setlocal commentstring={{--%s--}} +setlocal comments+=s:{{--,m:\ \ \ \ ,e:--}} + +if exists('loaded_matchit') && exists('b:match_words') + " Append to html matchit words + let b:match_words .= ',' . + \ '@\%(section\|if\|unless\|foreach\|forelse\|for\|while\|push\|can\|cannot\|hasSection\|php\|verbatim\)\>' . + \ ':' . + \ '@\%(else\|elseif\|empty\|break\|continue\|elsecan\|elsecannot\)\>' . + \ ':' . + \ '@\%(end\w\+\|stop\|show\|append\|overwrite\)' . + \ ',{:},\[:\],(:)' + let b:match_skip = 'synIDattr(synID(line("."), col("."), 0), "name") !=# "bladeKeyword"' + let b:match_ignorecase = 0 +endif endif diff --git a/ftplugin/clojure.vim b/ftplugin/clojure.vim index 84cee8fe..4568d46e 100644 --- a/ftplugin/clojure.vim +++ b/ftplugin/clojure.vim @@ -1,13 +1,13 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'clojure') == -1 " Vim filetype plugin file -" Language: Clojure -" Author: Meikel Brandmeyer <mb@kotka.de> +" Language: Clojure +" Author: Meikel Brandmeyer <mb@kotka.de> " -" Maintainer: Sung Pae <self@sungpae.com> -" URL: https://github.com/guns/vim-clojure-static -" License: Same as Vim -" Last Change: %%RELEASE_DATE%% +" Maintainer: Sung Pae <self@sungpae.com> +" URL: https://github.com/guns/vim-clojure-static +" License: Same as Vim +" Last Change: %%RELEASE_DATE%% if exists("b:did_ftplugin") finish @@ -84,9 +84,9 @@ endif " Win32 can filter files in the browse dialog if has("gui_win32") && !exists("b:browsefilter") let b:browsefilter = "Clojure Source Files (*.clj)\t*.clj\n" . - \ "ClojureScript Source Files (*.cljs)\t*.cljs\n" . - \ "Java Source Files (*.java)\t*.java\n" . - \ "All Files (*.*)\t*.*\n" + \ "ClojureScript Source Files (*.cljs)\t*.cljs\n" . + \ "Java Source Files (*.java)\t*.java\n" . + \ "All Files (*.*)\t*.*\n" let b:undo_ftplugin .= ' | unlet! b:browsefilter' endif diff --git a/ftplugin/ember-script.vim b/ftplugin/ember-script.vim index 1e6c12a9..d7f21e88 100644 --- a/ftplugin/ember-script.vim +++ b/ftplugin/ember-script.vim @@ -3,9 +3,9 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'emberscript') = " Language: ember-script " Maintainer: Yulij Andreevich Lesov <yalesov@gmail.com>> " URL: http://github.com/yalesov/vim-ember-script -" Version: 1.0.3 -" Last Change: 2016 Jul 5 -" License: GPL-3.0 +" Version: 1.0.4 +" Last Change: 2016 Jul 6 +" License: ISC setlocal tabstop=2 setlocal softtabstop=2 diff --git a/ftplugin/emblem.vim b/ftplugin/emblem.vim index 230fba98..25f88adf 100644 --- a/ftplugin/emblem.vim +++ b/ftplugin/emblem.vim @@ -3,9 +3,9 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'emblem') == -1 " Language: emblem " Maintainer: Yulij Andreevich Lesov <yalesov@gmail.com> " URL: http://github.com/yalesov/vim-emblem -" Version: 2.0.0 -" Last Change: 2016 Jul 5 -" License: GPL-3.0 +" Version: 2.0.1 +" Last Change: 2016 Jul 6 +" License: ISC setlocal tabstop=2 setlocal softtabstop=2 |