Giter Club home page Giter Club logo

Comments (11)

RobertoMachorro avatar RobertoMachorro commented on September 27, 2024 2

Testing completed for:

Added several types to syntax highlight detection:
Nimrod, Makefile, Bash scripts, C++ headers, Objective-C headers, Objective C++ headers, Rust sources and Kotlin sources.
Registered Nimrod source files for Import.
Imported type identifiers for TeX/LaTex, Rust and Kotlin files.

Pull requested, fixes available on next release.

from moped.

danieltomasz avatar danieltomasz commented on September 27, 2024 1

i am on Monterey if that matters, i will post screenshots tomorrow

from moped.

RobertoMachorro avatar RobertoMachorro commented on September 27, 2024 1

Example how the file looks like (moped is set as a default editor)

Thank you, @danieltomasz . This is what I was looking for, a fix will be on the next release.

from moped.

danieltomasz avatar danieltomasz commented on September 27, 2024 1

thank you for your effort @RobertoMachorro!

from moped.

RobertoMachorro avatar RobertoMachorro commented on September 27, 2024

Could you please post a screenshot? In particular the lower left corner of the window is relevant.

from moped.

rcolonel avatar rcolonel commented on September 27, 2024

... and Kotlin (*.kt) too :(

Снимок экрана 2022-06-18 в 20 29 13

from moped.

danieltomasz avatar danieltomasz commented on September 27, 2024

yes, for me the plaintext is set by defauly on md files too

from moped.

RobertoMachorro avatar RobertoMachorro commented on September 27, 2024

... and Kotlin (*.kt) too :(

Снимок экрана 2022-06-18 в 20 29 13

Kotlin is currently not supported for detection, but hang-on - it will be on the next release 😉

from moped.

RobertoMachorro avatar RobertoMachorro commented on September 27, 2024

yes, for me the plaintext is set by defauly on md files too

@danieltomasz I'm a bit puzzled on this one... TXT, MD, Markdown, HTML, XML and CS should all be detected. I took a fresh install of Big Sur and installed only Moped, then got a few test files and they are all picked up and detected properly:

image

As mentioned above, could you please post a screenshot? Note the bottom left of the Moped windows, they have the file identification (UTType), what is the one you see?

from moped.

danieltomasz avatar danieltomasz commented on September 27, 2024

Example how the file looks like (moped is set as a default editor)
image

from moped.

danieltomasz avatar danieltomasz commented on September 27, 2024

I use Yaml header often in my markdown files, this might be a problem
field:: is also custom syntax to Dataview plugin in Obsidian - it allows me to query these fields later :)

If I am opening a simple file with md extension it work

# My note

My text
```

from moped.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.