Skip to content

Comments

fix: fileWorkspaceFolder should respect current opened file#434

Merged
stevearc merged 1 commit intostevearc:masterfrom
jiz4oh:fileWorkspaceFolder
Nov 18, 2025
Merged

fix: fileWorkspaceFolder should respect current opened file#434
stevearc merged 1 commit intostevearc:masterfrom
jiz4oh:fileWorkspaceFolder

Conversation

@jiz4oh
Copy link
Contributor

@jiz4oh jiz4oh commented Jul 2, 2025

Hi @stevearc, the #418 had been force pushed by a pull bot. so I have to re-open a new pr.

As described at Predefined variables
, the ${fileWorkspaceFolder} means Currently opened file's workspace folder, so vim.fn.expand("%:p:h") is better matched than vim.fn.getcwd().

@jiz4oh jiz4oh force-pushed the fileWorkspaceFolder branch from 156df32 to 9dc676c Compare November 17, 2025 08:01
@jiz4oh
Copy link
Contributor Author

jiz4oh commented Nov 17, 2025

Hi @stevearc, could you take a look on this?

@stevearc
Copy link
Owner

LGTM, thanks for the PR!

@stevearc stevearc merged commit b071fb5 into stevearc:master Nov 18, 2025
12 of 13 checks passed
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.

2 participants