lpy icon indicating copy to clipboard operation
lpy copied to clipboard

lpy.el (lpy-line-left-p): Improve special position detection

Open EugeneNeuron opened this issue 11 months ago • 0 comments

More consistent result for edge cases:

  • when (current-column) is multiple of 4, but should be special

    x = (",".join(["1", "2"])
        | .startswith("1"))
    
  • point in multiline sting is no longer special.

    test = """
    |content
    """
    
    test = """
     | content
    """
    
  • point at bolp can now be special, if last command is not lpy-space/newline.

    if x = 2:
    |    print(x)
    

EugeneNeuron avatar Mar 03 '24 13:03 EugeneNeuron