Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Marker syntax for vim #32

Merged
merged 1 commit into from
May 11, 2020

Commits on May 11, 2020

  1. Update Marker syntax for vim

    Apparently in vim 8.2 (apparently) the heredoc syntax requires that the markers cannot be lower case and will result in an error like this:
    
    Error detected while processing function vim_python_test_runner#RunDesiredTests:
    line    1:
    E221: Marker cannot start with lower case letter
      File "<string>", line 1
        << endPython
         ^
    SyntaxError: invalid syntax
    line    2:
    E1042: import/export can only be used in vim9script
    line    3:
    E492: Not an editor command: from vim_python_test_runner import *
    line    5:
    E128: Function name must start with a capital or "s:": get_proper_command(desired_command, current_directory):
    line    6:
    E492: Not an editor command:     current_line_index = vim.current.window.cursor[0]
    line    7:
    E492: Not an editor command:     FUNCTIONS = {
    line   21:
    E492: Not an editor command:     }
    line   22:
    E121: Undefined variable: FUNCTIONS
    mattjmorrison committed May 11, 2020
    Configuration menu
    Copy the full SHA
    b831f9e View commit details
    Browse the repository at this point in the history