Comments (6)
The extension is written in such a way that it is updated according to the events that happen while you are in NeoVim. Probably when ALE Live linting is enabled, it opens a new buffer, which triggers an event that updates the RPC. This is the only explanation I can give you at the moment.
Can you tell me the steps you take to achieve this? I have never used ALE Live linting, and I would like to know how it works.
from coc-discord-rpc.
yeah sure - i mean i love this plugin so i don't mind if it can't be fixed : )
And your probably right , what it does is , while you type you have another buffer , which constantly gets updated such that say you have a syntax error , it will notify you in the quick fix list . Almost immediately .
Once you install ale , and add these settings into your init.vim . Hopefully you might be able to replicate it ?
let g:ale_list_window_size = 4
let g:ale_sign_column_always = 1
let g:ale_open_list = 1
let g:ale_linters = {
\ 'python': ['black','pylint''], "Some python linter of your choice here
\}
let g:ale_set_loclist = 0
let g:ale_set_quickfix = 1
let g:ale_keep_list_window_open = 1
let g:ale_list_vertical = 0
let g:ale_lint_on_save = 1
let g:ale_lint_on_text_changed = 1
let g:ale_lint_on_insert_leave = 0
let g:ale_lint_on_enter = 0
out of curiosity is there a way that discord rpc can avoid certain types of buffers or file types ?
for example
the response from
:echo &filetype
is qf - for the quick fix window and rpc could just ignore that file type ? , though im not sure if that would work if im honest >.<
Hope this helps a bit .
from coc-discord-rpc.
out of curiosity is there a way that discord rpc can avoid certain types of buffers or file types ?
Absolutely
If you say that :echo &filetype
is qf
, I can put an IF to return the current RPC state, and ignore the new buffer from ALE Live linting.
Can you add me on discord Leonard#6666
, for help me with the tests?
from coc-discord-rpc.
Yep will do, cheers .
from coc-discord-rpc.
Can you tell me your discord id? I've 999+ friend requests 😂😂
from coc-discord-rpc.
Oh my , sorry about that : AloofPolo#9428
from coc-discord-rpc.
Related Issues (20)
- Wiki for configuration variables uses wrong values HOT 3
- Allow the user to define their own "file map".
- Add support for Vim
- cannot read property 'write' of null HOT 11
- Workspace never found HOT 5
- Discord Presence not changing. HOT 1
- Cannot read properties of null reading "write" HOT 18
- [coc.nvim] Error on activate extension coc-discord-rpc: Cannot read pro perties of null (reading 'write') HOT 2
- Typerror: e.forEach is not a function HOT 3
- [coc.nvim] RPC: TypeError: e.forEach is not a function error HOT 40
- Link to images used in the app? HOT 3
- State of the repository
- Button
- Displaying the wrong app name HOT 2
- Neovim is not NeoVim HOT 3
- Discord not showing anything as RP. HOT 3
- Feature Request - Disable Timer HOT 1
- RPC: RPC_COULD_NOT_CONNECT: Could not connect HOT 2
- Feature Request - Quiet Mode
- Idle Mode Doesn't Work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coc-discord-rpc.