Commit Graph

125 Commits

Author SHA1 Message Date
Dongdong Zhou 61f91c7635
Resize fix (#1189)
* resize fix and improvement

* hover hide improvement

* fix emoji

* fix lsp offset encoding

* fix redo

* fix text y offset

* insert/delete matching "/'

Fix #1098 #1031 #1033 #1166
2022-09-13 18:55:13 +01:00
Dongdong Zhou ca8872c28c
Merge pull request #1149 from bugadani/dirty
A bunch of tiny cleanups
2022-09-11 21:49:00 +01:00
Dániel Buga 0c0a37ab1c Don't unwrap the option 2022-09-11 20:17:22 +02:00
Dániel Buga 9565dc148e Only run command if file exists 2022-09-11 20:16:46 +02:00
Dániel Buga 3c3f2bfcdc Convert block comment 2022-09-11 20:15:55 +02:00
Dániel Buga 19e93fe7e6 Inline a few variables, remove explicit returns 2022-09-11 19:26:20 +02:00
Dániel Buga f195f25eed Remove load_rope 2022-09-11 19:23:29 +02:00
Jakub Panek 801571e08d fix: create directory tree before plugin download
Signed-off-by: Jakub Panek <me@panekj.dev>
2022-09-11 18:24:50 +02:00
Dániel Buga baa0e63bd0 Don't reexport contents of rope_text 2022-09-11 17:28:18 +02:00
Newbyte cd09309e34
Inline Flatpak-related functions 2022-09-11 10:01:03 +02:00
Newbyte ef7ac401c5
Check if flaptak-spawn --host works before attempting to use it
Users may have manually removed the org.freedestkop.Flatpak session
bus talk name from permissions, in which case flatpak-spawn --host
won't work.

Closes https://github.com/lapce/lapce/issues/1133
2022-09-11 10:00:47 +02:00
LunaTheFoxgirl ae45485a62 Add support for adding support for DLang LSPs 2022-09-10 19:31:30 +02:00
Dongdong Zhou 9bff49dd68
Merge pull request #1112 from panekj/fix/lowercase-filename
fix: lowercase filename when checking for language_id
2022-09-10 12:49:03 +01:00
Jakub Panek 980faad454 fix: add missing python file extensions
Signed-off-by: Jakub Panek <me@panekj.dev>
2022-09-10 11:59:12 +02:00
panekj f951f6248d fix: lowercase filename when checking for language_id 2022-09-09 23:43:16 +02:00
Newbyte ddbb1f052d
Use host shell in terminal when running inside Flatpak 2022-09-08 17:07:17 +02:00
panekj 05b8f21751 fix: pass lsp plugin args 2022-09-04 16:45:42 +02:00
Dongdong Zhou 6acb17b799 proxy log 2022-08-31 20:51:51 +01:00
Dongdong Zhou e08331042d log if lsp server stopped 2022-08-31 20:05:36 +01:00
Dongdong Zhou 8687b7d33b
Rename 2022-08-31 19:25:06 +01:00
Dongdong Zhou 7cb7f84f14
Cli (#1003) 2022-08-29 20:59:35 +01:00
panekj 6cb087a90b fix: pass envvar which libc is used on host 2022-08-26 23:07:03 +02:00
Dongdong Zhou a78f8b9989 change wasi env vars 2022-08-25 13:18:12 +01:00
Dongdong Zhou 6150129f50 wasi open dir 2022-08-24 21:26:15 +01:00
Dongdong Zhou 55f17b10b5
Volt fix 2022-08-24 21:15:17 +01:00
Dongdong Zhou c3acaba950
Merge pull request #982 from panekj/feat/language-ids
feat: add remaining language IDs
2022-08-23 20:25:55 +01:00
Dongdong Zhou 9e6b832ff1
Merge pull request #981 from panekj/fix/separate-releases
fix: differentiate between stable/nightly/debug
2022-08-23 20:24:47 +01:00
panekj 796cd3bca6 fix: differentiate between stable/nightly/debug 2022-08-22 11:15:41 +02:00
panekj 5445a31fda feat: add remaining language IDs
make most extensions matching case-insensitive and add case-sensitive
matching
sort extensions alphabetically (like in LSP spec page)
2022-08-22 09:30:24 +02:00
Lillian Armes 9726a1b91b
Add elixir file extensions to language_id_from_path 2022-08-21 18:56:29 -04:00
Dongdong Zhou b71541f9d8
Auto update 2022-08-20 21:18:24 +01:00
Dongdong Zhou 3fbe9ff7b5 show completion condition change 2022-08-17 19:40:51 +01:00
Dongdong Zhou 4cc59d1b42 shutdown lapce-proxy 2022-08-17 19:22:47 +01:00
Dongdong Zhou fd74be8d7f
Proxy refactor 2022-08-17 18:32:35 +01:00
Jakub Panek 71771ea623
fix: follow system OS paths and add multi platform/arch support (#843) 2022-08-16 16:33:15 +01:00
panekj 72636ec162 fix: replace toml-rs with toml_edit
toml-rs is abandoned and not fixed anymore, it also has a bug
that in certain cases might prevent plugins getting installed
because of struct serialization
2022-08-01 17:07:00 +02:00
MinusGix 134267250e Use recv when receiving messages and stop checking when the channel closes 2022-07-31 21:01:13 -05:00
Dongdong Zhou 7ead194eea
Merge pull request #901 from bbrabbitt/patch-1
temporary patch for slow start
2022-07-30 17:05:11 +01:00
sigmaSd 1e09eca10a
feat(proxy): Add more language ids 2022-07-30 10:27:06 +01:00
bbrabbitt 621bde5219
temporary patch for slow start
add a delay to dispatcher instead of disabling it
2022-07-30 00:34:39 -07:00
Dongdong Zhou a5402975d9
Merge pull request #884 from MinusGix/lsp-encoding-utf16
Use UTF16 encoding for LSPs
2022-07-28 18:49:28 +01:00
bbrabbitt 2838788dda
add disable, enable and remove functionality to plugins
add plugins.toml to record disabled plugins

revert change to Cargo.toml

fix clippy
2022-07-28 01:12:06 -07:00
MinusGix 54ef77b20f Avoid panicking on translation; Fixes some bugs with translation 2022-07-28 01:41:03 -05:00
MinusGix 730d376a9e Use UTF16 encoding for LSPs 2022-07-27 15:20:28 -05:00
MinusGix e09b438f6d Read files lossily, in case they are not utf8 2022-07-25 14:05:31 -05:00
Dongdong Zhou 20b9d05119
Merge pull request #850 from MinusGix/pwd-lsp
Set the current directory when starting the LSP
2022-07-22 19:48:55 +01:00
MinusGix a368ee89c8 Set the current directory when starting the LSP 2022-07-22 11:55:58 -05:00
MinusGix efc2ec9237 Specify the workspace folder of the root uri if available 2022-07-22 09:26:24 -05:00
Dongdong Zhou c3bcc13172
full screen fix
Fix title offset on macOS fullscreen mode
Fix and improve file explorer update on file change
2022-07-21 19:10:24 +01:00
MinusGix a3d8926b5e Specify a field so that LSPs to avoid minor lsp-types bug 2022-07-21 09:55:23 -05:00