hare.vim

[vim] Hare vim plugin
git clone https://git.torresjrjr.com/hare.vim.git
Log | Files | Refs | README | LICENSE

commit 9ade50afc40b1f760afd8da406ae0e7c5180a1a6
parent 2e90dea8ccd20aa7622e68171c14826a157208df
Author: Byron Torres <b@torresjrjr.com>
Date:   Tue,  1 Feb 2022 00:27:02 +0000

Set keywordprg=haredoc, iskeyword

Allows the usage of the 'K' command on absolute-path Hare keywords,
including long keywords with '::'.

Signed-off-by: Byron Torres <b@torresjrjr.com>

Diffstat:
Mftplugin/hare.vim | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/ftplugin/hare.vim b/ftplugin/hare.vim @@ -16,6 +16,8 @@ setlocal shiftwidth=0 setlocal softtabstop=0 setlocal textwidth=80 setlocal commentstring=//\ %s +setlocal keywordprg=haredoc\ -a +setlocal iskeyword=@,48-57,:,_,192-255 " Set 'formatoptions' to break comment lines but not other lines, " and insert the comment leader when hitting <CR> or using "o".