update vim plugins
This commit is contained in:
parent
47bf0fdd8e
commit
803632a27c
2 changed files with 26 additions and 22 deletions
20
home/private_dot_config/lvim/lua/config/zk.lua
Normal file
20
home/private_dot_config/lvim/lua/config/zk.lua
Normal 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" },
|
||||
},
|
||||
},
|
||||
})
|
|
@ -7,33 +7,17 @@ lvim.plugins = {
|
|||
'catppuccin/nvim',
|
||||
as = 'catppuccin'
|
||||
},
|
||||
{ 'Djancyp/better-comments.nvim',
|
||||
config = function()
|
||||
require('better-comment').Setup()
|
||||
end
|
||||
},
|
||||
{ 'NoahTheDuke/vim-just' },
|
||||
{ 'ggandor/lightspeed.nvim' },
|
||||
{ 'elkowar/yuck.vim' },
|
||||
{
|
||||
'mickael-menu/zk-nvim',
|
||||
config = function()
|
||||
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,
|
||||
config = p "zk";
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue