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

[Improvement] Edit: Maybe clarify in README that the steps require… are only to be executed once (after installation) #15

Open
cmon1701 opened this issue Jan 13, 2025 · 1 comment

Comments

@cmon1701
Copy link

The Bookmark file (in ~/.local/share/nvim/lspmark) gets deleted when changing the directory in NeoVim to the project directory (:cd <project dir>) and then opening the source code file.

However, it does NOT get deleted when first opening the source code file and then changing the directory to the project directory.

I am not using the autocmd for loading bookmarks, I load them manually.

@cmon1701
Copy link
Author

It appears that this is only because I executed
require("lspmark").setup()
require("telescope").load_extension("lspmark")
every time the plugin is loaded.
I realized that this is necessary only one.
Maybe it would be good to clarify this in the README.
Ticket may get closed.

@cmon1701 cmon1701 changed the title [Bug] Bookmark file gets deleted when changing the directory first and then opening the source code file [Improvement] Maybe clarify in README that the steps require… are only to be executed once (after installation) Jan 13, 2025
@cmon1701 cmon1701 changed the title [Improvement] Maybe clarify in README that the steps require… are only to be executed once (after installation) [Improvement] Edit: Maybe clarify in README that the steps require… are only to be executed once (after installation) Jan 13, 2025
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