summaryrefslogtreecommitdiffstats
path: root/ftplugin
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-03-23 11:28:19 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2017-03-23 11:28:28 +0100
commit0801eac01aab5940fc1e4409ba749383cc353bc2 (patch)
tree9034c9f6cd0c7592a09e6c65521c6948c3a983af /ftplugin
parent9f735b1fe77072e001a593f7f6660703bf4a8c9c (diff)
downloadvim-polyglot-0801eac01aab5940fc1e4409ba749383cc353bc2.tar.gz
vim-polyglot-0801eac01aab5940fc1e4409ba749383cc353bc2.zip
Update
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/blade.vim3
-rw-r--r--ftplugin/dart.vim4
-rw-r--r--ftplugin/litcoffee.vim5
-rw-r--r--ftplugin/nginx.vim4
-rw-r--r--ftplugin/vue.vim2
5 files changed, 16 insertions, 2 deletions
diff --git a/ftplugin/blade.vim b/ftplugin/blade.vim
index 68e80883..34879610 100644
--- a/ftplugin/blade.vim
+++ b/ftplugin/blade.vim
@@ -23,7 +23,8 @@ 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\)\>' .
+ \ '@\%(section\s*([^\,]*)\|if\|unless\|foreach\|forelse\|for\|while\|push\|can\|cannot\|hasSection\|' .
+ \ 'php\s*(\@!\|verbatim\|component\|slot\|prepend\)' .
\ ':' .
\ '@\%(else\|elseif\|empty\|break\|continue\|elsecan\|elsecannot\)\>' .
\ ':' .
diff --git a/ftplugin/dart.vim b/ftplugin/dart.vim
index 9b2e8d32..b3b7291d 100644
--- a/ftplugin/dart.vim
+++ b/ftplugin/dart.vim
@@ -25,7 +25,9 @@ let &l:errorformat =
\ '%m'
\ ], ',')
+setlocal includeexpr=dart#resolveUri(v:fname)
+setlocal isfname+=:
-let b:undo_ftplugin = 'setl et< fo< sw< sts< com< cms<'
+let b:undo_ftplugin = 'setl et< fo< sw< sts< com< cms< inex< isf<'
endif
diff --git a/ftplugin/litcoffee.vim b/ftplugin/litcoffee.vim
new file mode 100644
index 00000000..ef4aee21
--- /dev/null
+++ b/ftplugin/litcoffee.vim
@@ -0,0 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1
+
+runtime ftplugin/coffee.vim
+
+endif
diff --git a/ftplugin/nginx.vim b/ftplugin/nginx.vim
index efcccbd0..5ae81d88 100644
--- a/ftplugin/nginx.vim
+++ b/ftplugin/nginx.vim
@@ -2,4 +2,8 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
setlocal commentstring=#\ %s
+setlocal iskeyword+=.
+setlocal iskeyword+=/
+setlocal iskeyword+=:
+
endif
diff --git a/ftplugin/vue.vim b/ftplugin/vue.vim
index 9b4ec9b1..4bb5ae20 100644
--- a/ftplugin/vue.vim
+++ b/ftplugin/vue.vim
@@ -11,4 +11,6 @@ endif
runtime! ftplugin/html.vim
+setlocal suffixesadd+=.vue
+
endif