Skip to content

Conversation

mrcjkb
Copy link
Member

@mrcjkb mrcjkb commented Sep 3, 2024

See also: nvim-neorocks/rocks.nvim#527

Requires an up-to-date rocks.nvim with the following experimental feature enabled:

vim.g.rocks_nvim = {
  -- ...
  experimental_features = {
    "ext_module_dependency_stubs",
  },
}

@mrcjkb mrcjkb merged commit 0a2815a into main Sep 3, 2024
8 checks passed
@mrcjkb mrcjkb deleted the push-qlkqqrxnryyu branch September 3, 2024 17:44
@teto
Copy link
Member

teto commented Sep 4, 2024

might be clearer/less error prone to recommand:

  experimental_features = {
    require'rocks.extension'.ext_module_dependency_stubs,
  },

but it depends on how it's conceived, like can it be removed anytime ? can rocks extension add their own experimental feature ?

@mrcjkb
Copy link
Member Author

mrcjkb commented Sep 4, 2024

might be clearer/less error prone to recommand:

  experimental_features = {
    require'rocks.extension'.ext_module_dependency_stubs,
  },

but it depends on how it's conceived, like can it be removed anytime ? can rocks extension add their own experimental feature ?

The ext_module_dependency_stubs feature is a rocks.nvim (API) feature. There's nothing to be enabled in the extensions. They always use use the API, it just does nothing if the feature is disabled.

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