-
Notifications
You must be signed in to change notification settings - Fork 69
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
Indention not working after using escaped { #132
Comments
Please provide a full example that (does not) work(s) by itself. |
For sure :) Here a working example code. def some_function():
id=1
d="somestring"
LINE_BREAK="\n"
rendered_result = 'System_Boundary({id},"{descr}") {{'.format(id=id,descr=d) + LINE_BREAK
return rendered_result
print(some_function()) If text is being added after the some_function method it will be indented approx. 58-60 spaces to right |
Works for me. vim-python-pep8-indent/indent/python.vim Line 369 in b3a7395
|
even a simple |
Appears to be an issue with your syntax file then. |
Looks like it delegates to some other syntax maybe? |
if the cursors location is in the string with the two curly brackets it displays: |
So that should be ok. But there's another method used to check/skip this after all. |
I am using the configuration of https://vim.fisadev.com/ at https://raw.githubusercontent.com/fisadev/fisa-vim-config/master/config.vim |
works great! |
Cool! |
Hi,
I am escaping a curly bracket in a string and after that line of code the indention breaks and runs mad.
id=1 d="somestring" LINEBREAK="\n" rendered_result = 'System_Boundary({id},"{descr}") {{'.format(id=id,descr=d) + LINE_BREAK
The following line indention is 62 characters long
The text was updated successfully, but these errors were encountered: