Code Monkey home page Code Monkey logo

Comments (3)

holzensp avatar holzensp commented on May 11, 2024 1

Right now, the Editors are only used to format the URIs of the file references in error messages (producing idea://path/to/file.pkl when you use Idea, for example. Are there setups where having a clickable link in the terminal to open neovim makes sense? I always use neovim in terminal only and then there's no clicking involved.

If there is, and there is a canonical URI form; happy to take a PR or to follow up at some later stage.

from pkl.

uhooi avatar uhooi commented on May 11, 2024

I see...I understand.
Thank you!

from pkl.

gibfahn avatar gibfahn commented on May 11, 2024

I did the following. I don't need the clickable links, but it means that when I run pkl eval in a Neovim terminal, I can use gF to jump to the file at the correct line.

amends "pkl:settings"

// Custom URL scheme to make gF work in Neovim.
editor = (Editor) {
  urlScheme = "%{path}:%{line}:%{column}"
}

from pkl.

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.