Comments (3)
@fdncred
could you share the source code of this so that i can dump it inside Neovim and see if i get the same? 😇
i think i've seen this before and suspect it's getting confused around the strings / quotes 🤔
from tree-sitter-nu.
@amtoine The file is the default_env.nu. It's the pipe newline at the end of line 26 that is causing the problem.
from tree-sitter-nu.
@amtoine The file is the default_env.nu. It's the pipe newline at the end of line 26 that is causing the problem.
woopsie my bad, didn't see it 👀
in Neovim, it looks a bit better 👍
i.e. the colors look good on the let last_exit_code ...
line already
with the |
on the left and next line:
from tree-sitter-nu.
Related Issues (20)
- Parsing of pipeline fails when the first pipeline element is variable or control expression, and there is a newline before the next element HOT 2
- Parsing of range fails HOT 1
- Incorrect parsing for long param flag with dashes HOT 1
- A newline between `}` and `else` cause parse error HOT 5
- Parsing of list destruction match pattern fails
- Fails to parse unquoted string containing symbols in a list
- command identifier with `?` is not parsed correctly
- Some record keys are not parsed correctly
- Closure parsed as a record HOT 3
- `duration` is parsed as a `string` when used as an argument.
- helix integration with nushell syntax highlighting HOT 12
- `inf` is parsed as a number unless quoted HOT 2
- script of the sort "^'bin' command" is not parsed HOT 3
- Can we simplify this part of the grammar? HOT 1
- Wrong highlighting in if else statement. HOT 4
- use *file* identifier: produces a tree-sitter error HOT 8
- Help with finding ERRORs in tree-sitter-nu. HOT 1
- Add support for new nushell feature - raw strings
- Support the spread operator HOT 1
- syntax highlighting is off after PR #99
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 tree-sitter-nu.