When g:kconfig_syntax_heavy was not set, the 'endmenu' keyword was not
colored. Also 'menu' and 'endmenu' are start and end keywords for a
menu.
---
 runtime/syntax/kconfig.vim |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/runtime/syntax/kconfig.vim b/runtime/syntax/kconfig.vim
index a68592e..6061668 100644
--- a/runtime/syntax/kconfig.vim
+++ b/runtime/syntax/kconfig.vim
@@ -666,9 +666,9 @@ syn keyword kconfigTodo               contained TODO FIXME 
XXX NOTE
 
 syn match   kconfigComment            display '#.*$' contains=kconfigTodo
 
-syn keyword kconfigKeyword            config menuconfig comment menu mainmenu
+syn keyword kconfigKeyword            config menuconfig comment mainmenu
 
-syn keyword kconfigConditional        choice endchoice if endif
+syn keyword kconfigConditional        menu endmenu choice endchoice if endif
 
 syn keyword kconfigPreProc            source
                                       \ nextgroup=kconfigPath
-- 
1.6.1.288.ga6efd

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui