Comments (5)
I assume you're running the built-in lua server (started with :InstantStartServer
). I guess a good starting point would me to give the messages emitted by the server and clients as well if possible. By messages I mean the history displayed by :messages
.
Any other strange behaviour would certainly help.
from instant.nvim.
I am using the built-in lua server, with SpaceVim (latest) and Neovim 0.5.0
With set verbose=1
On the server when I make an edit I see the following in both the server's and clients messages:
Reading ShaDa file "/Users/me/.local/share/nvim/shada/main.shada" info marks oldfiles
Writing ShaDa file "/Users/me/.local/share/nvim/shada/main.shada"
When editing on the client, no such output is generated on either.
Note sure if maybe I'm doing something wrong; these are my steps to connect:
Server
InstantStartServer
InstantStartSession 127.0.0.1 8080
e temp.txt
Client
InstantJoinSession 127.0.0.1 8080
InstantFollow kayleg
<- Username set in config- Switch to buffer 2 (shows the
temp.txt
file)
from instant.nvim.
Update:
When using Single
instead of Session
it works every time following these steps:
Server
- open neovim
- open empty buffer
InstantStartServer
InstantStartSingle 127.0.0.1 8080
Client
- open neovim
- open empty buffer
InstantJoinSingle 127.0.0.1 8080
With Single
mode the client is correctly switched to the server's buffer and bi-directional editing works
from instant.nvim.
The changes from the client are not sent probably because it's in follow mode, initiated by InstartFollow
. If you don't start it or invoke InstantStopFollow
, you should be able to send keystrokes from the client.
Note that even though the client doesn't seem to receive any input, the text modifications are still sent. You can list the available buffers using :ls
and switch to the same buffer as the server to see the changes, temp.txt
in the case you described.
from instant.nvim.
Was it resolved @kayleg ?
from instant.nvim.
Related Issues (20)
- Host's buffer gets cleared when client connects HOT 6
- When starting server it doesn't need args but joining session errors HOT 1
- Cannot use Instant.vim on SpaceVim - Unknown function: instant#StartServerWrapper HOT 6
- Any way to customize with colors HOT 4
- Attempt to get length of local 'iptable' (a nil value) HOT 6
- Error executing vim.schedule lua callback: ...im/plugged/instant.nvim/lua/instant/websocket_client.lua:92: There was an error during connection: ETIMEDOUT HOT 3
- Can't deploy a server using ngrok on Windows HOT 8
- Enhancement: Use extmark instead of deprecated virtual text. HOT 1
- Sync BufferWrites across clients
- Is there or ir possible to make a cross editor solution? HOT 2
- Is it possible to attach lsp to all clients buffer? HOT 1
- Buffer opened by other clients are marked as modified HOT 2
- How to deal with jump server? HOT 1
- Self standing server in a Docker container feature request HOT 1
- Doesn't work in neovim 0.4.4 HOT 3
- Cursor highlights HOT 1
- Wiki does not have a Deploy a Server page
- Any hope for a visual code compatibility ? HOT 1
- InstantStartSession always caueses ECONNREFUSED. Tried different hosts and ports. Tried disabling firewall. HOT 2
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 instant.nvim.