LuaLS / LuaLS/lua-language-server
Consider giving priority to added paths over gitignore files
未关闭
还没有人认领这个 Issue。
- 主要语言
- Lua
- 星标
- 4.4k
- 派生
- 442
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hello.
I was trying to make the VSCod extension detect my hammerspoon definitions, and it was not working.
Then I noticed the "Lua.workspace.useGitIgnore": false setting, and after setting it to false it started working.
I have this in my third party config
"Lua.workspace.userThirdParty": [
"/private/etc/nix-darwin/dotfiles/hammerspoon/Spoons/EmmyLua.spoon/annotations/"
]
That annotations folder is gitignored, but I seriously think it should take priority over the gitignore setting, because I manually added it.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先跟踪在过滤 workspace 路径时如何处理 Lua.workspace.userThirdParty 和 Lua.workspace.useGitIgnore 设置。检查所提供的 annotations 路径的行为,该路径被 gitignore 忽略但经过了显式配置。当显式添加的路径即使在 gitignore 设置下也会被考虑,同时其他路径的现有行为保持不变时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- lua
- 领域
- developer-experience, tooling
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100