You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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",
},
}
The text was updated successfully, but these errors were encountered:
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:
by the way, My bing and youdao translator don't work.
my OS and chip:
my neovim plugins(with packer):
The text was updated successfully, but these errors were encountered: