Comments (6)
I'm coding for my company so the files are business secrets. But I can also reproduce this error on other files.
2024-06-24-22-02-07.mp4
package main
import (
"fmt"
"net"
"sync"
"time"
)
const (
MAX_CONN = 10
)
func main() {
var wg sync.WaitGroup
wg.Add(1)
for i := 0; i < MAX_CONN; i++ {
go Conn("127.0.0.1:8089", i)
time.Sleep(time.Millisecond * 100)
}
wg.Wait()
}
func Conn(addr string, id int) {
conn, err := net.Dial("tcp", addr)
if err != nil {
fmt.Println(err)
return
}
fmt.Println("connect ", id)
go func() {
buf := make([]byte, 1024)
for {
n, err := conn.Read(buf)
if err != nil {
break
}
fmt.Println(id, "read: ", string(buf[:n]))
}
}()
time.Sleep(time.Second * 1)
for {
_, err := conn.Write([]byte("hello"))
if err != nil {
break
}
time.Sleep(time.Second * 10)
}
}
from nvimdots.
It has to do with ghost_text
introduced in #733.
from nvimdots.
@ayamir Did u mean gr
or gR
(uppercase)? Tho I can't seem to reproduce this using either of them on my end, maybe u could upload the document in question so that things could be easier to understand?
from nvimdots.
At first glance it seems like there's something odd happening with lspsaga
(not cmp
iiuc)... I'm not entirely sure about it, but it could be a good starting point tho.
from nvimdots.
This issue can be stably reproduced for the above file. The only method to eliminate the errors is quitting nvim
completely. Currently my workaround is just disable ghost_text.
from nvimdots.
Maybe we can use https://github.com/smjonas/inc-rename.nvim to do rename. I prefer this style and has used it for my own config.
from nvimdots.
Related Issues (20)
- <C-V> in NvimTree can't work HOT 7
- In Inerst mode use <capslock> mapping <Esc> not work HOT 6
- How to custom user config for nvim-cmp mapping HOT 5
- replace `vim.tbl_islist()` with `vim.islist()` after `NVIM v0.10.0-dev-2560` HOT 3
- golang code hints default selected location is incorrect
- Color scheme HOT 2
- Sluggish WSL clipboard communication HOT 2
- skip lines when executing multiple macro operations HOT 9
- UI FIX HOT 3
- [migration] Nvim 0.10 Support HOT 2
- `<CR>` triggers autocompl instead of line break HOT 1
- Allow format timeouts to be set individually HOT 1
- Support per-language indent config for ibl HOT 3
- [RFC] Smarter package management HOT 6
- [RFC] Consider disable `lsp-signature` for lsp that supports placeholder HOT 2
- gitsigns are not compatible HOT 2
- how to disable update for a specific plugin HOT 2
- Windows install error HOT 2
- nvim-treesitter[latex]: Error during compilation HOT 4
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 nvimdots.