puppet-editor-services icon indicating copy to clipboard operation
puppet-editor-services copied to clipboard

impossible to use a select resource from list

Open Dan33l opened this issue 1 year ago • 0 comments

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.

Dan33l avatar Sep 24 '24 15:09 Dan33l