update all deps
This commit is contained in:
@@ -582,6 +582,39 @@ require('lze').load {
|
||||
vim.keymap.set("n", "<leader>k", function() harpoon:list():prev() end)
|
||||
vim.keymap.set("n", "<leader>j", function() harpoon:list():next() end)
|
||||
end
|
||||
},
|
||||
{
|
||||
"zk-nvim",
|
||||
enabled = nixCats('notes') or false,
|
||||
event = "DeferredUIEnter",
|
||||
after = function ()
|
||||
require("zk").setup({
|
||||
picker = "snacks_picker"
|
||||
})
|
||||
|
||||
local opts = { noremap=true, silent=false }
|
||||
|
||||
-- Create a new note after asking for its title.
|
||||
vim.api.nvim_set_keymap("n", "<leader>zn", "<Cmd>ZkNew { title = vim.fn.input('Title: ') }<CR>", opts)
|
||||
|
||||
-- Open notes.
|
||||
vim.api.nvim_set_keymap("n", "<leader>zf", "<Cmd>ZkNotes { sort = { 'modified' } }<CR>", opts)
|
||||
-- Open notes associated with the selected tags.
|
||||
vim.api.nvim_set_keymap("n", "<leader>zt", "<Cmd>ZkTags<CR>", opts)
|
||||
|
||||
-- Search for the notes matching a given query.
|
||||
vim.api.nvim_set_keymap("n", "<leader>zg", "<Cmd>ZkNotes { sort = { 'modified' }, match = { vim.fn.input('Search: ') } }<CR>", opts)
|
||||
-- Search for the notes matching the current visual selection.
|
||||
vim.api.nvim_set_keymap("v", "<leader>zm", ":'<,'>ZkMatch<CR>", opts)
|
||||
end
|
||||
},
|
||||
{
|
||||
"render-markdown.nvim",
|
||||
enabled = nixCats('notes') or false,
|
||||
ft = "markdown",
|
||||
after = function ()
|
||||
require('render-markdown').setup({})
|
||||
end
|
||||
}
|
||||
}
|
||||
|
||||
@@ -687,21 +720,9 @@ require('lze').load {
|
||||
-- also these are regular specs and you can use before and after and all the other normal fields
|
||||
},
|
||||
{
|
||||
"ts_ls",
|
||||
"vtsls",
|
||||
enabled = nixCats('typescript') or false,
|
||||
lsp = {
|
||||
on_attach = lsp_on_attach,
|
||||
filetypes = { "javascript", "javascriptreact", "javascript.jsx", "typescript", "typescriptreact", "typescript.tsx", "vue" },
|
||||
init_options = {
|
||||
plugins = {
|
||||
{
|
||||
name = "@vue/typescript-plugin",
|
||||
languages = { "vue" },
|
||||
location = nixCats.extra("vueExtras.location"),
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
lsp = {},
|
||||
},
|
||||
{
|
||||
"eslint",
|
||||
@@ -723,11 +744,6 @@ require('lze').load {
|
||||
enabled = nixCats('yaml') or false,
|
||||
lsp = {},
|
||||
},
|
||||
{
|
||||
"gitlab_ci_ls",
|
||||
enabled = nixCats('yaml') or false,
|
||||
lsp = {},
|
||||
},
|
||||
{
|
||||
"clangd",
|
||||
enabled = nixCats('c') or false,
|
||||
|
||||
Reference in New Issue
Block a user