Jonas Møller

Results 60 comments of Jonas Møller

@samhedin I think the only way you're going to get any good results is to parse the `.org` files and create an index, then probably make a rule that says:...

@samhedin Then, we probably also want it integrated nicely with LSP, by modifying `lsp-describe-thing-at-point` to work with rustdoc: ```elisp (defun lsp-describe-thing-at-point () "Display the type signature and documentation of the...

@samhedin It looks like you can get the org-path though, so if instead of line numbers, we store something like "Heading>Subheading>Subsubheading" then org-mode knows how to navigate there.

The information is pretty easy to extract with lsp, with the cursor on `something.clone()` ``` ELISP> (setq thing (-some->> (lsp--text-document-position-params) (lsp--make-request "textDocument/hover") (lsp--send-request) (lsp:hover-contents))) # ELISP> (print thing) #s(hash-table size...

@mpenet Good to see that you got it running, I'll mark this as resolved by the time I get a 7.2 version released, which will require some testing on Ubuntu...

> https://github.com/snyball/Hawck/blob/60aafac2d8e5a6ec314dd41383daa5f4658caca5/tests/meson.build#L4-L20 > > > > What is this??? > > > > Please use https://wrapdb.mesonbuild.com/ > > > > ``` > > meson wrap install catch2 > > ```...

@cartok Correct, you can do this with something like: ```lua function swayIsAppFocused(name) local p = io.popen("put your swaymsg / jq command thing here") for line in p:lines() do -- ......

@joshgoebel I don't think there's a widely accepted Wayland protocol for this, so you'll have to rely on specific hacks for your WM/DE of choice.

Actually, reopening this. If you can test and get this working @cartok I'd gladly accept a pull-request for a Sway-specific function to do this, but it should be in a...

@joshgoebel Yeah it's not ideal, although AFAIK `+` does short-circuit, so it will at least only shell out when necessary.