Giter Site home page Giter Site logo

vimsence's Introduction

VimSence

Getting Started

These instructions will get you a copy of the project up and running on your local machine. More help about the plugin itself can be found here.

Prerequisites

You need to have Vim/NeoVim with Python3 support

Installing

  1. Add Plug 'vimsence/vimsence' to your vimrc file.
  2. Reload your vimrc or restart
  3. Run :PlugInstall

Vundle or similar

  1. Add Plugin 'vimsence/vimsence' to your vimrc file.
  2. Reload your vimrc or restart
  3. Run :BundleInstall
  1. Add NeoBundle 'vimsence/vimsence' to your vimrc file.
  2. Reload your vimrc or restart
  3. Run :NeoUpdate
  1. Add call dein#add('vimsence/vimsence') to your vimrc file.
  2. Reload your vimrc or restart
  3. Run :call dein#install()
cd ~/.vim/bundle
git clone https://github.com/vimsence/vimsence.git

Vim8 packages

git submodule add https://github.com/vimsence/vimsence.git vimsence

Configuration

You can configure the messages of VimSence in your .vimrc with these options:

let g:vimsence_client_id = '439476230543245312'
let g:vimsence_small_text = 'NeoVim'
let g:vimsence_small_image = 'neovim'
let g:vimsence_editing_details = 'Editing: {}'
let g:vimsence_editing_state = 'Working on: {}'
let g:vimsence_file_explorer_text = 'In NERDTree'
let g:vimsence_file_explorer_details = 'Looking for files'
let g:vimsence_custom_icons = {'filetype': 'iconname'}

Development

First create a virtual environment. If you don’t already have a preferred way to do this, take some time to look at tools like pew, virtualfish, and virtualenvwrapper.

Install the development dependencies:

pip install -r requirements-dev.txt

To avoid committing code that violates our style guide, we strongly advise you to install pre-commit hooks:

pre-commit install

You can also run them anytime using:

pre-commit run --all-files

Authors

Contributor What has been done
Anne Douwe Bouma Original work
Hugo Lageneste Maintaining this fork

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

vimsence's People

Contributors

adityaxdiwakar avatar anned20 avatar hugolgst avatar lunarwatcher avatar monlih avatar purefunctor avatar rcanderson23 avatar yuchaaa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vimsence's Issues

The Title

How can I change the title from "Vim" to "Neovim"? I'm talking about this
image

Connection to discord timed out

I get this error whenever running vim, heres my .vimrc:

call plug#begin('~/.vim/plugged')

Plug 'scrooloose/nerdtree'
Plug 'ryanoasis/vim-devicons'
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'jiangmiao/auto-pairs'

Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'

Plug 'drewtempelmeyer/palenight.vim'
Plug 'tpope/vim-fugitive'

Plug 'vimsence/vimsence'

call plug#end()

colorscheme palenight

let g:airline_theme = "palenight"
let g:palenight_terminal_italics=1

nnoremap <C-n> :NERDTreeToggle <CR>

let g:vimsence_small_text = 'Vim'
let g:vimsence_small_image = 'vim'
let g:vimsence_editing_details = 'Editing {}'
let g:vimsence_editing_state = 'Working on {}'
let g:vimsence_file_explorer_text = 'In NERDTree'
let g:vimsence_file_explorer_details = 'Looking for files'

I am on arch linux, vim version 8.2.2891.

Not updating discord status

I just installed this and gave it a try and it seems that it's not updating my status. Using nvim 0.4.4 with Python 3.9.2 and checkhealth showing the provider is working fine.

I tried it with some elixir files and also some JS files and neither seemed to do anything. I also attempted running the manual commands and none of them made any difference.

Any ideas? Obviously not mission-critical for me πŸ˜‰

Also, do all filetypes have to be mapped in vimsence.json? If so, adding .ex, .eex, .leex would be cool for elixir!

Latest commit breaks plugin for me

Hi,

I think latest commit breaks this plugin, see error:

Error detected while processing function DiscordUpdatePresence[1]..<SNR>61_InitializeDiscord[4]..provider
#python3#Call:
line   18:
Error invoking 'python_execute' on channel 3 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/jakob/.config/nvim/plugged/vimsence/python/vimsence.py", line 39, in <module>
    with open('../vimsence.yaml', 'r') as config_file:
FileNotFoundError: [Errno 2] No such file or directory: '../vimsence.yaml'

Already tried to do fresh install of plugin, does not fix this.

Incorrect workspace

The current code, at least with Vim 8.1, appears to return the directory the file is in, and not necessarily the workspace.

The workspace is on most cases the root of the project, and not a subfolder within that root. Typing :pwd in vim gets the correct result anyway.

To demonstrate the problem: in my project, I have several subfolders. If I go into the folder for a testing program, instead of the name of the root folder, I get the name of the subfolder as the workspace on Discord.

Change the LaTeX logo

Edit: I just realized that in some instances, there is a very dark background for discord, which would make a transparent-background logo look bad as well. Is there a way to change the logo so the background of the image fills the frame?

The LaTeX logo has a white trim around it, which looks bad when viewing Discord using dark mode. Please change the file to one that has a transparent background, like this

async load

if me network not good, or other reason lead to discord RPC response slowly, then vimsence will waiting for response long time, at this moment the vim will hang. I can't do any. Please fix it, thank you

Missing icons

I've seen many filetypes that just show an ? icon or an incorrect icon. Here I list all I've seen missing:

Filetype Current Expected Extensions
Sql None Sql .sql
Plsql None Plsql .plsql
JavascriptReact Javascript JavascriptReact .jsx
TypescriptReact Typescript TypescriptReact .tsx
Brainfuck None Brainfuck .bf
C Header C++ C .h
Fortran None Fortran .f, .for, .f90, .f95, .f03

Error while running the plugin

any idea why i'm getting this ;-;

Error invoking 'python_execute' on channel 3 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/aakash/.vim/plugged/vimsence/python/vimsence.py", line 62, in <module>
    has_thumbnail.update(thumbnails.values())
AttributeError: 'list' object has no attribute 'update'
Error detected while processing function DiscordUpdatePresence[2]..provider#python3#Call:
line   18:
Error invoking 'python_execute' on channel 3 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'vimsence' is not defined

[Feature Request] Disable vimsence for specified files/directories

Currently, the user can specify a file or directory that will be "hidden" from the discord status message. It would be nice if there was also a way to disable vimsence altogether for certain files. For example, I have a file that is always open in vim for my personal notes, and I would like to have vimsence ignore it without me manually having to execute :DiscordDisconnect.

Launching a file with vim -c ':DiscordDisconnect' foo.txt does not work in this way, since the plugin hasn't yet connected when the command is sent.

Support for WSL

I run Neovim under WSL. I installed the plugin but nothing happens. My presence isn't updated and I don't get any error messages. The :DiscordReconnect and :DiscordUpdatePresence commands don't seem to work but they don't give errors either. I'm stuck now not knowing if it tries to connect or something else. Is it a problem that I run it under WSL and if so, can a support for WSL be added?

Error during the installation

Hello,

I tried to install this plugin but its failed when i make :BundleInstall :

Error found while processing /home/cry/.vim/bundle/vimsence/plugin/vimsence.vim:
line 20:
closing connection

Support for more files

Can you please add support for more filetypes or can you guild me so I might be able to add more and create a pull request for that.

  • .csv (Comma Selected Values)
  • .ino (Arduino)
  • .v (Verilog)
  • .asm (Assembly)
  • .hs (Haskell)

Rest Ill let you know

Errors from vimsence when opening/switching windows in Vim

I am doing some testing with Vim (which I installed through Homebrew), and whenever I open Vim, open a file/NERDTree, or switch between files in vim, it spits out a bunch of errors:

Error detected while processing function DiscordUpdatePresence[1]..<SNR>63_InitializeDiscord:
line    4:
Traceback (most recent call last):
Press ENTER or type command to continue
Error detected while processing function DiscordUpdatePresence[1]..<SNR>63_InitializeDiscord:
line    4:
  File "<string>", line 1, in <module>
Press ENTER or type command to continue
Error detected while processing function DiscordUpdatePresence[1]..<SNR>63_InitializeDiscord:
line    4:
  File "/home/shriansh-linux/.vim/autoload/plugged/vimsence/python/vimsence.py", line 7, in <module>
Press ENTER or type command to continue
Error detected while processing function DiscordUpdatePresence[1]..<SNR>63_InitializeDiscord:
line    4:
    import rpc
Press ENTER or type command to continue
Error detected while processing function DiscordUpdatePresence[1]..<SNR>63_InitializeDiscord:
line    4:
  File "/home/shriansh-linux/.vim/autoload/plugged/vimsence/python/rpc.py", line 12, in <module>
Press ENTER or type command to continue
Error detected while processing function DiscordUpdatePresence[1]..<SNR>63_InitializeDiscord:
line    4:
    import socket
Press ENTER or type command to continue
Error detected while processing function DiscordUpdatePresence[1]..<SNR>63_InitializeDiscord:
line    4:
  File "/home/linuxbrew/.linuxbrew/Cellar/[email protected]/3.10.4/lib/python3.10/socket.py", line 51, in <module>
Press ENTER or type command to continue
Error detected while processing function DiscordUpdatePresence[1]..<SNR>63_InitializeDiscord:
line    4:
    import _socket
Press ENTER or type command to continue
Error detected while processing function DiscordUpdatePresence[1]..<SNR>63_InitializeDiscord:
line    4:
ModuleNotFoundError: No module named '_socket'
Press ENTER or type command to continue
Error detected while processing function DiscordUpdatePresence:
line    2:
Traceback (most recent call last):
Press ENTER or type command to continue
Error detected while processing function DiscordUpdatePresence:
line    2:
  File "<string>", line 1, in <module>
Press ENTER or type command to continue
Error detected while processing function DiscordUpdatePresence:
line    2:
NameError: name 'vimsence' is not defined
Press ENTER or type command to continue

This is the compilation of vim installed through Homebrew:

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jun 01 2022 14:23:13)
Included patches: 1-5050
Compiled by Homebrew
Huge version without GUI.  Features included (+) or not (-):
+acl               +file_in_path      +mouse_urxvt       -tag_any_white
+arabic            +find_in_path      +mouse_xterm       -tcl
+autocmd           +float             +multi_byte        +termguicolors
+autochdir         +folding           +multi_lang        +terminal
-autoservername    -footer            -mzscheme          +terminfo
-balloon_eval      +fork()            +netbeans_intg     +termresponse
+balloon_eval_term +gettext           +num64             +textobjects
-browse            -hangul_input      +packages          +textprop
++builtin_terms    +iconv             +path_extra        +timers
+byte_offset       +insert_expand     +perl              +title
+channel           +ipv6              +persistent_undo   -toolbar
+cindent           +job               +popupwin          +user_commands
-clientserver      +jumplist          +postscript        +vartabs
-clipboard         +keymap            +printer           +vertsplit
+cmdline_compl     +lambda            +profile           +vim9script
+cmdline_hist      +langmap           -python            +viminfo
+cmdline_info      +libcall           +python3           +virtualedit
+comments          +linebreak         +quickfix          +visual
+conceal           +lispindent        +reltime           +visualextra
+cryptv            +listcmds          +rightleft         +vreplace
+cscope            +localmap          +ruby              +wildignore
+cursorbind        +lua               +scrollbind        +wildmenu
+cursorshape       +menu              +signs             +windows
+dialog_con        +mksession         +smartindent       +writebackup
+diff              +modify_fname      -sodium            -X11
+digraphs          +mouse             -sound             -xfontset
-dnd               -mouseshape        +spell             -xim
-ebcdic            +mouse_dec         +startuptime       -xpm
+emacs_tags        -mouse_gpm         +statusline        -xsmp
+eval              -mouse_jsbterm     -sun_workshop      -xterm_clipboard
+ex_extra          +mouse_netterm     +syntax            -xterm_save
+extra_search      +mouse_sgr         +tag_binary        
-farsi             -mouse_sysmouse    -tag_old_static    
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/home/linuxbrew/.linuxbrew/share/vim"
Compilation: gcc-5 -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 
Linking: gcc-5 -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -L/home/linuxbrew/.linuxbrew/opt/libyaml/lib -Wl,-rpath,/home/linuxbrew/.linuxbrew/opt/libyaml/lib -L/home/linuxbrew/.linuxbrew/opt/[email protected]/lib -Wl,-rpath,/home/linuxbrew/.linuxbrew/opt/[email protected]/lib -L/home/linuxbrew/.linuxbrew/opt/readline/lib -Wl,-rpath,/home/linuxbrew/.linuxbrew/opt/readline/lib -Wl,--no-as-needed -Wl,-E -Wl,-rpath,/home/linuxbrew/.linuxbrew/Cellar/perl/5.34.0/lib/perl5/5.34.0/x86_64-linux-thread-multi/CORE -L/usr/local/lib -Wl,--as-needed -o vim -lm -lncurses -ldl -L/home/linuxbrew/.linuxbrew/opt/lua/lib -llua5.4 -Wl,-E -Wl,-rpath,/home/linuxbrew/.linuxbrew/Cellar/perl/5.34.0/lib/perl5/5.34.0/x86_64-linux-thread-multi/CORE -fstack-protector-strong -L/usr/local/lib -L/home/linuxbrew/.linuxbrew/Cellar/perl/5.34.0/lib/perl5/5.34.0/x86_64-linux-thread-multi/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc -L/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.10/config-3.10-x86_64-linux-gnu -lpython3.10 -lcrypt -lpthread -ldl -lutil -lm -lm -Wl,-rpath,/home/linuxbrew/.linuxbrew/Cellar/ruby/3.1.2/lib -L/home/linuxbrew/.linuxbrew/Cellar/ruby/3.1.2/lib -lruby -lm

For contrast, this is the compilation of vim through apt (which doesn't throw errors):

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Dec 17 2021 16:55:33)
Included patches: 1-2434, 3402-3403, 3409, 3428, 3487, 3564, 3581-3582, 3611, 3613, 3612, 3625, 3669, 3741
Modified by [email protected]
Compiled by [email protected]
Huge version without GUI.  Features included (+) or not (-):
+acl               -farsi             +mouse_sgr         +tag_binary
+arabic            +file_in_path      -mouse_sysmouse    -tag_old_static
+autocmd           +find_in_path      +mouse_urxvt       -tag_any_white
+autochdir         +float             +mouse_xterm       -tcl
-autoservername    +folding           +multi_byte        +termguicolors
-balloon_eval      -footer            +multi_lang        +terminal
+balloon_eval_term +fork()            -mzscheme          +terminfo
-browse            +gettext           +netbeans_intg     +termresponse
++builtin_terms    -hangul_input      +num64             +textobjects
+byte_offset       +iconv             +packages          +textprop
+channel           +insert_expand     +path_extra        +timers
+cindent           +ipv6              -perl              +title
-clientserver      +job               +persistent_undo   -toolbar
-clipboard         +jumplist          +popupwin          +user_commands
+cmdline_compl     +keymap            +postscript        +vartabs
+cmdline_hist      +lambda            +printer           +vertsplit
+cmdline_info      +langmap           +profile           +virtualedit
+comments          +libcall           -python            +visual
+conceal           +linebreak         +python3           +visualextra
+cryptv            +lispindent        +quickfix          +viminfo
+cscope            +listcmds          +reltime           +vreplace
+cursorbind        +localmap          +rightleft         +wildignore
+cursorshape       -lua               -ruby              +wildmenu
+dialog_con        +menu              +scrollbind        +windows
+diff              +mksession         +signs             +writebackup
+digraphs          +modify_fname      +smartindent       -X11
-dnd               +mouse             -sound             -xfontset
-ebcdic            -mouseshape        +spell             -xim
+emacs_tags        +mouse_dec         +startuptime       -xpm
+eval              +mouse_gpm         +statusline        -xsmp
+ex_extra          -mouse_jsbterm     -sun_workshop      -xterm_clipboard
+extra_search      +mouse_netterm     +syntax            -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -Wdate-time -g -O2 -ffile-prefix-map=/build/vim-7ASsBs/vim-8.2.2434=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 
Linking: gcc -Wl,-Bsymbolic-functions -flto=auto -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim -lm -ltinfo -lselinux -lacl -lattr -lgpm -L/usr/lib/python3.9/config-3.9-x86_64-linux-gnu -lpython3.9 -lcrypt -ldl -lm -lm

My OS is Pop_OS! 21.10.

there're some error after I update vimsence

when I open nvim. show this error.

Error detected while processing function DiscordUpdatePresence[1]..provider#python3#Call:
line   18:
Error invoking 'python_execute' on channel 4 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/innei/.config/nvim/plugged/vimsence/python/vimsence.py", line 52, in update_presence
    if not rpc_obj.connected:
NameError: name 'rpc_obj' is not defined

and show this error when I open file.

Error detected while processing function DiscordAsyncWrapper:
line    9:
E15: Invalid expression: >timer_info()
E15: Invalid expression: s:timer->timer_info()
line   10:
E121: Undefined variable: info
E116: Invalid arguments for function len
E15: Invalid expression: len(info) == 1 && info[0]["paused"] == 0

how to fix? thanks

How to actually add custom icons?

I did this to add Erlang icon but it's not working,
let g:vimsense_custom_icons = {'erlang': '/home/shanto/Pictures/erlang.png'}
Any solution? Is 'iconname' should actually be the icon location?

Vim 7.4 shows errors on launch

Launching Vim 7.4 gives me the following errors:

Error detected while processing function DiscordAsyncWrapper:
line    9:
E117: Unknown function: timer_info
E15: Invalid expression: timer_info(s:timer)
line   10:
E121: Undefined variable: info
E116: Invalid arguments for function len(info) == 1 && info[0]["paused"] == 0
E15: Invalid expression: len(info) == 1 && info[0]["paused"] == 0
Press ENTER or type command to continue

But the Discord RPC seems to be working even though I get those errors at launch. Worth mentioning that I get no such errors on Vim 8.2

idk what is this

when ever i open my vim it shows something like this and the presence isn't working idk what to do

Error detected while processing function DiscordUpdatePresence[1]..<SNR>37_InitializeDiscord
[4]..provider#python3#Call:
line   18:
Error invoking 'python_execute' on channel 3 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/genos/.config/nvim/plugged/vimsence/python/vimsence.py", line 62, in <module>
    has_thumbnail = list(set(has_thumbnail + custom_icons.values()))
TypeError: can only concatenate list (not "dict_values") to list
Press ENTER or type command to continue
Error detected while processing function DiscordUpdatePresence[2]..provider#python3#Call:
line   18:
Error invoking 'python_execute' on channel 3 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'vimsence' is not defined

Add support for tsx and jsx?

It would be nice if there were icons for jsx and tsx. The filetypes for the jsx and tsx in vim are javascriptreact and typescriptreact, respectively.

I tried to add these filetypes to the mapping (see my fork), but it didn't change anything. How would I go about doing this?

does not show any changes

I installed vimsence on my Windows PC for neovim. But neither vimsense show me any error nor it does show the rich presence on my discord.

I tried the command :DiscordReconnect and other commands mentioned in the docs file but neovim gives an error that it is not a valid editor command.

My OS: Windows 10
My terminal: Windows Powershell
My editor: Neovim
Editor version: v0.4.4
Plugin Manager: vim-plug

share assets

could you share the assets you used for the app? i would like to contribute to their design

Error when opening file

After the update, opening files results in this error:

Error detected while processing function DiscordAsyncWrapper:
line    9:
E15: Invalid expression: >timer_info()
E15: Invalid expression: s:timer->timer_info()
line   10:
E121: Undefined variable: info
E116: Invalid arguments for function len(info) == 1 && info[0]["paused"] == 0
E15: Invalid expression: len(info) == 1 && info[0]["paused"] == 0

Error when attempting to use

After adding the plugin to my vimrc i get an error when loading, im using vim inside mingw64 from git

Error detected while processing /c/Users/Zoomatree/.vim/bundle/vimsence/plugin/vimsence.vim:
line   20:
Traceback (most recent call last):
  File "<string>", line 7, in <module>
ModuleNotFoundError: No module named 'vimsence'

vim version 8.2

Presence Stops

When I start application two or three times, or switch between files, Vim sense stops, I'm using my discord application

Code cleanup

There's some general code cleanup needed.

This includes, but is not limited to:

  • Clean up if statements (Python doesn't need parentheses)
  • Be consistent with quote usage
  • Add linters to enforce consistent code quality

Custom messages for buffer names

I see that there is a special message when NERDTree is focused, but I would like to use NvimTree. I recognize that you can't just add support for all file browsers out there, so providing an option for custom messages depending on the buffer name could do. I'm thinking something like:

let g:vimsence_special_buffer_text = {
    \ 'NvimTree': 'Rummaging through files',
    \ 'startify': 'Doing nothing'
    \ }
let g:vimsence_special_buffer_details = 'Insert witty quote here'

Vim 8.1 Windows 10 shows errors on launch

When I start any file, vim-sence gives me theses errors:

Error detected while processing function DiscordUpdatePresence[1]..14_InitializeDiscord:
line 4:
Traceback (most recent call last):
Press ENTER or type command to continue
Error detected while processing function DiscordUpdatePresence[1]..14_InitializeDiscord:
line 4:
File "", line 1, in
Press ENTER or type command to continue
Error detected while processing function DiscordUpdatePresence[1]..14_InitializeDiscord:
line 4:
File ".vim/plugged/vimsence/python/vimsence.py", line 62, in
Press ENTER or type command to continue
Error detected while processing function DiscordUpdatePresence[1]..14_InitializeDiscord:
line 4:
has_thumbnail.update(thumbnails.values())
Press ENTER or type command to continue
Error detected while processing function DiscordUpdatePresence[1]..14_InitializeDiscord:
line 4:
AttributeError: 'list' object has no attribute 'update'
Press ENTER or type command to continue
Error detected while processing function DiscordUpdatePresence:
line 2:
Traceback (most recent call last):
Press ENTER or type command to continue
Error detected while processing function DiscordUpdatePresence:
line 2:
File "", line 1, in
Press ENTER or type command to continue
Error detected while processing function DiscordUpdatePresence:
line 2:
NameError: name 'vimsence' is not defined
Press ENTER or type command to continue

Vlang Support

Hello! There is a new language called Vlang that should be added if possible, please :)

Suppress errors?

Opening vim while this plugin is installed, and discord isnt running, gets me an annoying error
[discord] local discord client not found

As I don't always have discord running, I would prefer if it just silently failed when discord isn't found.

Also [discord] pidfile exists when i open multiple instances of vim

It freezes vim

After a couple of runs with this, it started to completely freeze vim.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.