Compare commits

...

4 Commits

Author SHA1 Message Date
Milly
ba82be40f4 Merge 3e49b1aefe into 692e359ad9 2024-11-29 08:59:30 +00:00
Adam Stankiewicz
692e359ad9 Update README.md
Some checks failed
Vim Polyglot CI / test (push) Has been cancelled
2024-10-22 08:33:53 +02:00
Milly
3e49b1aefe Combine duplicate dict keys 2021-10-09 03:07:08 +09:00
Milly
82336eaa89 Fixed error output
* `:throw` can not throws "Vim" exception.
2021-10-09 00:44:45 +09:00
3 changed files with 4 additions and 6 deletions

View File

@@ -2,9 +2,7 @@ This is my top-starred repository on Github, so I've decided to put this ad here
If you work for big corp and seek consulting, please visit following repository: https://github.com/sheerun/consultation
![vim-polyglot](https://i.imgur.com/9RxQK6k.png)
[![build](https://github.com/sheerun/vim-polyglot/workflows/Vim%20Polyglot%20CI/badge.svg)](https://github.com/sheerun/vim-polyglot/actions) [![Maintenance](https://img.shields.io/badge/maintained%20since-2013-yes)]()
![vim-polyglot](https://i.imgur.com/9RxQK6k.png
A collection of language packs for Vim.

View File

@@ -9,7 +9,8 @@ func! TestFiletype(filetype)
exec ":bw!"
catch
echo 'Failed to load ' . a:filetype . ' filetype...'
throw v:exception
echo v:throwpoint
echo v:exception
cq!
endtry
endfunc

View File

@@ -287,7 +287,6 @@ let s:filename_checks = {
\ 'mailcap': ['.mailcap', 'mailcap'],
\ 'make': ['file.mk', 'file.mak', 'file.dsp', 'makefile', 'Makefile', 'makefile-file', 'Makefile-file', 'some-makefile', 'some-Makefile'],
\ 'mallard': ['file.page'],
\ 'nroff': ['file.man'],
\ 'manconf': ['/etc/man.conf', 'man.config', 'any/etc/man.conf'],
\ 'map': ['file.map'],
\ 'maple': ['file.mv', 'file.mpl', 'file.mws'],
@@ -330,7 +329,7 @@ let s:filename_checks = {
\ 'netrc': ['.netrc'],
\ 'ninja': ['file.ninja'],
\ 'nqc': ['file.nqc'],
\ 'nroff': ['file.tr', 'file.nr', 'file.roff', 'file.tmac', 'file.mom', 'tmac.file'],
\ 'nroff': ['file.man', 'file.tr', 'file.nr', 'file.roff', 'file.tmac', 'file.mom', 'tmac.file'],
\ 'nsis': ['file.nsi', 'file.nsh'],
\ 'obj': ['file.obj'],
\ 'ocaml': ['file.ml', 'file.mli', 'file.mll', 'file.mly', '.ocamlinit'],