Update setup wizard for ST4 (#461)
* Set include_at_in_builtins to false if Sublime Text version > 4000
This commit is contained in:
parent
0ecdeeecb1
commit
e8bbb20783
@ -177,7 +177,7 @@ pub fn wizard(allocator: std.mem.Allocator) !void {
|
|||||||
const inlay_hints = try askBool("Do you want to enable inlay hints?");
|
const inlay_hints = try askBool("Do you want to enable inlay hints?");
|
||||||
const operator_completions = try askBool("Do you want to enable .* and .? completions?");
|
const operator_completions = try askBool("Do you want to enable .* and .? completions?");
|
||||||
const include_at_in_builtins = switch (editor) {
|
const include_at_in_builtins = switch (editor) {
|
||||||
.Sublime => true,
|
.Sublime => !try askBool("Are you using a Sublime Text version > 4000?"),
|
||||||
.VSCode, .Kate, .Neovim, .Vim8, .Emacs, .Doom, .Spacemacs => false,
|
.VSCode, .Kate, .Neovim, .Vim8, .Emacs, .Doom, .Spacemacs => false,
|
||||||
else => try askBool("Should the @ sign be included in completions of builtin functions?\nChange this later if `@inc` completes to `include` or `@@include`"),
|
else => try askBool("Should the @ sign be included in completions of builtin functions?\nChange this later if `@inc` completes to `include` or `@@include`"),
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user