sitiom / nvim-numbertoggle Goto Github PK
View Code? Open in Web Editor NEWNeovim plugin to automatically toggle between relative and absolute line numbers. Written in Lua.
License: MIT License
Neovim plugin to automatically toggle between relative and absolute line numbers. Written in Lua.
License: MIT License
Hello,
I am maintaining https://github.com/nkakouros-original/numbers.nvim which does the same thing as your plugin here. Would you like to combine efforts into a single plugin?
I'm using the NvChad configuration, which uses Lazy as a plugin manager, I've successfully had it installed. But the switching doesn't seem to be occurring. Not sure what I'm missing. This is what I added to my plugins file:
{
"sitiom/nvim-numbertoggle"
}
Hey,
this is a cool plugin, it's useful! However I've needed to disable it unfortunately as it does not play well with tmux. When switching to another window in tmux, it seems like the window just left where nvim is, that this plugin redraws the screen. This causes tmux to alert that something has changed (new output) in the window that was just left, and also marking it as having new activity in the window list.
See the attached video for a demonstration.
The expected behavior, which is the case when this plugin is not used in nvim, is that there is no nvim activity when leaving the window, thus no false activity notifications.
Maybe nvim-numbertoggle redraws the screen all the time?
My system:
nvim: 0.8.1
OS: macOS 12.6
nvim-numbertoggle: latest version
Hide line numbers in Terminal mode.
With no plugins, neovim's debug window will expand upwards as you enter more commands. For example if you enter :debug echo "haha"
or enter the debugger from a script, you can echo a variable to see it's value, and it will print, and the debug window will expand by however many lines it takes to accommodate the output.
When this plugin is enabled, the height of the debug window is stuck at 1, preventing the user from seeing any of the debug output. Worth mentioning that this behavior does not exists with the vimscript version of this plugin, jeffkreeftmeijer/vim-numbertoggle
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.