Coder Social home page Coder Social logo

open file without extension about joshuto HOT 4 CLOSED

aklk1ng avatar aklk1ng commented on June 12, 2024
open file without extension

from joshuto.

Comments (4)

MYRon-TO avatar MYRon-TO commented on June 12, 2024

mimetype.toml

text_default	= [
    { command = "nvim" },
]

from joshuto.

aklk1ng avatar aklk1ng commented on June 12, 2024

@MYRon-TO , i know, but joshuto can't identify a file without extension like this

c.inherit = "text_default"

So when i try open a config file, the text_default can't work

from joshuto.

tarlety avatar tarlety commented on June 12, 2024

So when i try open a config file, the text_default can't work

Which Joshuto version/commit number you use and what's your mimetype.toml?

If you are currently utilizing the latest (pre)release of Joshuto, specifically version v0.9.4, please note that this version does not support the use of mimetypes via the file command. As a result, the 'text_default' feature cannot be employed when opening a file without an extension.

You can refer to commit f117dda, which introduces support for mimetypes via the file command. To address the issue at hand, you can rebuild Joshuto with the latest code and ensure the proper configuration of the 'mimetype.toml' file. Once these steps are completed, you can attempt to open the file without extension again.

from joshuto.

aklk1ng avatar aklk1ng commented on June 12, 2024

@tarlety
yes, my joshuto version is 0.9.4, and thanks for answering!

from joshuto.

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.