1
0
Fork 0
mirror of https://github.com/jiriks74/presence.nvim synced 2024-12-29 19:32:05 +01:00
Commit graph

77 commits

Author SHA1 Message Date
RootOperator
2f77b19e9d
fix: Authorization Failure (#60)
All checks were successful
Luacheck / Luacheck (push) Successful in 9m42s
StyLua / StyLua (push) Successful in 20m28s
Fixes: jiriks74/presence.nvim#59
2024-06-25 22:29:48 +02:00
&Cherry
883347db4e
feat: Blacklist repositories (#41)
All checks were successful
Luacheck / Luacheck (push) Successful in 9m40s
StyLua / StyLua (push) Successful in 20m33s
Blacklist URLs based on keywords

* Check repo URL in blacklisted

* readme update (for split blacklist config options)

* moved git repo check into its own loop

* fixed not loading if blacklist empty + other stuff ;-;

* fix(formatting): Format using StyLua to be in sync with upstream

* fix(init.lua): Change : to . so argument `self` is not created

---------

Co-authored-by: Jiří Štefka <jiri@stefka.eu>
2024-05-14 15:33:20 +02:00
f14ae7ef52
fix(ci/cd): Move StyLua from action to cargo + command (#40)
* fix(ci/cd): Move StyLua from action to cargo + command
[#68] StyLUA check is not working for PRs from forks

https://openproject.stefka.eu/work_packages/68

* fix(formatting): fix bad formatting from #39
2024-04-08 12:28:57 +02:00
jan Mikowa
65f93ee9ed
feat: add lazy.nvim plugin manager (#39)
* Add Lazy as plugin manager (andweeb#145)

* Add Lazy setup to README

* Change lazyload event in README
2024-04-08 11:29:05 +02:00
Andrey Kaipov
68086bdb28 make nvim socket path discovery more permissive 2024-02-11 18:52:24 -05:00
9ddeff558b
fix: move to a new application id (#23)
to prevent potential issues with the original project
2023-11-09 15:59:42 +01:00
c295e1e14f
fix(formatting): Fix formatting using stylua (#11) 2023-09-29 02:14:33 +02:00
2d57aa297b
fix(Presence:authorize): attempt to index local 'response' (a nil value)
Co-authored-by: Taken <taken@mairimashita.org>
2023-09-29 01:34:08 +02:00
85180bcc85
feat: custom image (#6)
* allow custom main image

* undo for general option

* fix warning: line is too long

---------

Co-authored-by: SIGMazer <mazinasd7@gmail.com>
2023-09-29 00:56:29 +02:00
76935caabd
Merge pull request #2 from DarkMatter-999/mingw-support
Added support for MINGW neovim install on Windows hosts
2023-09-28 23:02:34 +02:00
cf7d940395
fix(formatting): line too long 2023-09-28 21:59:46 +02:00
0601dd513e
fix(Flatpak): clear sock_path if the flatpak socket wasn't found 2023-09-25 22:11:48 +02:00
a451c6b309
feat(Flatpak): Add flatpak socket path
Look for the Flatpak socket path before normal socket lookup
Properly fixes andweeb/presence.nvim#42
2023-09-25 21:13:49 +02:00
DarkMatter-999
a7d54a2a26 Added support for MINGW neovim install on Windows hosts 2023-08-27 10:40:30 +05:30
Andrew Kwon
87c857a56b Support configs that call setup using dot syntax
Resolves (#90)
2023-01-29 01:21:17 -08:00
Wuelner Martínez
c1c5475882
Add support for fern.vim (#86)
* feat(file_explorers): added support for `fern.vim`
* fix: missing trailing comma

see https://github.com/lambdalisue/fern.vim
2022-11-16 16:14:05 -08:00
William
03e09d3f9b
Add ability to disable the timer (#75) 2022-09-09 16:04:11 -07:00
nullishamy
a3f7c42a4a
Add neo-tree to the list of file explorers (#72) 2022-09-09 15:51:10 -07:00
fleur
d7d179cf02
Add vlang support (.v, .vsh, v.mod) (#77) 2022-09-09 15:45:40 -07:00
Cory Shaw
660bd8815e
Fix sudo error on macOS (#68)
When using sudo a separate environment is used unless specifying sudo -E. This fixes the error of path being nil when using neovim in sudo
2022-06-27 22:05:34 +02:00
Bas van den Wollenberg
615d4cb8b0
Fix Microsoft kernel detection for WSL 2 (#64) 2022-06-22 21:36:58 +02:00
Andrew Kwon
ebdf23b9b1 Fix remote nvim socket retrieval on Arch Linux
Resolves #59
2022-02-09 09:46:26 -08:00
sitiom
a579a3906e
Add support for Racket (.rkt) (#56) 2022-01-17 16:45:19 -08:00
Andrew Kwon
6a3828167c Add setup option to configure custom file assets
Resolve #11
2022-01-15 22:53:29 -08:00
Andrew Kwon
dca3daa25d Use new art asset for cargo files
Resolves #51
2022-01-15 22:53:07 -08:00
Andrew Kwon
11adcec0db Add support for custom text formatter options
Resolves #39
2021-10-18 22:14:31 -07:00
Andrew Kwon
84bf65287f Add support for org files
Resolves #37
2021-09-28 16:57:27 -07:00
Andrew Kwon
0072e310e3 Add support for Neorg, shell files, and much more 2021-09-03 13:29:27 -04:00
Tobias Schmitz
bcd4b98de6
Validate and correct repo url for discord button (#34)
* match ssh url format and generate https url for discord buttons
* only check for ssh url format after nil check
* kind of validate repository urls
* small fixes
* use actual function

Resolves #33
2021-08-15 08:30:45 -07:00
Andrew Kwon
e632306af1 Support plain strings in blacklist config 2021-08-10 19:51:57 -07:00
Andrew Kwon
7a908a44ee Add configurable Rich Presence buttons
* Show View Repository button by default if applicable
* Allow user to disable or configure buttons statically or dynamically
* Update README

Resolves #27
2021-08-09 23:20:52 -07:00
Andrew Kwon
3b4d4e624d Add a lot more Rich Presence assets
- AppVeyor
- Babel
- Fennel
- GitLab
- Jupyter
- MDX
- NPM
- Next.js
- Node.js
- Nuxt.js
- Renovate
- Tailwind
- Travis
- Watchman
- Yarn
2021-08-09 21:08:14 -07:00
Rajesh
45ede471bf
Add config to blacklist certain files or workspaces
* Add blacklist config
* update blacklist log message
* add length check for blacklist table
* format parent and project checks in check_blacklist function
* minor refactors for better performance
2021-08-07 22:13:23 -07:00
Andrew Kwon
f2a0dd50c6 Handle json encoding and decoding exceptions
Resolves #30
2021-07-27 22:51:19 -07:00
Andrew Kwon
a695e5d653 Add support for Teal and PostgreSQL files
Resolves #29
2021-07-23 09:19:19 -07:00
Andrew Kwon
a68355145c Guard against invalid log messages
Resolves #28
2021-07-21 22:57:13 -07:00
Andrew Kwon
080d24394b Add WSL 1 support
* Update README & remove unnecessary relay script
* Remove awk usage with explicit output parsers
* Ensure Presence is canceled on leave event
* Use release information to determine WSL 1 use
* Support P2P state sharing in WSL with ss
    * Use ss if netstat is not available
    * Use jobstart instead of io.popen to get WSL nvim sockets
* Detect OS via uname
* Add support for WSL
2021-07-09 13:14:38 -07:00
Andrew Kwon
774994a5b9 Avoid simultaneous initial connections
Fixes #24
2021-06-29 21:32:28 -07:00
MineBill
65a16b25f9
Added support for .zig files (#22)
Co-authored-by: MineBill <minebill@protonmail.com>
2021-06-14 12:21:23 -07:00
Andrew Kwon
c4cd0a5c2a Add idris, scheme, and common lisp file assets 2021-06-14 09:47:28 -07:00
Andrew Kwon
ff596506eb Add Arduino file asset 2021-06-14 00:27:10 -07:00
Andrew Kwon
f30c304392 Reorder tmpdir vars for Rich Presence in NixOS
Resolves #20
2021-06-09 22:55:21 -07:00
Andrew Kwon
f4c1e227be Re-add BufEnter autocmd and handle tmux bug
Fixes #19
2021-06-07 20:03:19 -07:00
Andrew Kwon
81c3cc0100 Track authorization state and fix race condition 2021-05-31 18:41:34 -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
70a3c23ae0 Generalize file tree option to file explorers 2021-05-19 23:23:15 -07:00
Kyle Chui
c2030611c8
Dynamic Text Update (#15)
* Add context-specific status
* Add "browsing" support for file tree explorers
* Move status text into its own function
* Add commit and netrw support
* Fix git commit file recognition
* Add readonly clause
* Revert editing_text option
Co-authored-by: Andrew Kwon <andrewshky@gmail.com>
* Delete copied line
* Dynamic text update (#2)
* Add basic plugin support and rewrite status_text
* Fix syntax error
* Fix errors pt. 2
* Change options -> self.options
* editing_text -> status_text
* Try to get rid of dictionary bug
* Try to fix dictionary bug pt. 2
* Remove self.options
* Reorder status_text initialisation
* Reinsert self.options
* Remove global status_text var
* options still broken
* Tentatively done with dynamic text
* Remove global status_text variable
* Remove unnecessary lines/clean up code
* Dynamic text update (#3)
* Clean up status text options
* General code cleanup
* Fix whitespace issue
Co-authored-by: Andrew Kwon <andrewshky@gmail.com>
2021-05-19 22:04:56 -07:00
Kyle Chui
2927ceb17d
Add context-specific status (#12)
* Add context-specific status
* Add "browsing" support for file tree explorers
* Add commit and netrw support
* Fix git commit file recognition
* Add readonly clause
2021-05-17 19:59:58 -07:00
Andrew Kwon
8d54c87ea2 Merge branch 'main' into nil-ipc-socket-fix 2021-05-13 11:56:19 -07:00