diff --git a/sources_non_forked/vdebug b/sources_non_forked/vdebug new file mode 160000 index 00000000..4c6a7caa --- /dev/null +++ b/sources_non_forked/vdebug @@ -0,0 +1 @@ +Subproject commit 4c6a7caa10e32841dba86ba16acee30781388fdd diff --git a/sources_non_forked/vim-vue/.gitignore b/sources_non_forked/vim-vue/.gitignore new file mode 100644 index 00000000..5c0e3241 --- /dev/null +++ b/sources_non_forked/vim-vue/.gitignore @@ -0,0 +1 @@ +/pack diff --git a/sources_non_forked/vim-vue/LICENSE b/sources_non_forked/vim-vue/LICENSE new file mode 100644 index 00000000..43dac5fb --- /dev/null +++ b/sources_non_forked/vim-vue/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2015 Evan Sheehan, Eduardo San Martin Morote + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/sources_non_forked/vim-vue/circle.yml b/sources_non_forked/vim-vue/circle.yml new file mode 100644 index 00000000..cb8d8d62 --- /dev/null +++ b/sources_non_forked/vim-vue/circle.yml @@ -0,0 +1,10 @@ +dependencies: + override: + - sudo add-apt-repository ppa:jonathonf/vim -y + - sudo apt-get update + - sudo apt-get install vim + - bash test/install.sh + +test: + override: + - vim -u test/vimrc -c 'Vader! test/*.vader' diff --git a/sources_non_forked/vim-vue/ftdetect/vue.vim b/sources_non_forked/vim-vue/ftdetect/vue.vim new file mode 100644 index 00000000..dc49cc80 --- /dev/null +++ b/sources_non_forked/vim-vue/ftdetect/vue.vim @@ -0,0 +1 @@ +au BufNewFile,BufRead *.vue setf vue diff --git a/sources_non_forked/vim-vue/ftplugin/vue.vim b/sources_non_forked/vim-vue/ftplugin/vue.vim new file mode 100644 index 00000000..d17c2e12 --- /dev/null +++ b/sources_non_forked/vim-vue/ftplugin/vue.vim @@ -0,0 +1,19 @@ +" Vim filetype plugin +" Language: Vue.js +" Maintainer: Eduardo San Martin Morote +" Author: Adriaan Zonnenberg + +if exists("b:did_ftplugin") + finish +endif + +runtime! ftplugin/html.vim + +setlocal suffixesadd+=.vue + +if exists('g:loaded_ale') + let g:ale_linters = get(g:, 'ale_linters', {}) + let g:ale_linters.vue = get(g:ale_linters, 'vue', ['eslint']) + let g:ale_linter_aliases = get(g:, 'ale_linter_aliases', {}) + let g:ale_linter_aliases.vue = get(g:ale_linter_aliases, 'vue', 'javascript') +endif diff --git a/sources_non_forked/vim-vue/indent/vue.vim b/sources_non_forked/vim-vue/indent/vue.vim new file mode 100644 index 00000000..24fa37c9 --- /dev/null +++ b/sources_non_forked/vim-vue/indent/vue.vim @@ -0,0 +1,64 @@ +" Vim indent file +" Language: Vue.js +" Maintainer: Eduardo San Martin Morote +" Author: Adriaan Zonnenberg + +if exists('b:did_indent') + finish +endif + +function! s:get_indentexpr(language) + unlet! b:did_indent + execute 'runtime! indent/' . a:language . '.vim' + return &indentexpr +endfunction + +" The order is important here, tags without attributes go last. +" HTML is left out, it will be used when there is no match. +let s:languages = [ + \ { 'name': 'pug', 'pairs': ['