Comments (6)
hi! just wanted to bring your attention to tree-sitter-xml, if that could help. I am also interested in getting xml supported.
from difftastic.
I'm interested in this as well. I have recently tried this tree-sitter xml parser with some simple SVG files and it seems to work: https://github.com/ObserverOfTime/tree-sitter-xml
from difftastic.
It's an interesting idea. The extremely simple parser in difftastic using syntax.toml
wouldn't work well XML's delimiters.
If we used something like roxmltree (an XML parser that preserves comments), we could use difftastic's internal AST and diffing would just work for XML.
I'm going to close this issue for now: it's not a goal before 1.0.
from difftastic.
Would love xml support as well
from difftastic.
please add .ui
files to the xml extension list, thats the extension used by many gnome apps for their xml buildable files
from difftastic.
@DaKnig done :)
from difftastic.
Related Issues (20)
- `--language` command line argument is not supported
- Allow single-quoted strings to be the same as double-quoted strings HOT 5
- Include line number in patch diff header
- difftastic do not show color in fzf preview HOT 1
- Dynamic sublanguages (injections)
- [Question] Want to know the changes in the AST nodes of the old and new files? HOT 1
- Fix unused LinePosition on newer rustc
- YAML files syntactic changes HOT 1
- A temporary typo squating of the `difft` crate
- Whitespace not ignored in HTML
- Feature request: Exclude files and subdirectories matching patterns
- Update to latest FxHash when it's released
- Wrong diff highlights for a lot of unchanged lines HOT 1
- update LaTeX parser
- Build Failed in old MacOS version
- Comparing two completely different files is going to panic
- [Feature Request] Minimal diffs of comments and strings.
- [RHEL-8] difft: /lib64/libc.so.6: version `GLIBC_2.29' not found (required by difft) HOT 1
- crash when diffing files HOT 1
- pipe to PAGER lost syntax highlighting HOT 1
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 difftastic.