Skip to content

Commit 560024a

Browse files
committed
Resolve issues with loading order, closes #571
1 parent 3ad297d commit 560024a

File tree

9 files changed

+3541
-1552
lines changed

9 files changed

+3541
-1552
lines changed

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,10 @@ Optionally download one of the [releases](https://github.com/sheerun/vim-polyglo
3232
You can also use Vim 8 built-in package manager:
3333

3434
```
35+
" You should put in your ~/.vimrc "packadd vim-polyglot"
3536
git clone --depth 1 https://github.com/sheerun/vim-polyglot ~/.vim/pack/plugins/opt/vim-polyglot
3637
```
3738

38-
**And then add `packload` command to your `.vimrc`** (or `packadd vim-polyglot`)
39-
4039
NOTE: Not all features of individual language packs are available. We strip them from functionality slowing vim startup (for example we ignore `plugins` folder that is loaded regardless of file type, instead we prefer `ftplugin` which is loaded lazily).
4140

4241
If you need full functionality of any plugin, please use it directly with your plugin manager.

after/syntax/cpp.vim

+55-319
Large diffs are not rendered by default.

after/syntax/ruby.vim

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ syn cluster rubyNotTop add=@yardTags,@yardDirectives,@yardTypes,@yardLists,@yard
8282
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
8383
hi def link yardComment rubyComment
8484
" Tags
85-
hi def link yardGenericTag rubyTodo
85+
hi def link yardGenericTag rubyKeyword
8686
hi def link yardAbstract yardGenericTag
8787
hi def link yardApi yardGenericTag
8888
hi def link yardAttr yardGenericTag
@@ -106,7 +106,7 @@ hi def link yardYield yardGenericTag
106106
hi def link yardYieldParam yardGenericTag
107107
hi def link yardYieldReturn yardGenericTag
108108
" Directives
109-
hi def link yardGenericDirective rubyTodo
109+
hi def link yardGenericDirective rubyKeyword
110110
hi def link yardAttribute yardGenericDirective
111111
hi def link yardEndGroup yardGenericDirective
112112
hi def link yardGroup yardGenericDirective

0 commit comments

Comments
 (0)