Wikia

Vim Tips Wiki

Script:2899

Talk0
1,613pages on
this wiki
Revision as of 07:46, November 15, 2011 by JohnBot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Use this page to discuss script 2899 TxtBrowser: Browse plain text easily (show title tags and syntax highlight)

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Bug reportEdit

1. Error reported when open Tlist: Unknown language "txt" in "language-force" option, This is the error info:

Taglist: Failed to generate tags for d:\BAK\aaa.txt ^@d:\BAK>d:\Tools\Editors\gVim\Utility\ctags\ctags.exe -f - --format=2 --excmd=pattern --fields=nks --sort=yes --language-force=txt --txt-types=cft "d:\BAK\aaa.txt" ^@ctags.exe: Unknown language "txt" in "language-force" option

2. txtbrowser标题顺序显示不正确。 如下图所示,5.1标题不是应该显示在5标题下面吗?怎么跑到最上面去了?

截图01

SolutionsEdit

It seemed that you put the file .ctags to a wrong location. The .ctags should be on $HOME directory. It is easy to find your $HOME directory on Linux, but it may be confusing to those using Windows. Generally, your $HOME directory should be "C:\Documents and Settings\abcd" if you login name is "abcd". Open "Start-Run-Cmd" and use "cd " (with no parameters) command to goto your $HOME directory.

The locations checked for a ctags.cnf file are as follows: /ctags.cnf (i.e. on current drive) $HOME/ctags.cnf $HOMEDRIVE$HOMEPATH/ctags.cnf ./ctags.cnf

Made sure that you drop your config file in the $HOME folder (if you don't have a HOME variable when looking at the environment variables, add it).

CommentsEdit

Around Wikia's network

Random Wiki