Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(swift_mesonls): add meson.options as a root marker #2991

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

tristan957
Copy link
Contributor

This is the preferred filename for defining options for a few versions. meson_options.txt is legacy, but will continue to stick around.

This is the preferred filename for defining options for a few versions.
meson_options.txt is legacy, but will continue to stick around.
@gpanders gpanders merged commit 28838b4 into neovim:master Jan 30, 2024
9 checks passed
@tristan957 tristan957 deleted the meson branch January 30, 2024 20:01
@@ -4,7 +4,7 @@ return {
default_config = {
cmd = { 'Swift-MesonLSP', '--lsp' },
filetypes = { 'meson' },
root_dir = util.root_pattern('meson_options.txt', '.git'),
root_dir = util.root_pattern('meson_options.txt', 'meson.options', '.git'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

order matters. if the new file has higher precedence, it should be first in the list.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're not allowed to have both files, so the point seems moot. Happy to submit a follow-up if that's what you want.

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.

3 participants