Skip to content

:verbose set xxx? でファイル名だけでなく行番号も欲しい #1174

@ujihisa

Description

@ujihisa

質問・報告の内容

例: 手元のvimでfiletype=vim なファイルで :verbose set iskeyword? みると

こうなってたけどguardのどこかわからなくて不便

とりあえずファイル名だけでなく行番号も分かると便利

参考: :h :verbose はいまこんなかんじです

							*:verbose-cmd*
When 'verbose' is non-zero, listing the value of a Vim option or a key map or
an abbreviation or a user-defined function or a command or a highlight group
or an autocommand will also display where it was last defined.  If it was
defined manually then there will be no "Last set" message.  When it was
defined while executing a function, user command or autocommand, the script in
which it was defined is reported.

Vimのバージョン

VIM - Vi IMproved 8.1 (2018 May 17, compiled May 25 2018 00:50:25)
Included patches: 1-22

その他

単純に :verbose の出力文字列を変えてしまうと、それに依存したプラギンがあればそれを壊してしまうので、どうするのがいいかなあ。 (それに依存するのが行儀良いか悪いかというと、それ以外の手法がなさそうなので、依存してるプラギンは守りたいですよねえ)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions