comparison .chezmoitemplates/init.lua @ 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
comparison
equal deleted inserted replaced
785:add486ac2046 786:90ebb41f9b14
415 vim.fn.setqflist(changed, 'r') 415 vim.fn.setqflist(changed, 'r')
416 end, 416 end,
417 } 417 }
418 end, 418 end,
419 }, 419 },
420 {
421 'yaocccc/nvim-hl-mdcodeblock.lua',
422 after = 'nvim-treesitter',
423 config = function() require('hl-mdcodeblock').setup {} end,
424 },
425
420 { 426 {
421 'joechrisellis/lsp-format-modifications.nvim', 427 'joechrisellis/lsp-format-modifications.nvim',
422 dependencies = { 'nvim-lua/plenary.nvim' }, 428 dependencies = { 'nvim-lua/plenary.nvim' },
423 }, 429 },
424 { 430 {
760 } 766 }
761 vim.cmd.colorscheme 'catppuccin-macchiato' 767 vim.cmd.colorscheme 'catppuccin-macchiato'
762 end, 768 end,
763 priority = 1000, 769 priority = 1000,
764 lazy = false, 770 lazy = false,
771 },
772
773 -- Notekeeping
774 {
775 'mickael-menu/zk-nvim',
765 }, 776 },
766 777
767 -- Integration with external tools 778 -- Integration with external tools
768 { 779 {
769 'glacambre/firenvim', 780 'glacambre/firenvim',
1361 }, 1372 },
1362 }, 1373 },
1363 }, 1374 },
1364 } 1375 }
1365 1376
1377 require('zk').setup {
1378 lsp = { on_attach = on_attach, capabilities = capabilities },
1379 }
1380
1366 vim.diagnostic.config { 1381 vim.diagnostic.config {
1367 underline = true, 1382 underline = true,
1368 update_in_insert = false, 1383 update_in_insert = false,
1369 virtual_text = { severity = { min = vim.diagnostic.severity.WARN }, source = 'always' }, 1384 virtual_text = { severity = { min = vim.diagnostic.severity.WARN }, source = 'always' },
1370 severity_sort = true, 1385 severity_sort = true,