Loading ...
Sorry, an error occurred while loading the content.

java_highlight_functions breaks syntax folding

Expand Messages
  • David Barnett
    Steps to reproduce: 1. Add let java_highlight_functions = style to the top of your .vimrc 2. Open any Java file with multiple levels of nesting 3. :set
    Message 1 of 1 , Jan 16, 2013
    • 0 Attachment
      Steps to reproduce:
      1. Add "let java_highlight_functions = 'style'" to the top of your .vimrc
      2. Open any Java file with multiple levels of nesting
      3. ":set foldmethod=syntax foldlevel=0"
      Results:
      No folds appear.
      Expected results:
      Every set of curly braces should trigger one level of folds. If you remove "let java_highlight_functions = 1" from .vimrc and repeat steps 2 and 3, everything but the outermost curly braces is folded.

      There seems to be a clash between the javaFold and javaFuncDef regions.

      --
      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    Your message has been successfully submitted and would be delivered to recipients shortly.