Skip to content

Commit

Permalink
Fix typst preview (at least for firefox)
Browse files Browse the repository at this point in the history
  • Loading branch information
b3nj5m1n committed Oct 19, 2024
1 parent 63d9710 commit 5c18c5b
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 52 deletions.
2 changes: 1 addition & 1 deletion files/nvim/fnl/init.fnl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
(plugin-config.watch-mode-changes)
(plugin-config.kommentary)
(plugin-config.dressing)
(plugin-config.neorg)
; (plugin-config.neorg)
(plugin-config.lspconfig)

; (plugin-config.indent-blankline)
Expand Down
14 changes: 7 additions & 7 deletions files/nvim/fnl/plugin-config.fnl
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@
:builtin]
:trim_prompt true}}))

(defn neorg []
(. (require :neorg) :setup) {:load {
:core.defaults {}
:core.concealer {:config {:preset :icons}}
:core.completion {:config {:engine :nvim-cmp}}
:core.esupports.metagen {:config {:type :auto}}}})
(defn neorg [])
; (. (require :neorg) :setup) {:load {
; :core.defaults {}
; :core.concealer {:config {:preset :icons}}
; :core.completion {:config {:engine :nvim-cmp}}
; :core.esupports.metagen {:config {:type :auto}}}})

(defn indent-blankline [])
; (def highlight (require "highlight"))
Expand Down Expand Up @@ -131,7 +131,7 @@
(local capabilities (lsp-util.get-capabilities))
(local servers [:bashls :cmake :jedi_language_server
:cssls :elmls :html :jsonls :clojure_lsp
:tsserver :tsserver :yamlls :hls :nil_ls
:ts_ls :yamlls :hls :nil_ls
:fennel_language_server]) ; :typst_lsp])
(each [_ server (pairs servers)]
((. (. lspconfig server) :setup)
Expand Down
15 changes: 8 additions & 7 deletions files/nvim/fnl/plugins.fnl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
(paq.paq-add "neorg" "Org-mode equivalent for neovim"
"nvim-neorg/neorg"
; :commit "f296a22864bbac0d94ad00fa18cc8231dbeaa1e3"
:requires ["nvim-lua/plenary.nvim" "nvim-treesitter/nvim-treesitter"]
:requires ["nvim-lua/plenary.nvim" "nvim-treesitter/nvim-treesitter" "nvim-neorg/lua-utils.nvim"]
:optional false)
; :filetype "norg"
;:config ((. (require :plugin-config) :neorg)))
Expand Down Expand Up @@ -421,6 +421,7 @@
"rcarriga/nvim-dap-ui"
:branch "master"
; :commit "85b16ac2309d85c88577cd8ee1733ce52be8227e"
:requires ["nvim-neotest/nvim-nio"]
:optional true)

; [nvim-dap-virtual-text](https://github.com/theHamsta/nvim-dap-virtual-text)
Expand Down Expand Up @@ -534,12 +535,12 @@
:branch "master"
; :commit "1394f5d16b4b3f771f5fc112fbb1eb4369f58cc1"
:opts {
:debug false
:open_cmd "qutebrowser --target window \"%s\""
:dependencies_bin
{
:typst-preview "/run/current-system/sw/bin/typst-preview"
:websocat "/run/current-system/sw/bin/websocat"}}
:debug true
; :open_cmd "qutebrowser --target window \"%s\""
:get_root (fn [path-of-buffer] "/home/b3nj4m1n/uni/")
:dependencies_bin {
:tinymist "/run/current-system/sw/bin/tinymist"
:websocat "/run/current-system/sw/bin/websocat"}}
:config true)

; [typst.vim](https://github.com/kaarmu/typst.vim)
Expand Down
72 changes: 35 additions & 37 deletions files/nvim/lazy-lock.json
Original file line number Diff line number Diff line change
@@ -1,64 +1,62 @@
{
"LuaSnip": { "branch": "master", "commit": "c4d6298347f7707e9757351b2ee03d0c00da5c20" },
"aniseed": { "branch": "master", "commit": "9531eb0dae5a9347eda8f0fc04af7b2b7c908eb0" },
"LuaSnip": { "branch": "master", "commit": "e808bee352d1a6fcf902ca1a71cee76e60e24071" },
"aniseed": { "branch": "master", "commit": "d558a68329c465bced901adf3238a6f946d62483" },
"cmd-parser.nvim": { "branch": "master", "commit": "6363b8bddef968c3ec51a38172af44f675f01ef3" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-cmdline": { "branch": "main", "commit": "d250c63aa13ead745e3a40f61fdd3470efde3923" },
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
"cmp-nvim-lsp-signature-help": { "branch": "main", "commit": "031e6ba70b0ad5eee49fd2120ff7a2e325b17fa7" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
"conjure": { "branch": "master", "commit": "1157614e1c757cdbe062b08d617d162fb34ed3a3" },
"dressing.nvim": { "branch": "master", "commit": "6741f1062d3dc6e4755367a7e9b347b553623f04" },
"editorconfig-vim": { "branch": "master", "commit": "8b7da79e9daee7a3f3a8d4fe29886b9756305aff" },
"conjure": { "branch": "master", "commit": "6d2bc7f7b24c2c43d54f263bee7b9b08aef5d1a1" },
"dressing.nvim": { "branch": "master", "commit": "1b7921eecc65af1baf8ac1dc06f0794934cbcfb2" },
"editorconfig-vim": { "branch": "master", "commit": "ba2ce027c5b0e523e658d24657ce3ae3306c9fe0" },
"feline.nvim": { "branch": "master", "commit": "3587f57480b88e8009df7b36dc84e9c7ff8f2c49" },
"friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" },
"gitsigns.nvim": { "branch": "main", "commit": "0ed466953fe5885166e0d60799172a8b1f752d16" },
"indent-blankline.nvim": { "branch": "master", "commit": "65e20ab94a26d0e14acac5049b8641336819dfc7" },
"friendly-snippets": { "branch": "main", "commit": "de8fce94985873666bd9712ea3e49ee17aadb1ed" },
"gitsigns.nvim": { "branch": "main", "commit": "863903631e676b33e8be2acb17512fdc1b80b4fb" },
"indent-blankline.nvim": { "branch": "master", "commit": "e7a4442e055ec953311e77791546238d1eaae507" },
"kommentary": { "branch": "main", "commit": "d5a111a3bc4109a8f913a5863c9092b3b3801482" },
"lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" },
"lazy.nvim": { "branch": "main", "commit": "dac844ed617dda4f9ec85eb88e9629ad2add5e05" },
"leap.nvim": { "branch": "main", "commit": "c6bfb191f1161fbabace1f36f578a20ac6c7642c" },
"lspkind.nvim": { "branch": "master", "commit": "cff4ae321a91ee3473a92ea1a8c637e3a9510aec" },
"lspkind.nvim": { "branch": "master", "commit": "59c3f419af48a2ffb2320cea85e44e5a95f71664" },
"lua-utils.nvim": { "branch": "main", "commit": "e565749421f4bbb5d2e85e37c3cef9d56553d8bd" },
"marks.nvim": { "branch": "master", "commit": "74e8d01b2a2131b6e46354cffc553aa7f81bcf5b" },
"mini.cursorword": { "branch": "main", "commit": "7a9f1ec73c52124abc39f0309d332ababefc68b2" },
"marks.nvim": { "branch": "master", "commit": "bb25ae3f65f504379e3d08c8a02560b76eaf91e8" },
"mini.cursorword": { "branch": "main", "commit": "7d1b38a17834acbbc4feff8e42aedc4ed0c6ff06" },
"modes.nvim": { "branch": "main", "commit": "326cff3282419b3bcc745061978c1e592cae055d" },
"neogit": { "branch": "master", "commit": "2b74a777b963dfdeeabfabf84d5ba611666adab4" },
"neorg": { "branch": "main", "commit": "e5e797e6eddcb6efb1d2c3fc2612b31ad9a76cef" },
"neogit": { "branch": "master", "commit": "aa3a343c58c378e91d2457f19952f9f2ee3aacc3" },
"neorg": { "branch": "main", "commit": "13d1d546684c83ba464adbf463a8a272c884e1e8" },
"netrw.nvim": { "branch": "master", "commit": "90501c62b9b816ed3ed1e912ae9db9af5671a1b2" },
"nui.nvim": { "branch": "main", "commit": "61574ce6e60c815b0a0c4b5655b8486ba58089a1" },
"nvim": { "branch": "main", "commit": "ba5f4153a5dad99505baba936bd0373534400ac3" },
"nvim": { "branch": "main", "commit": "7be452ee067978cdc8b2c5f3411f0c71ffa612b9" },
"nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" },
"nvim-colorizer.lua": { "branch": "master", "commit": "194ec600488f7c7229668d0e80bd197f3a2b84ff" },
"nvim-dap": { "branch": "master", "commit": "dcc85d12d6e2c18c5fa0f9a304d9f5e767e1401a" },
"nvim-dap-ui": { "branch": "master", "commit": "a5606bc5958db86f8d92803bea7400ee26a8d7e4" },
"nvim-dap-virtual-text": { "branch": "master", "commit": "484995d573c0f0563f6a66ebdd6c67b649489615" },
"nvim-jdtls": { "branch": "master", "commit": "be5c8d49e0f5c01978aed2314ec47fa8eae759ca" },
"nvim-lspconfig": { "branch": "master", "commit": "e6528f4613c8db2e04be908eb2b5886d63f62a98" },
"nvim-colorizer.lua": { "branch": "master", "commit": "0671e0eabc6842676d3310370e8fae4e1c51d7f9" },
"nvim-dap": { "branch": "master", "commit": "7ff6936010b7222fea2caea0f67ed77f1b7c60dd" },
"nvim-dap-ui": { "branch": "master", "commit": "ffa89839f97bad360e78428d5c740fdad9a0ff02" },
"nvim-dap-virtual-text": { "branch": "master", "commit": "52638640ae309cacdaff785fdbb854437bd1ee5c" },
"nvim-jdtls": { "branch": "master", "commit": "efe813854432a314b472226dca813f0f2598d44a" },
"nvim-lspconfig": { "branch": "master", "commit": "b58d56c0c7b3dfb1c71797013ad7b4aca5e6b898" },
"nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" },
"nvim-parinfer": { "branch": "master", "commit": "5ca09287ab3f4144f78ff7977fabc27466f71044" },
"nvim-surround": { "branch": "main", "commit": "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" },
"nvim-treesitter": { "branch": "master", "commit": "09bad640e4507885fa0e7035348c7854c531b3d6" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "48128953949b51235ccada535f021a505fdaf3df" },
"nvim-ufo": { "branch": "main", "commit": "4cc3ba9303c0708b81fd681786a4835fd31518ac" },
"nvim-web-devicons": { "branch": "master", "commit": "5be6c4e685618b99c3210a69375b38a1202369b4" },
"pathlib.nvim": { "branch": "main", "commit": "7a5a6facd29e306bc73a37719fa67c0d2226f852" },
"plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" },
"promise-async": { "branch": "main", "commit": "28c1d5a295eb5310afa2523d4ae9aa41ec5a9de2" },
"rainbow-delimiters.nvim": { "branch": "master", "commit": "698a4396623a479fb1bfd3ad5fd23d244996cbeb" },
"nvim-treesitter": { "branch": "master", "commit": "a3ca2e60563064cea008555d0b7d031430305b09" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "0d79d169fcd45a8da464727ac893044728f121d4" },
"nvim-ufo": { "branch": "main", "commit": "203c9f434feec57909ab4b1e028abeb3349b7847" },
"nvim-web-devicons": { "branch": "master", "commit": "19d257cf889f79f4022163c3fbb5e08639077bd8" },
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
"promise-async": { "branch": "main", "commit": "119e8961014c9bfaf1487bf3c2a393d254f337e2" },
"rainbow-delimiters.nvim": { "branch": "master", "commit": "d227e6c9879bb50af35cd733461198666981d482" },
"range-highlight.nvim": { "branch": "master", "commit": "8b5e8ccb3460b2c3675f4639b9f54e64eaab36d9" },
"rust-tools.nvim": { "branch": "master", "commit": "676187908a1ce35ffcd727c654ed68d851299d3e" },
"telescope.nvim": { "branch": "master", "commit": "3b1600d0fd5172ad9fae00987362ca0ef3d8895d" },
"trouble.nvim": { "branch": "main", "commit": "6efc446226679fda0547c0fd6a7892fd5f5b15d8" },
"typst-preview.nvim": { "branch": "master", "commit": "27aac319b5badd9260501e60f1c36be4d66621d1" },
"telescope.nvim": { "branch": "master", "commit": "df534c3042572fb958586facd02841e10186707c" },
"trouble.nvim": { "branch": "main", "commit": "254145ffd528b98eb20be894338e2d5c93fa02c2" },
"typst-preview.nvim": { "branch": "master", "commit": "0f43ed7fa661617751bfd0ca2f01ee13eba6569e" },
"typst.vim": { "branch": "main", "commit": "4d18ced62599ffe5b3c0e5e49566d5456121bc02" },
"ultimate-autopair.nvim": { "branch": "v0.6", "commit": "1420fb9e07b1d80cc6d87e7d90827fb2c1109cb3" },
"vim-fugitive": { "branch": "master", "commit": "0444df68cd1cdabc7453d6bd84099458327e5513" },
"ultimate-autopair.nvim": { "branch": "v0.6", "commit": "9e3209190c22953566ae4e6436ad2b4ff4dabb95" },
"vim-fugitive": { "branch": "master", "commit": "d4877e54cef67f5af4f950935b1ade19ed6b7370" },
"vim-gnupg": { "branch": "main", "commit": "f9b608f29003dfde6450931dc0f495a912973a88" },
"vim-repeat": { "branch": "master", "commit": "65846025c15494983dafe5e3b46c8f88ab2e9635" },
"vim-table-mode": { "branch": "master", "commit": "e4365bde024f73e205eefa2fb78e3029ddb92ea9" },
"vim-vinegar": { "branch": "master", "commit": "bb1bcddf43cfebe05eb565a84ab069b357d0b3d6" },
"which-key.nvim": { "branch": "main", "commit": "6c1584eb76b55629702716995cca4ae2798a9cca" },
"which-key.nvim": { "branch": "main", "commit": "8badb359f7ab8711e2575ef75dfe6fbbd87e4821" },
"whitespace.nvim": { "branch": "master", "commit": "fda1dd48e63e62a0ebd270c38d87e246b29c3616" },
"yanky.nvim": { "branch": "main", "commit": "73215b77d22ebb179cef98e7e1235825431d10e4" }
}
}

0 comments on commit 5c18c5b

Please sign in to comment.