André Silva

Results 8 comments of André Silva

@hasufell I am facing the same problem using `Coc` (not using `LanguageClient`). Is there any solution? Most features work, but not the following: Type Definition, Go To Definition (to functions...

I modified the code, and it worked! The launcher now runs on Windows. Below is the `knap.lua` file with the modified function` launch_viewer` and with `get_os()` function. I haven't yet...

I noticed that the viewer does not run in background. `NVim` remains frozen until the viewer is closed. It seems that `io.popen` frozes. The `lcdm` variable has the value: `cd...

Good news: `Knap` works on Windows, including viewer autorefresh and forward jump. I tested with converting from `MD` to `HTML `and `PDF`, and from `TEX` to `PDF`. The `HTML` viewer...

> @andregpss Thank you so much for making the pull request. Could you please write an instruction on how to setup `knap` on Windows? There's no additional setup on Windows...

I found that when using macOS, `vim.loop.os_uname().sysname` returns `Darwin` value. Can you confirm? So, the following code must work in your machine: ``` function get_os() local os_current = vim.loop.os_uname().sysname local...

I also do not have access to macOS. I prefer the @frabjous idea of identifying the OS system in use. It can be useful in the future.

You can use the following command in NeoVim to print your OS name: > `:lua print(vim.loop.os_uname().sysname)`