Skip to content

The example of adding a plugin by link does not work #1774

@yolisses

Description

@yolisses

Before Reporting an Issue

  • I have read the kickstart.nvim README.md.

  • I have read the appropriate plugin's documentation.

  • I have searched that this issue has not been reported before.

  • By checking this, I confirm that the above steps are completed. I understand leaving this unchecked will result in this report being closed immediately.

Describe the bug

The example of using a link to add a plugin is:

  -- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link).
  'NMAC427/guess-indent.nvim', -- Detect tabstop and shiftwidth automatically

But the current version of guees-indent explicitly states that setup should be called.

Install using your favorite package manager and then call the following setup function somewhere in your config:

 require('guess-indent').setup {}

As a consequence, the plugin is not configured, and the example is troublesome.

Using the suggested installation of guess-indent works, though:

-- using packer.nvim
use {
 'nmac427/guess-indent.nvim',
 config = function() require('guess-indent').setup {} end,
}

I would create a PR using another plugin as an example, but I don't feel experienced enough in NeoVim to choose one.

To Reproduce

  1. Create a fresh installation of kickstart.nvim.
  2. Run :GuessIndent to test if the plugin is properly configured.
    E492: Not an editor command: GuessIndent

Desktop

  • OS: Ubuntu 24.04.3 LTS
  • Terminal: GNOME Terminal Version 3.52.0 for GNOME 46

Neovim Version

NVIM v0.11.5
Build type: RelWithDebInfo
LuaJIT 2.1.1741730670

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions