# HG changeset patch # User zegervdv # Date 1683384257 -7200 # Node ID 90ebb41f9b144a9a6ff7f3fd98a6f8d767f7ba52 # Parent add486ac2046d89c21ac251187b9d528ec6313f0 feat: add zk and plugins diff -r add486ac2046 -r 90ebb41f9b14 .chezmoitemplates/init.lua --- a/.chezmoitemplates/init.lua Fri May 05 08:51:01 2023 +0200 +++ b/.chezmoitemplates/init.lua Sat May 06 16:44:17 2023 +0200 @@ -418,6 +418,12 @@ end, }, { + 'yaocccc/nvim-hl-mdcodeblock.lua', + after = 'nvim-treesitter', + config = function() require('hl-mdcodeblock').setup {} end, + }, + + { 'joechrisellis/lsp-format-modifications.nvim', dependencies = { 'nvim-lua/plenary.nvim' }, }, @@ -764,6 +770,11 @@ lazy = false, }, + -- Notekeeping + { + 'mickael-menu/zk-nvim', + }, + -- Integration with external tools { 'glacambre/firenvim', @@ -1363,6 +1374,10 @@ }, } +require('zk').setup { + lsp = { on_attach = on_attach, capabilities = capabilities }, +} + vim.diagnostic.config { underline = true, update_in_insert = false, diff -r add486ac2046 -r 90ebb41f9b14 .chezmoitemplates/lazy-lock.json --- a/.chezmoitemplates/lazy-lock.json Fri May 05 08:51:01 2023 +0200 +++ b/.chezmoitemplates/lazy-lock.json Sat May 06 16:44:17 2023 +0200 @@ -26,6 +26,7 @@ "null-ls.nvim": { "branch": "main", "commit": "5855128178fa78293acdfb5b4e41ef046779240b" }, "nvim-autopairs": { "branch": "master", "commit": "0fd6519d44eac3a6736aafdb3fe9da916c3701d4" }, "nvim-cmp": { "branch": "main", "commit": "777450fd0ae289463a14481673e26246b5e38bf2" }, + "nvim-hl-mdcodeblock.lua": { "branch": "master", "commit": "a652470bfed791d5026f6a35bacdfe90a9d8ac2f" }, "nvim-lspconfig": { "branch": "master", "commit": "e683951a35ade60f9e1768ef770bb42ffcc1d2b7" }, "nvim-navic": { "branch": "master", "commit": "83dc174da915f9dbc9b51169e9b62a2e0d42b527" }, "nvim-osc52": { "branch": "main", "commit": "47ce7ee2396fa3ee4fb6b0e0ef14ba06f9c9bd31" }, @@ -47,5 +48,6 @@ "vim-repeat": { "branch": "master", "commit": "24afe922e6a05891756ecf331f39a1f6743d3d5a" }, "vim-rsi": { "branch": "master", "commit": "4c673fb6c70652a09682c50a0e308184731ca70b" }, "vim-sensible": { "branch": "master", "commit": "3e878abfd6ddc6fb5dba48b41f2b72c3a2f8249f" }, - "which-key.nvim": { "branch": "main", "commit": "4b73390eec680b4c061ea175eb32c0ff3412271d" } + "which-key.nvim": { "branch": "main", "commit": "4b73390eec680b4c061ea175eb32c0ff3412271d" }, + "zk-nvim": { "branch": "main", "commit": "275578853dc76d282ee5b31f86cd3a4f02d91f2f" } } \ No newline at end of file diff -r add486ac2046 -r 90ebb41f9b14 dot_zshrc --- a/dot_zshrc Fri May 05 08:51:01 2023 +0200 +++ b/dot_zshrc Sat May 06 16:44:17 2023 +0200 @@ -297,6 +297,8 @@ export GPG_TTY=$(tty) +export ZK_NOTEBOOK_DIR=$HOME/notebook + autoload -U compinit for dump in ~/.zcompdump(N.mh+24); do