Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snippets doesn't have a Description, on vim #358

Open
A4-Tacks opened this issue Sep 5, 2024 · 3 comments · May be fixed by #359
Open

Snippets doesn't have a Description, on vim #358

A4-Tacks opened this issue Sep 5, 2024 · 3 comments · May be fixed by #359

Comments

@A4-Tacks
Copy link

A4-Tacks commented Sep 5, 2024

Screenshot_20240905_140835

CocInfo

versions

vim version: VIM - Vi IMproved 9.1 9010000
node version: v21.6.1
coc.nvim version: 0.0.82-d4ff928 2024-08-28 20:22:18 +0800
coc.nvim directory: /home/lrne/.vim/plugged/coc.nvim
term: dumb
platform: linux

Log of coc.nvim

2024-09-05T14:09:50.703 INFO (pid:2491) [plugin] - coc.nvim initialized with node: v21.6.1 after 355
2024-09-05T14:09:53.323 INFO (pid:2491) [snippets-session] - Jump to final placeholder, cancelling snippet session
2024-09-05T14:09:53.325 INFO (pid:2491) [attach] - receive notification: showSignatureHelp []
2024-09-05T14:09:56.768 INFO (pid:2491) [attach] - receive notification: showInfo []

Snip output

[Info - 06:09:50.685] Using ultisnips directories:
[
"UltiSnips",
"/home/lrne/.config/coc/ultisnips"
]
[Info - 06:09:50.706] Loading textmate snippets from filetypes:
[Info - 06:09:50.712] Loading textmate snippets from filetypes: snippets
[Info - 06:09:50.827] Loaded 1 UltiSnip snippets from: /home/lrne/.config/coc/ultisnips/all.snippets

snippet foo "This is foo" b
foo bar
endsnippet
@A4-Tacks
Copy link
Author

A4-Tacks commented Sep 5, 2024

Default snippets is expected:

Screenshot_20240905_141837

@A4-Tacks
Copy link
Author

A4-Tacks commented Sep 5, 2024

UltiSnip trace

[Info  - 06:35:31.177] Using ultisnips directories:
[
  "UltiSnips",
  "/home/lrne/.config/coc/ultisnips"
]
[Info  - 06:35:31.214] Loading textmate snippets from filetypes: 
[Info  - 06:35:31.234] Loading textmate snippets from filetypes: snippets
[Debug 14:35:31] Loaded snippet: {
  "filepath": "/home/lrne/.config/coc/ultisnips/all.snippets",
  "filetype": "all",
  "prefix": "foo",
  "autoTrigger": false,
  "lnum": 0,
  "triggerKind": 1,
  "description": "",
  "regex": null,
  "body": "foo bar",
  "priority": 0
}
[Info  - 06:35:31.521] Loaded 1 UltiSnip snippets from: /home/lrne/.config/coc/ultisnips/all.snippets
[Info  - 06:35:31.521] Loaded 0 UltiSnip snippets from: /home/lrne/.config/coc/ultisnips/snippets.snippets
{
    "snippets.ultisnips.trace": true
}

@A4-Tacks
Copy link
Author

A4-Tacks commented Sep 5, 2024

let ms = prefix.match(/^\W+/)

ms is null

@A4-Tacks A4-Tacks linked a pull request Sep 5, 2024 that will close this issue
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 a pull request may close this issue.

1 participant