16 Jul 2024 |
steveej | is the file at that URL what you would expect? | 17:38:49 |
steveej | it doesn't specify a file pattern, i wonder why it doesn't work for all filenames | 17:40:22 |
steveej | it's not the content. if i just cp flake.nix default.nix the latter gets syntax highlighting whereas the former doesn't | 17:41:05 |
PJ | it applies to all files with .nix extension | 17:41:13 |
steveej | i agree it should, it doesn't do it though | 17:41:36 |
steveej | Download image.png | 17:43:57 |
steveej | now i'm also realizing that most nix files do syntax highlighting without that highlights.scm in my homedir. just flake.nix don't 🤔 | 17:47:59 |
PJ | which lapce version are you using? | 17:50:04 |
steveej | v0.4.0 | 17:50:31 |
steveej | i think i'm onto the root cause here. it looks like a race condition. if i open flake.nix after lapce initialized it highlights | 17:50:51 |
PJ | it runs on separate thread which is why it doesn't appear instantly | 18:33:36 |
steveej | In reply to @panekj:matrix.org it runs on separate thread which is why it doesn't appear instantly i expected it to kick in eventually without user interaction. if lapce remembers the workspace and opens some files upon launch, it should eventually syntax highlight them without user actions | 18:38:15 |
steveej | this is already tracked as an issue: https://github.com/lapce/lapce/issues/3256 | 18:53:36 |
steveej | btw., even though lapce has some rough edges i really like it for the SSH functionality which just works ™️ | 18:54:09 |
steveej | although i can't get nix syntax highlighting via SSH at all so far 🙈 does it have to run the LSP server (nil, in this case) on the remote machine or locally? | 18:55:56 |
| jsejcksn joined the room. | 20:08:21 |
| jsejcksn changed their display name from jsejcksn to Jesse. | 20:08:33 |
| jsejcksn changed their display name from Jesse to jsejcksn. | 20:08:54 |
18 Jul 2024 |
steveej | In reply to @steveej0:matrix.org although i can't get nix syntax highlighting via SSH at all so far 🙈 does it have to run the LSP server (nil, in this case) on the remote machine or locally? pj: any idea if syntax highlighting is supposed to work when developing remotely? i'm not getting any notification about the LSP (nil) having problems, but i also can't find it in the process list on the remote server. when i develop locally i can see it there. how do i debug this? | 10:25:17 |
PJ | it should, there isn't anything in remote development that should affect local highlighting | 10:27:20 |
steveej | can i get any debug logs that tell me what's not working? | 10:28:07 |
steveej | is the plugin config taken from my local machine or read by the proxy on the remote machine? because it does contain the path to the LSP which is only valid locally, not remotely | 10:28:55 |
PJ | In reply to @steveej0:matrix.org can i get any debug logs that tell me what's not working? F1 > Open log file | 10:32:58 |
PJ | In reply to @steveej0:matrix.org is the plugin config taken from my local machine or read by the proxy on the remote machine? because it does contain the path to the LSP which is only valid locally, not remotely plugins are valid only per-host, but lapce settings applies globally | 10:33:37 |
steveej | In reply to @panekj:matrix.org
F1 > Open log file thanks, that log file is empty so that's a dead end | 10:40:41 |
steveej | In reply to @panekj:matrix.org plugins are valid only per-host, but lapce settings applies globally yep i can see the plugins are installed on the remote host. i'm wondering if the plugin settings are read from my local host and used in the proxy. it sounds like you mean that with "globally". | 10:41:25 |
steveej | i've confirmed that if i set an LSP path in my local config that is available on the remote machine it uses that and starts the LSP | 10:46:26 |
22 Jul 2024 |
| x changed their display name from iaxat to iaxatx. | 07:52:16 |
| x changed their display name from iaxatx to x. | 07:59:44 |
25 Jul 2024 |
| digit4lsh4d0w changed their profile picture. | 07:37:08 |