ayamir / nvimdots

A well configured and structured Neovim.
BSD 3-Clause "New" or "Revised" License
2.84k stars 455 forks source link

Abnormal display #1078

Closed DIOJOIO closed 7 months ago

DIOJOIO commented 7 months ago

Version confirmation

Following prerequisites

Neovim version

0.9.4

Branch info

main (Default/Latest)

Minimal (user) folder structure required to reproduce the issue

/var/root/.config/nvim
├── LICENSE
├── README.md
├── flake.nix
├── init.lua
├── lazy-lock.json
├── lua
│   ├── core
│   │   ├── event.lua
│   │   ├── global.lua
│   │   ├── init.lua
│   │   ├── mapping.lua
│   │   ├── options.lua
│   │   ├── pack.lua
│   │   └── settings.lua
│   ├── keymap
│   │   ├── bind.lua
│   │   ├── completion.lua
│   │   ├── editor.lua
│   │   ├── helpers.lua
│   │   ├── init.lua
│   │   ├── lang.lua
│   │   ├── tool.lua
│   │   └── ui.lua
│   ├── modules
│   │   ├── configs
│   │   │   ├── completion
│   │   │   │   ├── aerial.lua
│   │   │   │   ├── cmp.lua
│   │   │   │   ├── codeium.lua
│   │   │   │   ├── copilot-cmp.lua
│   │   │   │   ├── copilot.lua
│   │   │   │   ├── formatters
│   │   │   │   │   └── clang_format.lua
│   │   │   │   ├── formatting.lua
│   │   │   │   ├── glance.lua
│   │   │   │   ├── lsp-signature.lua
│   │   │   │   ├── lsp.lua
│   │   │   │   ├── lspsaga.lua
│   │   │   │   ├── luasnip.lua
│   │   │   │   ├── mason-lspconfig.lua
│   │   │   │   ├── mason-null-ls.lua
│   │   │   │   ├── mason.lua
│   │   │   │   ├── null-ls.lua
│   │   │   │   ├── servers
│   │   │   │   │   ├── bashls.lua
│   │   │   │   │   ├── clangd.lua
│   │   │   │   │   ├── dartls.lua
│   │   │   │   │   ├── gopls.lua
│   │   │   │   │   ├── html.lua
│   │   │   │   │   ├── jsonls.lua
│   │   │   │   │   ├── lua_ls.lua
│   │   │   │   │   └── pylsp.lua
│   │   │   │   └── tabnine.lua
│   │   │   ├── editor
│   │   │   │   ├── accelerated-jk.lua
│   │   │   │   ├── autoclose.lua
│   │   │   │   ├── autotag.lua
│   │   │   │   ├── better-escape.lua
│   │   │   │   ├── bigfile.lua
│   │   │   │   ├── colorizer.lua
│   │   │   │   ├── comment.lua
│   │   │   │   ├── flash.lua
│   │   │   │   ├── hop.lua
│   │   │   │   ├── persisted.lua
│   │   │   │   ├── rainbow_delims.lua
│   │   │   │   ├── suda.lua
│   │   │   │   ├── tabout.lua
│   │   │   │   ├── treesitter.lua
│   │   │   │   ├── ts-context-commentstring.lua
│   │   │   │   ├── ts-context.lua
│   │   │   │   └── vim-illuminate.lua
│   │   │   ├── lang
│   │   │   │   ├── crates-keymap.lua
│   │   │   │   ├── crates.lua
│   │   │   │   ├── rust-tools.lua
│   │   │   │   └── vim-go.lua
│   │   │   ├── tool
│   │   │   │   ├── dap
│   │   │   │   │   ├── clients
│   │   │   │   │   │   ├── codelldb.lua
│   │   │   │   │   │   ├── delve.lua
│   │   │   │   │   │   ├── lldb.lua
│   │   │   │   │   │   └── python.lua
│   │   │   │   │   ├── dap-keymap.lua
│   │   │   │   │   ├── dapui.lua
│   │   │   │   │   └── init.lua
│   │   │   │   ├── fcitx5.lua
│   │   │   │   ├── nvim-tree.lua
│   │   │   │   ├── project.lua
│   │   │   │   ├── smartyank.lua
│   │   │   │   ├── sniprun.lua
│   │   │   │   ├── telescope.lua
│   │   │   │   ├── toggleterm.lua
│   │   │   │   ├── trouble.lua
│   │   │   │   ├── which-key.lua
│   │   │   │   └── wilder.lua
│   │   │   └── ui
│   │   │       ├── alpha.lua
│   │   │       ├── bufferline.lua
│   │   │       ├── catppuccin.lua
│   │   │       ├── fidget.lua
│   │   │       ├── gitsigns.lua
│   │   │       ├── indent-blankline.lua
│   │   │       ├── lualine.lua
│   │   │       ├── neodim.lua
│   │   │       ├── neoscroll.lua
│   │   │       ├── notify.lua
│   │   │       ├── paint.lua
│   │   │       ├── scrollview.lua
│   │   │       └── specs.lua
│   │   ├── plugins
│   │   │   ├── completion.lua
│   │   │   ├── editor.lua
│   │   │   ├── lang.lua
│   │   │   ├── tool.lua
│   │   │   └── ui.lua
│   │   └── utils
│   │       ├── dap.lua
│   │       ├── icons.lua
│   │       ├── init.lua
│   │       └── keymap.lua
│   ├── user
│   │   ├── configs
│   │   │   ├── dap-clients
│   │   │   ├── formatters
│   │   │   └── lsp-servers
│   │   ├── event.lua
│   │   ├── keymap
│   │   │   ├── completion.lua
│   │   │   ├── core.lua
│   │   │   ├── editor.lua
│   │   │   ├── init.lua
│   │   │   ├── lang.lua
│   │   │   ├── tool.lua
│   │   │   └── ui.lua
│   │   ├── options.lua
│   │   ├── plugins
│   │   └── settings.lua
│   └── user_template
│       ├── configs
│       │   ├── dap-clients
│       │   ├── formatters
│       │   └── lsp-servers
│       ├── event.lua
│       ├── keymap
│       │   ├── completion.lua
│       │   ├── core.lua
│       │   ├── editor.lua
│       │   ├── init.lua
│       │   ├── lang.lua
│       │   ├── tool.lua
│       │   └── ui.lua
│       ├── options.lua
│       ├── plugins
│       └── settings.lua
├── nixos
│   ├── default.nix
│   ├── dotnet
│   │   └── default.nix
│   └── neovim
│       └── default.nix
├── scripts
│   ├── install.ps1
│   └── install.sh
├── snips
│   ├── package.json
│   └── snippets
│       ├── c.json
│       ├── cpp.json
│       └── go.json
├── stylua.toml
└── tutor
    └── dots.tutor

Minimal config with steps on how to reproduce the issue

after opening nvim like this

截屏2023-11-25 23 42 01

Expected behavior

normal display

Additional information

i tried reinstall but it didn't work

ayamir commented 7 months ago

What's your terminal? And we don't recommand you install nvimdots for root user.

DIOJOIO commented 7 months ago

my terminal is zsh and I've tried other terminals(i also tried installing without root)

CharlesChiuGit commented 7 months ago

zsh is shell, not terminal. terminal emulator is what ayamir was referring to, like windows terminal, iterm2, wezterm, etc.

DIOJOIO commented 7 months ago

I use macos terminal (?) I think I should switch to iterm Ah... This problem has been solved( thanks

xx-zhang commented 7 months ago

@ayamir windows terminal <C-\> will take-out the terminal . but linux is not ok,. what's the mater ?

windows terminal is OK

image

llinux and takeout button not the dialog

image

question 2: how can i muti-line comments for # of script lang orc/c++with// /***/`.

how can i comment the selected-code with // in visible mode ?

image

Jint-lzxy commented 6 months ago

@xx-zhang I reckon ur question(s) doesn't quite tie in with this issue. Can u open a new issue for ur first question, and if possible, start a discussion for ur second one?