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

Indent code error #38

Open
ZhangJianAo opened this issue Nov 5, 2018 · 1 comment
Open

Indent code error #38

ZhangJianAo opened this issue Nov 5, 2018 · 1 comment

Comments

@ZhangJianAo
Copy link

After install solidity mode, press tab to indent code, it's not working and show follow error message:

Error evaluating offset + for defun-block-intro: Got invalid value tab-width

Using c-c c-o (c-set-offset) to set defun-block-intro to a number other than '+', it's working.

@LefterisJP
Copy link
Collaborator

Hello @ZhangJianAo. This sounds like a problem with your Emacs setup. What is the value of tab-width when you are inside an emacs solidity buffer? You can check it with C-h-v tab-width

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants