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

hide_cursor not working #44

Open
serhez opened this issue Jan 3, 2024 · 2 comments
Open

hide_cursor not working #44

serhez opened this issue Jan 3, 2024 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@serhez
Copy link

serhez commented Jan 3, 2024

When I set outline_window.hide_cursor = true, I get the following error message:

Error executing vim.schedule lua callback: ...cal/share/nvim/lazy/outline.nvim/lua/outline/sidebar.lua:259: attempt to concatenate local 'cur' (a nil value)
stack traceback:
	...cal/share/nvim/lazy/outline.nvim/lua/outline/sidebar.lua:259: in function 'update_cursor_style'
	...cal/share/nvim/lazy/outline.nvim/lua/outline/sidebar.lua:209: in function 'setup_buffer_autocmd'
	...cal/share/nvim/lazy/outline.nvim/lua/outline/sidebar.lua:87: in function 'initial_setup'
	...cal/share/nvim/lazy/outline.nvim/lua/outline/sidebar.lua:104: in function 'initial_handler'
	...cal/share/nvim/lazy/outline.nvim/lua/outline/sidebar.lua:592: in function 'on_symbols'
	...vim/lazy/outline.nvim/lua/outline/providers/nvim-lsp.lua:101: in function 'handler'
	...r/neovim/HEAD-7f9fc2f/share/nvim/runtime/lua/vim/lsp.lua:1185: in function 'fn'
	vim/_editor.lua:344: in function <vim/_editor.lua:343>
@hedyhli
Copy link
Owner

hedyhli commented Jan 5, 2024

Are you using neovim nightly? On first glance my guess is that it's due to some change from neovim upstream which broke the parsing of vim.o.guicursor.

I'll have a look into this.

@serhez
Copy link
Author

serhez commented Jan 5, 2024

Yes, I am! Thanks for having a look.

@hedyhli hedyhli added bug Something isn't working help wanted Extra attention is needed labels Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants