Age | Commit message (Collapse) | Author |
|
|
|
* Comment on questions not meeting the syntax.
* Add period `.` as allowed character when matching fields, as those
are actively used in question namnes.
After fetching all files from preseed.debian.net, the following:
```
cat **/* | sed -n 's/#\s*d-i\s*\([^ ]\+\).*/\1/p' |
grep -v '^\([[:alnum:]._-]\+/\)\+[[:alnum:]._-]\+$'
```
returns only the documented anomaly.
|
|
|
|
|
|
While breaking long lines is preferred to make text readable, the
existance of the line contination characters spewed red E10 errors when
testing the script in an environment without 'nocompatible' set.
|
|
|
|
Thanks to bauen1 on #debian-boot for pointing out that the original
location does not always work.
Specifically loading with vim-plug was problematic. The syntax/ folder
seems like a more appropriate place anyways.
Investigating the cause a bit more; It appears that even though it is
claimed at https://github.com/junegunn/vim-plug that `call plug#end()`
should do `syntax enable` and `filetype plugin indent`, adding that
exact `syntax enable` at the top of .vimrc makes loading from ftplugin/
work with vim-plug. Loading from syntax/ works with vim-plug also
without the seemingly, but actually not, superfluous duplication of
`syntax enable`.
|
|
|