Comments (6)
Hopefully I did it correctly, I set inside track.lua setup function:
log = {
plugin = "track",
level = "debug",
},
Here is the log from ~/.cache/nvim/track.log
[INFO Sun Apr 28 00:40:02 2024] ~/.local/share/nvim/lazy/track.nvim/lua/track/state.lua:156: State.save(): saved current state into ~/.local/state/nvim/track.json
[INFO Sun Apr 28 00:40:02 2024] ~/.local/share/nvim/lazy/track.nvim/lua/telescope/_extensions/track/pickers/views.lua:69: Telescope.Views.picker(): closed telescope.track.views and saved state
Notification message when I run :Mark
on telescope.lua
| Messages: | Messages: | Messages: | Messages: | Messages: [track] [INFO 00:33:24] ~/.local/share/nvim/lazy/track.nvim/lua/track/state.lua:129: State.reload(): reloaded ~/.local/state/nvim/track.json
Notification message from :lua=require'track.state'._roots[vim.loop.cwd()]:get_main_bundle().views
| Messages: | Messages: | Messages: { "lua/plugins/track.lua", "lua/core/keymaps.lua", "~/.config/nvim/lua/plugins/lsp/lspconfig.lua", "lua/core/options.lua",
<metatable> = {
__call = <function 1>
}
}
from track.nvim.
I never would have mapped shada into this equation. Good job solving it!
from track.nvim.
Yes, it does seem weird. Could you try setting the log level to debug and then send the ~/.cache/nvim/track.log here?
Also, see if the :lua=require'track.state'._roots[vim.loop.cwd()]:get_main_bundle().views
actually changes after you add the mark.
from track.nvim.
Thank you. Unfortunately it seems that the logs are useless 😞.
I can mark your file in mine though.
Anyways, you should try manually passing in the name for testing purposes.
" cd into ~/.config/nvim
:Mark lua/plugins/telescope.lua
:Track
:lua=require'track.state'._roots[vim.loop.cwd()]:get_main_bundle().views
from track.nvim.
No luck with doing it manually. Funny thing is, if I rename the file to anything other than telescope
itself.. for example telescopetj.lua
, then it gets marked. 😕
Probably something fishy going with my config 🤷♂️
from track.nvim.
I remembered I was trying to clear and delete all marks from neovim a few days ago, which might of caused this to happen. So I believe it "corrupted" shada somehow?
I. ran :delm! | delm A-Z0-9
. Not sure if this is the exact cause but it's the only thing I can think off. I just deleted the following folders and restarted neom and track is marking the telescope.lua file as it should.
rm -rf ~/.local/share/nvim
rm -rf ~/.local/state/nvim
rm -rf ~/.cache/nvim
Probably just the share/nvim
would of been enough, but anyways, it worked.
Thanks again for taking your time and helping me solve this issue!
from track.nvim.
Related Issues (15)
- Defaults and config options HOT 6
- Copy and Paste
- Previewer, dialog and illustrator UIs.
- Allow root_path and bundle_label to be a function
- Implement validation and config fallbacks
- Implement intersection function for Pad
- Add support for saving Neovim commands as marks.
- Need rigorous testing for Pad's line parser function.
- Allow re-populating Pad entries when branch has been changed.
- Implement a way to distinguish what type of project a `cwd` is.
- Mark initial cursor positions.
- Add positional marks.
- State UIs.
- Please don't refer to me as dead in the Wiki. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from track.nvim.