Giter Club home page Giter Club logo

Comments (5)

viluon avatar viluon commented on August 23, 2024

Thank you very much for the bug report, @devidasjadhav, especially then for the linked solution. I will look into this issue as soon as possible.

from luaextended.

devidasjadhav avatar devidasjadhav commented on August 23, 2024

I forgot to thank you for time saving solution made thanks a lot for this project.
Also for showing concern to looking into it.

from luaextended.

InternetUnexplorer avatar InternetUnexplorer commented on August 23, 2024

Thanks for the bug report! I was wondering if you could include steps to reproduce the issue, as the indentation seems to be working fine for me:

Could you perhaps include an example of where it is not working?

from luaextended.

viluon avatar viluon commented on August 23, 2024

@InternetUnexplorer @devidasjadhav said (s)he used (probably) the Reindent Lines command. It seems that any text after an indent-changing keyword breaks the settings:

This could be a really simple fix, I'll mess with the regex right now.

from luaextended.

viluon avatar viluon commented on August 23, 2024

Huh, this could be a problem with ST3 itself: regular expressions 101 seem to match the increaseIndentPattern correctly

Likewise, the decreaseIndentPattern is matched as it should be

The relevant patterns can be found here.
Test string:

if a then
b()
elseif c then
d()
else -- damn you, ST3
e()
if x then -- woop
do
foo()
end -- of everything
y()
elseif z then -- tricky comment
_()
--[[ the ]] end -- is near
end

from luaextended.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.