Support clicking on a completion to confirm it

This commit is contained in:
Antonio Scandurra
2022-02-03 11:39:19 +01:00
parent 7865c32727
commit efcbf2714c
6 changed files with 71 additions and 34 deletions
+4
View File
@@ -322,6 +322,10 @@ match_highlight = { color = "$editor.syntax.keyword.color", weight = "$editor.sy
[editor.autocomplete.selected_item]
extends = "$editor.autocomplete.item"
background = "$state.selected"
[editor.autocomplete.hovered_item]
extends = "$editor.autocomplete.item"
background = "$state.hover"
[project_diagnostics]
+1
View File
@@ -40,6 +40,7 @@ bad = "#b7372e"
active_line = "#161313"
highlighted_line = "#faca5033"
hover = "#00000033"
selected = "#00000088"
[editor.syntax]
keyword = { color = "#0086c0", weight = "bold" }
+1 -1
View File
@@ -40,6 +40,7 @@ bad = "#b7372e"
active_line = "#00000022"
highlighted_line = "#faca5033"
hover = "#00000033"
selected = "#00000088"
[editor.syntax]
keyword = { color = "#0086c0", weight = "bold" }
@@ -51,7 +52,6 @@ comment = "#6a9955"
property = "#4e94ce"
variant = "#4fc1ff"
constant = "#9cdcfe"
title = { color = "#9cdcfe", weight = "bold" }
emphasis = "#4ec9b0"
"emphasis.strong" = { color = "#4ec9b0", weight = "bold" }
+1 -1
View File
@@ -40,6 +40,7 @@ bad = "#b7372e"
active_line = "#00000008"
highlighted_line = "#faca5033"
hover = "#0000000D"
selected = "#0000001c"
[editor.syntax]
keyword = { color = "#0000fa", weight = "bold" }
@@ -51,7 +52,6 @@ comment = "#6a9955"
property = "#4e94ce"
variant = "#4fc1ff"
constant = "#5a9ccc"
title = { color = "#5a9ccc", weight = "bold" }
emphasis = "#267f29"
"emphasis.strong" = { color = "#267f29", weight = "bold" }