Skip to content

Commit 3ac0dd5

Browse files
committed
Alaways use native vim syntax, fixes #582
1 parent e95c5f4 commit 3ac0dd5

File tree

6 files changed

+4
-1206
lines changed

6 files changed

+4
-1206
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ On top of all language packs from [vim repository](https://github.com/vim/vim/tr
190190
- [vbnet](https://github.com/vim-scripts/vbnet.vim)
191191
- [vcl](https://github.com/smerrill/vcl-vim-plugin)
192192
- [velocity](https://github.com/lepture/vim-velocity)
193-
- [vim](https://github.com/neovim/neovim/tree/master/runtime)
194193
- [vue](https://github.com/posva/vim-vue)
195194
- [xdc](https://github.com/amal-khailtash/vim-xdc-syntax)
196195
- [xml](https://github.com/amadeus/vim-xml)

ftplugin/vim.vim

-110
This file was deleted.

indent/vim.vim

-108
This file was deleted.

packages.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -5154,8 +5154,6 @@ filetypes:
51545154
- pattern: "*.vhdl_[0-9]*"
51555155
---
51565156
name: vim
5157-
remote: neovim/neovim:runtime
5158-
glob: "**/vim.vim"
51595157
filetypes:
51605158
- name: vim
51615159
patterns:

scripts/build

+4-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def copy_file(package, src, dest)
311311
end
312312

313313
def download(packages)
314-
packages.map { |p| p["remote"] or raise "No remote for: " + p["name"] }.uniq.each_slice(20) do |remotes|
314+
packages.map { |p| p["remote"] }.compact.uniq.each_slice(20) do |remotes|
315315
remotes.map do |remote|
316316
Thread.new do
317317
repo, branch, path, dir = parse_remote(remote)
@@ -488,6 +488,9 @@ def extract(packages)
488488

489489
output = []
490490
packages.map do |package|
491+
if !package["remote"]
492+
next
493+
end
491494
repo, branch, path, dir = parse_remote(package["remote"])
492495
dirs = package.fetch("dirs", default_dirs)
493496
ignored_dirs = package.fetch("ignored_dirs", [])

0 commit comments

Comments
 (0)