changeset 786:90ebb41f9b14

feat: add zk and plugins
author zegervdv <zegervdv@me.com>
date Sat, 06 May 2023 16:44:17 +0200
parents add486ac2046
children 489b44423527
files .chezmoitemplates/init.lua .chezmoitemplates/lazy-lock.json dot_zshrc
diffstat 3 files changed, 20 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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,
--- 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
--- 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