Comments (5)
Thanks for the issue!
Unfortunately, I can not reproduce. Would you mind clarifying some details?
- Does running
:lua vim.lsp.buf.references()
work? It should be in the same exact conditions as when:Pick lsp scope='references'
fails. - With what languages and language servers did you see this behavior?
If the first question is negative (as in "vim.lsp.buf.references()
works but :Pick lsp scope='references'
does not), then I'd have to ask for a reproducible example. So that I can copy and investigate locally. You can use the start of this 'mini.deps' example script or the one from 'lazy.nvim' issues, whichever you're most comfortable with.
from mini.nvim.
Hey thanks for the super quick feedback.
Regarding point 1: "Does running :lua vim.lsp.buf.references()
work"
-> Yes, this works without the E79:
With :Pick lsp scope='references'
i get the E79:
Only after I press space the window appears. Same result as with :lua vim.lsp.buf.references()
:
Regarding point 2: "With what languages and language servers did you see this behavior?"
-> lua_ls, basedpyright, phpactor, intelephense (lua/python/php)
While researching, I found a user who got the same error message but with a theme plugin. I think it was due to the fish shell (which I also use).
...
I hope I can upload a reproducible example this evening.
In any case, many thanks in advance 🙏
PS: sorry for the bad example and the big screenshots above
from mini.nvim.
Interesting.
Based on this comment, would you mind testing if :Pick lsp scope="references"
(note double quotes instead of single quotes) works?
If it does work, could you, please, also execute :=vim.fn.expandcmd("scope='references'")
(as this is what 'mini.pick' is doing in :Pick
command) and see if it gives the E79
error?
from mini.nvim.
:Pick lsp scope="references"
works 👍
with :=vim.fn.expandcmd("scope='references'")
I get the E79 again:
from mini.nvim.
:Pick lsp scope="references"
works 👍with
:=vim.fn.expandcmd("scope='references'")
I get the E79 again:
Great! Then I don't think it is a 'mini.pick' / 'mini.extra' issue. It is said that :h expandcmd()
should work, but it seems to have issues with single quotes and Fish shell. This looks like an upstream Neovim problem.
If you want, opening an issue there mentioning that :=vim.fn.expandcmd("scope='references'")
fails can be helpful. Although, this might be even a more upstream (Vim) issue.
Closing as an upstream issue.
from mini.nvim.
Related Issues (20)
- mini.surround: Incorrect default config.search_method value in help page. HOT 2
- Add filetypes to exclude in mini.trailspace HOT 2
- mini.completion: boolean flag on configuration for enabling / disabling autocompletion HOT 1
- [mini.completion] info window position conflicts with `noice.nvim`? HOT 1
- Maintain relative directory in plugins which open buffers HOT 1
- mini.diff: Symlinked files unintentionally report as changed/added on every line HOT 3
- mini.icons not loaded as dependency for oil.nvim HOT 1
- saip excluding trailing whitespace HOT 4
- Surround keymap broken HOT 8
- Weird conflicting behavior with `dial.nvim` HOT 1
- Mini.files spaces after and before Title HOT 11
- mini.cursorword: Define custom highlighting groups HOT 1
- Rename through blockwise selection triggers a move operation. HOT 8
- 'MiniPick.builtin.grep_live' with 'rg' not showing any result HOT 12
- Trailspace: make functions available through module HOT 4
- Support setting 'winbar' option in statusline module HOT 1
- mini.ai: use different search_method for treesitter textobjects?
- Repeatable movement across modules with `;` and `,` HOT 1
- In WSL2 :Git commit results in error in sockconnect HOT 5
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 mini.nvim.