2072 / 2072/PHP-Indenting-for-VIm

variable assignment spanning multiple lines

未关闭 适合新手
#84 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
good first issue
主要语言
Vim Script
星标
130
派生
29
PR 合并指标
30 天内没有已合并 PR

描述

Hello,

Indenting is missed on multi-line variable assignment, eg. for something like this I would expect the second and third line to indent:

```
$sql = "select something "
. "from somewhere "
. "where conditions=match";
```

Is there a way to configure that to happen?

Thanks...

贡献指南

这个仓库没有索引到贡献指南

调研方向

查看 PHP 的 Vim 缩进脚本,可能在仓库的主缩进文件中。问题与使用点运算符进行多行字符串拼接有关。使用提供的示例测试当前行为,然后检查行连续的缩进规则。检查是否有配置选项,或者是否需要添加一条规则。通过编辑脚本并在 Vim 中测试来验证。

由索引模型根据 Issue 内容生成。

评估

技术栈
php, vim
领域
devtools
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
65/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。