Duplicate tags in doc/yesod.txt

#10 · closed · 2 comments

View on GitHub ↗

rampion

The `*yesod.vim*` and `*ghT*` tags are used multiple times in `doc/yesod.txt`, which causes errors when parsing the tags. ``` $ vim -N -u NONE -i NONE -n -E -s -V1 -c "helptags ." +quit\! Opening the X display took 0 msec Testing the X display failed Error detected while processing command line: E154: Duplicate tag "ghT" in file ./doc/yesod.txt E154: Duplicate tag "yesod.vim" in file ./doc/yesod.txt E154: Duplicate tag "yesod.vim" in file ./doc/yesod.txt% ```

Comments

rampion

```patch diff --git a/doc/yesod.txt b/doc/yesod.txt index 5423a8d..061a666 100644 --- a/doc/yesod.txt +++ b/doc/yesod.txt @@ -21,7 +21,7 @@ CONTENTS *yesod-contents* ============================================================================== INTRO *yesod-intro* -*yesod.vim* is a helper plugin for the Yesod web framework +yesod.vim is a helper plugin for the Yesod web framework (http://www.yesodweb.com/). It provides: * Syntax for `config/models` @@ -41,7 +41,7 @@ is another plugin that does: vim-syntax-shakespeare ============================================================================== USAGE *yesod-usage* -*yesod.vim* provides some functions and default mappings: +yesod.vim provides some functions and default mappings: *yesod-open-handler* *:yesodOpenHandler* *gh* :YesodOpenHandler Jump to the handler of the route under the cursor. @@ -92,7 +92,7 @@ USAGE *yesod-usage* :YesodTouch Touch modified TH and Static resources files. Whenever you add a new static file (like an image) to `static/` or modify a file that depends on template - Haskell generation use *ghT* to touch those, so they + Haskell generation use ghT to touch those, so they are re-built. ```

alx741

Good catch, thanks!