From b7b09171ce1f11601376c921e57154c90e103d6a Mon Sep 17 00:00:00 2001 From: ArnaldoC Date: Thu, 9 May 2019 11:52:15 -0400 Subject: [PATCH 1/2] Update SyntaxAttr.vim --- plugin/SyntaxAttr.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/SyntaxAttr.vim b/plugin/SyntaxAttr.vim index 81a8b0b..79f82ca 100644 --- a/plugin/SyntaxAttr.vim +++ b/plugin/SyntaxAttr.vim @@ -62,4 +62,6 @@ function! SyntaxAttr() endif echo message echohl None + + return message endfunction From f614ff919f77408e906045140aaf734304e62e0c Mon Sep 17 00:00:00 2001 From: ArnaldoC Date: Thu, 9 May 2019 12:05:25 -0400 Subject: [PATCH 2/2] Update README --- README | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README b/README index 36c33b6..6e765c5 100644 --- a/README +++ b/README @@ -18,3 +18,7 @@ This can be helpfull both developing syntax files, and for determining what some Recommended use with a mapping such as: map -a :call SyntaxAttr() + +If you want to copy the syntax information into register "a" for using in your own syntax files or colorschemes, you could map as follows: + +noremap :let @a = SyntaxAttr()