Comments (2)
I can't reproduce a regression. Probably you expect the filetype=grep
style behavior where every line is a valid location.
Lint output (for better or worse) has forever used filetype=make
where make_error_pattern
determines what's a valid location (for next/prev but also for jump)
For example here the first one is matched but the second one isn't:
src/main.cc:100:9: error: expected ‘}’ before string constant
100 | "» {+u}User{} hook support\n"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/main.cc:97:8: note: to match this ‘{’
97 | }, {
| ^
It's possible that we want to relax this (perhaps only for the jump command). I personally have a dedicated shortcut which has some drawbacks I guess
The expectation for lint.kak
are not very easily defined
from kakoune.
You are absolutely right. I was sure that I was in a buffer with filetype=grep
.
My current linting error was:
main.go:5:6: main redeclared in this block
And effectively, it does not match with the make_error_pattern
. If I manually change the line to:
main.go:5:6: error: main redeclared in this block
It now works. So my bad, this is not a bug.
But as you say, maybe this rule could be relaxed effectively. It might not be necessary to have that level of precision for the jump
.
Should I close this issue and this could be tracked elsewhere?
from kakoune.
Related Issues (20)
- [BUG][CRASH] regex is broken HOT 1
- [BUG/QUESTION] UTF-8 characters render as question marks in kak under WezTerm on MacOS HOT 2
- [BUG] inconsistent syntax in asciidoc for buffers enclosed by stars such as scratch HOT 2
- [BUG] rendering issue in asciidoc with nested stars and backticks HOT 6
- [BUG] Alternations in lookarounds produce an unhelpful error message
- cygwin compilation error using gcc (windows10) HOT 7
- How to remove the format charaters in the man buffer [QUESTION] HOT 3
- [BUG] Numpad/Keypad numbers produce garbage
- [BUG] (?S) flag strangely changes lookaround behavior HOT 1
- [BUG][CRASH] Signal: 11 (SEGV) HOT 11
- [BUG] Commands relying on viewport don’t work in non-interactive mode
- [REQUEST] hide mapped key in menu
- [BUG] <esc> does not end macro recording HOT 2
- [REQUEST] Allow git-apply to stage/reverse hunk at cursor. HOT 1
- typo in scopes.asciidoc
- [REQUEST] sh filetype quotation highlighting of subshells
- [REQUEST] Syntax highlighter for Typst HOT 2
- [BUG] Some control characters cannot be entered, even using raw insert
- [BUG] hang at startup if pwd is git backed directory HOT 13
- [BUG][CRASH]
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 kakoune.