Skip to content

Mistake in documentation - variable assignment #177

@francisco-simoes

Description

@francisco-simoes

I am a beginner in neovim and Lua, but I believe I found a mistake in the documentation.

In the configuration instructions, it is written:

require('telescope').setup {
       local project_actions = require 'telescope._extensions.project.actions' 
...

This raised a Lua Syntax error. I believe it should be instead

local project_actions = require 'telescope._extensions.project.actions'
require('telescope').setup {
...

Now the variable definition is not done inside the table and the error is not raised.

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