Comments (5)
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.
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.
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.
@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.
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)
- Suggestions should not work within strings HOT 3
- Issue with new function scope HOT 4
- Wrong Regex for error() Strings
- Problems on Ubuntu 16.04 HOT 3
- SublimeLinter: syntax_map has been Deprecated HOT 11
- Completions Clash with All Autocomplete HOT 2
- Is this syntax compatible with lua-language-server?
- Inline if/else/etc statements do not indent properly. HOT 1
- Wrong Indentation with Statements
- More Documented Snippets
- Code Conversion Snippets
- Function Definition Highlighting Not Triggered with Newlines
- Concatenated error highlighting HOT 1
- Function indentation error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luaextended.