JuliaDiff / JuliaDiff/BlueStyle

Vim Settings to make new line after opening bracket only indent once

Open
#29 7 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

editor-settings help wanted
Dominant language
No language data
Stars
519
Forks
34
PR merge metrics
No merged PRs in 30d

Description

By default if one writes the following, pressing enter after the opening (
then the next character pressed will be where the x is:

function my_long_function_name(
                               x

but what the style-guide recommends is:

function my_long_function_name(
    x

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue provides current and desired indentation examples but names no file or existing Vim configuration. Start by locating the repository's editor-settings or style-guide guidance, then determine where this Julia indentation behavior should be documented or configured. Done means the documented setting produces the four-space continuation shown.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia, vim
Domain
documentation, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.