]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(vim): improve &keywordprg in ftplugin
authorKonfekt <Konfekt@users.noreply.github.com>
Sun, 23 Feb 2025 15:03:30 +0000 (16:03 +0100)
committerChristian Brabandt <cb@256bit.org>
Sun, 23 Feb 2025 15:03:30 +0000 (16:03 +0100)
commit094494bf2eef8d788944b2b00b3361feb545d3ae
tree87cd9abd819eefc6145175bedde68db178c5d43c
parent025dc48e88790133ef0da583b2ce5b9c2232ea9e
runtime(vim): improve &keywordprg in ftplugin

- let keywordprg in vim filetype handle context-sensitive help calls by
  detecting the syntax group of the word under the cursor
- reformat whitespace
- add modeline

related: #16677
closes: #16680

Co-authored-by: Andrew Radev <andrey.radev@gmail.com>
Co-authored-by: "D. Ben Knoble" <ben.knoble+github@gmail.com>
Co-authored-by: Gary Johnson <garyjohn@spocom.com>
Co-authored-by: Tim Pope <code@tpope.net>
Co-authored-by: Doug Kearns <dougkearns@gmail.com>
Co-authored-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: Konfekt <Konfekt@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/ftplugin/vim.vim