Make extra space after emoji optional
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- vim
- 领域
- tooling
调研方向
首先定位 issue 中提到的 s:emoji 函数和 g:github_dashboard 配置。当用户可以配置插件是否在 emoji 后添加额外空格,同时保留任何明确要求的空格时,这项工作就完成了。
由索引模型根据 Issue 内容生成。
描述
I am running the latest HEAD for NeoVim + the latest nightly of iTerm2, both of these things together allow for correct rendering of emoji with no character width problems or background color issues.
This means that the extra space which this plugin inserts after emoji is no longer required for my setup:
function! s:emoji(name, ...)
if b:github_emoji && has_key(s:emoji_code, tolower(a:name))
let e = s:emoji_code[tolower(a:name)]
- return join(map(copy(e), 'nr2char(v:val)'), '') . repeat(' ', 1 + (a:0 > 0 ? a:1 : 0))
+ return join(map(copy(e), 'nr2char(v:val)'), '') . repeat(' ', (a:0 > 0 ? a:1 : 0))
else
return ''
endif
endfunction
Would it be possible to make this an option that can be set via g:github_dashboard?
- 主要语言
- Vim Script
- 星标
- 483
- 派生
- 22
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
junegunn/vim-github-dashboard 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 20/100
junegunn/vim-github-dashboard#34 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
junegunn/vim-github-dashboard#30 · 1 条评论 ·
查看 junegunn/vim-github-dashboard 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
drevendev/Devostasis#158 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
vetro-protocol/vetro-monorepo#1277 ·
维护者通常 1 天内回复
-
Upgrade psalm未关闭dependencies
难度 2/5 1-3 小时 新手友好度 66/100
-
bug for-agent ready
难度 2/5 1-3 小时 新手友好度 62/100
WenyuChiou/agent-board#1812 · 2 条评论 ·
维护者通常 1 天内回复