mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2025-04-06 18:51:08 +02:00
set neovide options in zig
This commit is contained in:
parent
2056b46bf2
commit
abd14e0b34
3 changed files with 4 additions and 3 deletions
mzte-nv
|
@ -4,5 +4,4 @@
|
|||
(require :plugins)
|
||||
(require :maps)
|
||||
(require :lsp)
|
||||
(require :neovide)
|
||||
(require :pipe)
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
(set vim.g.neovide_transparency 0.9)
|
||||
(set vim.g.neovide_cursor_vfx_mode :wireframe)
|
|
@ -59,6 +59,10 @@ pub fn initOptions() !void {
|
|||
const opt = try std.fmt.bufPrintZ(&buf, "g:loaded_{s}_provider", .{garbage});
|
||||
setVar(opt, .{ .bool = false });
|
||||
}
|
||||
|
||||
// Neovide
|
||||
setVar("g:neovide_transparency", .{ .float = 0.9 });
|
||||
setVar("g:neovide_cursor_vfx_mode", .{ .string = @constCast("wireframe") });
|
||||
}
|
||||
|
||||
fn setOption(key: [*:0]const u8, value: anytype) !void {
|
||||
|
|
Loading…
Add table
Reference in a new issue