liquidz / vim-iced

Clojure Interactive Development Environment for Vim8/Neovim
https://liquidz.github.io/vim-iced/
MIT License
516 stars 35 forks source link

`pumvisible_fn` error detected when running :IcedConnect #467

Closed tastyminerals closed 9 months ago

tastyminerals commented 10 months ago

I am trying to use "vim-iced" in Lunarvim (a neovim IDE layer). After creating an empty leiningen project, opening the "core.clj" file, and running :IcedConnect, I see the following message at the bottom:

Error detected while processing function iced#repl#connect[2]..iced#system#get[21]..iced#component#repl#nrepl#start[1]..script /Users/pavels/.local/sh
are/lunarvim/site/pack/packer/start/vim-iced/autoload/iced/util.vim:
line    7:
E704: Funcref variable name must start with a capital: g:iced#util#pumvisible_fn
Connected.
Press ENTER or type command to continue

If I press ENTER, nothing happens. Running :IcedEval (+ 1 2 3) works. Running :IcedConnect again, doesn't produce the error, only shows "Already connected" message.

Here is a list of plugins that come bundled with Lunarvim

ls .local/share/lunarvim/site/pack/packer/opt/
 bufferline.nvim   gitsigns.nvim   nvim-ts-context-commentstring   trouble.nvim
 Comment.nvim      neodev.nvim     toggleterm.nvim                 which-key.nvim

ls .local/share/lunarvim/site/pack/packer/start/
 alpha-nvim          indent-blankline.nvim   mason.nvim           nvim-dap-ui         packer.nvim        telescope-fzf-native.nvim
 cmp-buffer          lir.nvim                nlsp-settings.nvim   nvim-lspconfig      plenary.nvim       telescope.nvim
 cmp-nvim-lsp        lualine.nvim            null-ls.nvim         nvim-navic          popup.nvim         tokyonight.nvim
 cmp-path            LuaSnip                 nvim-autopairs       nvim-tree.lua       project.nvim       vim-iced
 cmp_luasnip         lunar.nvim              nvim-cmp             nvim-treesitter     schemastore.nvim   vim-illuminate
 friendly-snippets   mason-lspconfig.nvim    nvim-dap             nvim-web-devicons   structlog.nvim     vim-sexp

neovim version is v0.8.1

liquidz commented 10 months ago

@tastyminerals Thanks for your reporting! Hmm, I could not reproduce the problem in my environment. (neovim v0.9.2)

Could you try with neovim 0.9.2 or later?

tastyminerals commented 9 months ago

Indeed, I am not getting any error in v0.9.4.