1
0
mirror of https://github.com/jiriks74/presence.nvim synced 2024-11-23 12:27:50 +01:00
Commit Graph

5 Commits

Author SHA1 Message Date
Andrew Kwon
f4c1e227be Re-add BufEnter autocmd and handle tmux bug
Fixes #19
2021-06-07 20:03:19 -07:00
Andrew Kwon
12d177985b Have snappier multi-window updates via focus events
- Fix multi-window presence
- Update on FocusGained events
- Add BufAdd handler and properly cancel on WinLeave
2021-05-31 17:44:31 -07:00
vhyrro
9fd2a30127
Add the ability to show the current line number in presence (#16)
* fix: rewrite for latest commit
* fix: formatting
* fix: use BufEnter instead of BufRead for more stable presence updates
* fix: change vimscript variable from false to 0
Co-authored-by: Andrew Kwon <andrewshky@gmail.com>
* fix: revert back to TextChanged rather than InsertEnter, refactor bits of the codebase
* fix: formatting
* fix: luacheck error and compare options to numeric values rather than booleans
Co-authored-by: Andrew Kwon <andrewshky@gmail.com>
2021-05-22 12:46:41 -07:00
Andrew Kwon
a325d154fc Support peer-to-peer workspace state management
- Add sync logic to manage multi-client runtime state
- Debounce and set activity on TextChanged events
- Update timestamp to be workspace-specific
- Set activity on an open nvim instance upon a VimLeave event
2021-03-18 19:10:04 -07:00
Andrew Kwon
f3151560a7 Move autocmd to autoload and validate setup opts 2021-01-03 11:29:19 -08:00