I love fixing typst-preview
This commit is contained in:
parent
cf33f52f9c
commit
27abdf814b
2 changed files with 12 additions and 1 deletions
|
|
@ -186,7 +186,14 @@ require('lazy').setup({
|
||||||
lazy = false, -- or ft = 'typst'
|
lazy = false, -- or ft = 'typst'
|
||||||
version = '1.*',
|
version = '1.*',
|
||||||
opts = {
|
opts = {
|
||||||
|
debug = true,
|
||||||
open_cmd = 'firefox %s',
|
open_cmd = 'firefox %s',
|
||||||
|
|
||||||
|
dependencies_bin = {
|
||||||
|
['tinymist'] = "@tinymist@",
|
||||||
|
['websocat'] = "@websocat@",
|
||||||
|
},
|
||||||
|
|
||||||
port = 28282,
|
port = 28282,
|
||||||
}, -- lazy.nvim will implicitly calls `setup {}`
|
}, -- lazy.nvim will implicitly calls `setup {}`
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,11 @@
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
|
|
||||||
extraLuaConfig = lib.fileContents ./init.lua;
|
extraLuaConfig =
|
||||||
|
builtins.replaceStrings
|
||||||
|
[ "@websocat@" "@tinymist@" ]
|
||||||
|
[ "${pkgs.websocat}/bin/websocat" "${pkgs.tinymist}/bin/tinymist" ]
|
||||||
|
(lib.fileContents ./init.lua);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue