Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popup window behavior wierd #105

Open
Rogerskelamen opened this issue Nov 11, 2022 · 0 comments
Open

Popup window behavior wierd #105

Rogerskelamen opened this issue Nov 11, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Rogerskelamen
Copy link

Rogerskelamen commented Nov 11, 2022

After I mapped <leader>t to <cmd>TranslateW<cr>, every time I type <leader>t, popup window won't appear till I type <esc>(I use <C-[> for substitution). I don't know it's my neovim's problem and I wonder how to fix it, I hope someone can explain the bug. Thanks.

the situation looks like this:
output

by the way, My bing and youdao translator don't work.

my OS and chip:

MacOS Monterey, M1

my neovim plugins(with packer):

  --
  -- My plugins here
  --
  use "wbthomason/packer.nvim" -- Have packer manage itself
  use "nvim-lua/popup.nvim" -- An implementation of the Popup API from vim in Neovim
  use "nvim-lua/plenary.nvim" -- Useful lua functions used ny lots of plugins
  use {'iamcco/markdown-preview.nvim', run = 'cd app && npm install', cmd = 'MarkdownPreview'}

  -- Colorschemes
  use "sainnhe/everforest"
  use { "catppuccin/nvim", as = "catppuccin" }
  use "folke/tokyonight.nvim"

  -- Statusline
  -- use "Rogerskelamen/eleline.vim"
  -- use 'feline-nvim/feline.nvim'
  use 'beauwilliams/statusline.lua'

  -- Git
  use "kdheepak/lazygit.nvim"

  -- Comment
  use "numToStr/Comment.nvim"

  -- AutoPair
  use "windwp/nvim-autopairs" -- Autopairs, integrates with both cmp and treesitter

  -- Git
  use "lewis6991/gitsigns.nvim"

  -- Translator
  use "voldikss/vim-translator"

  -- Terminal
  use "akinsho/toggleterm.nvim"

  -- cmp plugins
  use "hrsh7th/nvim-cmp" -- The completion plugin
  use "hrsh7th/cmp-buffer" -- buffer completions
  use "hrsh7th/cmp-path" -- path completions
  use "hrsh7th/cmp-cmdline" -- cmdline completions
  use "saadparwaiz1/cmp_luasnip" -- snippet completions
  use "hrsh7th/cmp-nvim-lsp"
  use "hrsh7th/cmp-nvim-lua" -- snippet for nvim lua api

  -- Snippets
  use "L3MON4D3/LuaSnip" --snippet engine
  use "rafamadriz/friendly-snippets" -- a bunch of snippets to use

  -- LSP
  use {
    "neovim/nvim-lspconfig", -- enable LSP
    "williamboman/mason.nvim", -- simple to use language server installer
    "williamboman/mason-lspconfig.nvim", -- combine lspconfig with mason
  }

  -- File explorer
  use {
    "nvim-tree/nvim-tree.lua",
    requires = {
      "nvim-tree/nvim-web-devicons", -- optional, for file icons
    },
    tag = 'nightly' -- optional, updated every week. (see issue #1193)
  }

  -- Telescope
  use {
    "nvim-telescope/telescope.nvim",
    "nvim-telescope/telescope-media-files.nvim"
  }

  -- Build-in ranger
  use "kevinhwang91/rnvimr"

  -- Treesitter
  use {
    "nvim-treesitter/nvim-treesitter",
    run = function()
      local ts_update = require('nvim-treesitter.install').update({ with_sync = true })
      ts_update()
    end,
  }
  use {
    "p00f/nvim-ts-rainbow",
    requires = {
      "nvim-treesitter/nvim-treesitter",
    },
  }
@voldikss voldikss added the bug Something isn't working label Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants