jaspervandenbosch / docker.lang Goto Github PK
View Code? Open in Web Editor NEWGedit syntax highlighting file for Dockerfiles
Gedit syntax highlighting file for Dockerfiles
Hi @ilogue,
I just tried to install your docker.lang by moving it into /usr/share/gtksourceview-2.0/language-specs
but it didn't work. I could not use Docker
as a type for my Dockerfile on GEdit...
Seems like it is misssing a mimetype file or something...I tried to write one on my own but It didn't work...
Any ideas ?
When running gedit on Ubuntu 14.04 I receive the following error:
/usr/share/gtksourceview-3.0/language-specs/docker.lang:40: parser error : Specification mandate value for attribute data-pjax-transient
On startup I get this error for gedit Version 3.18.3 on Ubuntu 16.04
/usr/share/gtksourceview-3.0/language-specs/docker.lang:42: parser error : Specification mandate value for attribute data-pjax-transient
ame="request-id" content="4E5B:7A62:A9C16C:1146A98:59CDFAAE" data-pjax-transient
^
(gedit:13586): GtkSourceView-WARNING **: Failed to parse '/usr/share/gtksourceview-3.0/language-specs/docker.lang'
(gedit:13586): GtkSourceView-WARNING **: Error reading language specification file '/usr/share/gtksourceview-3.0/language-specs/docker.lang'
Hi,
Is there a chance you'll contribute this lang file to the gtksourceview project?
A bug can be submitted here:
https://bugzilla.gnome.org/page.cgi?id=browse.html&product=gtksourceview
Currently a line like
RUN sed -i 's/#dbms.shell.enabled=true/dbms.shell.enabled=true/' /var/lib/neo4j/conf/neo4j.conf
will be highlighted like a comment beginning with the #
character. The first characters (especially RUN) are highlighted correctly. So the issue here is that #
always will be treated like a comment, even when it is used within quotation marks.
Maybe you could provide an extra highlighting of things within qutation marks, which would fix this issue and add a new nice feature.
<context id="string" style-ref="string" end-at-line-end="true">
<start>L?"</start>
<end>"</end>
</context>
<context id="char" style-ref="string" end-at-line-end="true">
<start>L?'</start>
<end>'</end>
</context>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.