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

Set the indent as 4 spaces #294

Merged
merged 4 commits into from
May 16, 2022
Merged

Conversation

zhaiyusci
Copy link
Contributor

According to style guide, set the indent for Julia as 4 spaces.

According to style guide, set the indent for Julia as 4 spaces.
ftplugin/julia.vim Outdated Show resolved Hide resolved
@carlobaldassi
Copy link
Contributor

Thanks. This introduces a new option and thus it should be documented.
Also, the settings should be undone when the plugin is unloaded.

ftplugin/julia.vim Outdated Show resolved Hide resolved
doc/julia-vim.txt Outdated Show resolved Hide resolved
@carlobaldassi
Copy link
Contributor

I'm not too sure about the name julia_recommended_style for the variable name. It seems very general, while this is only for indentation. Maybe julia_set_indentation?

@carlobaldassi carlobaldassi merged commit 0670659 into JuliaEditorSupport:master May 16, 2022
@carlobaldassi
Copy link
Contributor

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants