Skip to content

impossible to use a select resource from list #390

@Dan33l

Description

@Dan33l

Describe the Bug

Impossible to use a selected resource from list. For instance in this capture the file resource.

Capture d’écran du 2024-09-24 14-29-11

Expected Behavior

I can select file resource and something like this is present into my pp document:

file { 'title':
}

Steps to Reproduce

Steps to reproduce the behavior:

  1. install Coc
  2. configure Coc
  3. open a document file and start to write fil ,
  4. try to select the file resource from the list proposed to get it written into pp document

Environment

  • Version v2.0.4
  • Platform Ubuntu 24.04, vim 9.1 (from deb package)
  • Ruby 3.2.0 (managed by rbenv)
  • COC for interfacing Language server with Vim

Additional Context

CocConfig

{
    "languageserver": {
      "puppet": {
        "command": "ruby",
        "args": ["/home/daneel/Documents/puppet-editor-services/puppet-languageserver","--stdio","--puppet-settings=--moduledir,/opt/dockerspace/build/"],
        "cwd": "/home/daneel/Documents/puppet-editor-services",
        "filetypes": ["puppet"],
        "rootPatterns": [".git/", "metadata.json"]
      }
    }
  }

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions