Comments (7)
@zalegrala You can take a look at #115. I documented how to use next
and previous
functions in there. This also applies to the current implementation, except opts
passed to these functions.
from trouble.nvim.
thx,it's work fine
vim.api.nvim_set_keymap("n", "<a-2>", "<esc><cmd>lua vim.diagnostic.goto_prev()<cr>", {}) -- pre error
vim.api.nvim_set_keymap("n", "<a-3>", "<esc><cmd>lua vim.diagnostic.goto_next()<cr>", {}) -- next error
from trouble.nvim.
Hi all. Does anybody know how would I jump to the next error within the workspace without the need to open trouble first? Or jump to the next, and then the trouble window pops up?
from trouble.nvim.
Development on the main branch is EOL.
Trouble has been rewritten and will be merged in main soon.
This issue/feature either no longer exists or has been implemented on dev.
For more info, see https://github.com/folke/trouble.nvim/tree/dev
from trouble.nvim.
How does one use the next previous functions?
from trouble.nvim.
could someone please give an example of binding a shortcut key?
from trouble.nvim.
I use :lua vim.diagnostic.goto_next()<cr>
. I have zero idea if this is related to this plugin or not.
from trouble.nvim.
Related Issues (20)
- bug v3: requires Treesitter `markdown_inline` HOT 6
- bug v3: Can't turn off cc in trouble windows HOT 2
- bug v3: Error viewing astro file HOT 2
- bug v3: Neovim 0.10 required (docs say 0.9.2 or greater)
- bug v3: `auto_close` and `auto_open` broken HOT 2
- feature: folding actions working globally across the fold HOT 1
- feature: disable icons HOT 1
- bug v3: missing Trouble commands HOT 1
- feature: Merge results from different LSP sources sharing the same `uri` and `range` HOT 1
- bug v3: Error with Lualine component HOT 5
- bug v3: TODOTrouble command failing HOT 1
- bug v3: Preview goes on inifinite error loop if buffer is deleted while symbols / definitions are open. HOT 1
- feature: Add option to fix input under cursor HOT 1
- feature: override default quickfix window
- bug v3: `follow=false` not working as expected HOT 1
- bug v3: popup error msg after create new buffer and set filetype to lua HOT 1
- feature: Can we use real buffer for preview? HOT 2
- bug: trouble.nvim (main branch) uses `vim.islist()`, which is not compatible with Neovim < 0.10.0
- bug: error when quitting vim with trouble window open HOT 1
- feature: add support for markdown outline HOT 2
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 trouble.nvim.