update vim plugins

This commit is contained in:
Daylin Morgan 2022-08-26 11:32:05 -05:00
parent 47bf0fdd8e
commit 803632a27c
2 changed files with 26 additions and 22 deletions

View file

@ -0,0 +1,20 @@
require("zk").setup({
-- can be "telescope", "fzf" or "select" (`vim.ui.select`)
-- it's recommended to use "telescope" or "fzf"
picker = "telescope",
lsp = {
-- `config` is passed to `vim.lsp.start_client(config)`
config = {
cmd = { "zk", "lsp" },
name = "zk",
-- on_attach = ...
-- etc, see `:h vim.lsp.start_client()`
},
-- automatically attach buffers in a zk notebook that match the given filetypes
auto_attach = {
enabled = true,
filetypes = { "markdown" },
},
},
})

View file

@ -7,33 +7,17 @@ lvim.plugins = {
'catppuccin/nvim', 'catppuccin/nvim',
as = 'catppuccin' as = 'catppuccin'
}, },
{ 'Djancyp/better-comments.nvim',
config = function()
require('better-comment').Setup()
end
},
{ 'NoahTheDuke/vim-just' }, { 'NoahTheDuke/vim-just' },
{ 'ggandor/lightspeed.nvim' }, { 'ggandor/lightspeed.nvim' },
{ 'elkowar/yuck.vim' }, { 'elkowar/yuck.vim' },
{ {
'mickael-menu/zk-nvim', 'mickael-menu/zk-nvim',
config = function() config = p "zk";
require("zk").setup({
-- can be "telescope", "fzf" or "select" (`vim.ui.select`)
-- it's recommended to use "telescope" or "fzf"
picker = "telescope",
lsp = {
-- `config` is passed to `vim.lsp.start_client(config)`
config = {
cmd = { "zk", "lsp" },
name = "zk",
-- on_attach = ...
-- etc, see `:h vim.lsp.start_client()`
},
-- automatically attach buffers in a zk notebook that match the given filetypes
auto_attach = {
enabled = true,
filetypes = { "markdown" },
},
},
})
end,
}, },
} }