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

LSP not suggesting as many snippets as it seems it should #14

Closed
jaycoolslm opened this issue Jun 4, 2024 · 4 comments
Closed

LSP not suggesting as many snippets as it seems it should #14

jaycoolslm opened this issue Jun 4, 2024 · 4 comments

Comments

@jaycoolslm
Copy link

jaycoolslm commented Jun 4, 2024

I have matched my set up exactly to this repo but am unable to get as many snippets as the tutorial.

e.g. as you can see below, the tutorial would bring up 'function' as a snippet as well as 'fu'

Screenshot 2024-06-04 at 05 52 36

There are lots of other instances where I am not getting suggested stuff which I would usually get from vscode, e.g. local vars

EDIT: Part of these issues were caused by me moving from bash -> zsh half way through the tutorial. you can source .bashrc inside your zsh file

@jaycoolslm
Copy link
Author

I have referred to this issue thread hrsh7th/cmp-nvim-lsp#38 (comment) if of any use

@jaycoolslm
Copy link
Author

On my server fixed by adding nvim_lsp in cmp.config.sources which wasnt done in the video... unsure why on my local machine which had this repo cloned it still didnt work though

@jaycoolslm
Copy link
Author

Weird... even if I copy the server config, which does have some extra snippets, over to my macos local... the macos local isn't getting the snippets

@jaycoolslm jaycoolslm reopened this Jun 4, 2024
@jaycoolslm
Copy link
Author

Closing this to open a more specific one for MacOS

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

No branches or pull requests

1 participant