Compare commits

..

2 Commits

Author SHA1 Message Date
vcargats
c1cab62aa9 Merge a4379c6305 into bc8a81d359 2022-10-14 17:40:32 +02:00
Vadim Cargatser
a4379c6305 Support old version without syn iskeyword 2022-10-13 21:20:01 +03:00
2 changed files with 11 additions and 1 deletions

View File

@@ -1,5 +1,11 @@
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) ![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)]()
A collection of language packs for Vim. A collection of language packs for Vim.
> One to rule them all, one to find them, one to bring them all and in the darkness bind them. > One to rule them all, one to find them, one to bring them all and in the darkness bind them.

View File

@@ -28,7 +28,11 @@ set cpo&vim
syn case ignore syn case ignore
" Add dash to allowed keyword characters. " Add dash to allowed keyword characters.
syn iskeyword @,48-57,_,192-255,- if has('patch-7.4.1142')
syn iskeyword @,48-57,_,192-255,-
else
setlocal iskeyword=@,48-57,_,192-255,-
endif
" HTML4 tags " HTML4 tags
syn keyword cssTagName abbr address area a b base syn keyword cssTagName abbr address area a b base