Skip to content

Commit a5857b8

Browse files
authored
Create troubleshooting section in the README
1 parent 7a32eec commit a5857b8

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,15 @@ Optionally download one of the [releases](https://github.com/sheerun/vim-polyglo
112112
- [yaml](https://github.com/stephpy/vim-yaml) (syntax, ftplugin)
113113
- [yard](https://github.com/sheerun/vim-yardoc) (syntax)
114114

115-
## Disabling a language pack
115+
## Updating
116+
117+
You can either wait for new patch release with updates or run the `./build` script by yourself.
118+
119+
## Troubleshooting
120+
121+
Please make sure you have `syntax on` in your `.vimrc`, otherwise syntax files are not loaded at all.
116122

117-
Individual language packs can be disabled by setting `g:polyglot_disabled`.
123+
Individual language packs can be disabled by setting `g:polyglot_disabled` as follows:
118124

119125
```viml
120126
" ~/.vimrc
@@ -123,10 +129,6 @@ let g:polyglot_disabled = ['css']
123129

124130
Note that disabiling languages won't make in general your vim startup any faster / slower (only for specific file type). Vim-polyglot is selection of language plugins that are loaded only on demand.
125131

126-
## Updating
127-
128-
You can either wait for new patch release with updates or run the `./build` script by yourself.
129-
130132
## Contributing
131133

132134
Language packs are periodically updated using automated `build` script.

0 commit comments

Comments
 (0)