From e69f225dfd315058885331ebd87af2f06f69eb11 Mon Sep 17 00:00:00 2001 From: pika Date: Sun, 21 Jul 2024 14:20:32 +0200 Subject: [PATCH] some changes + addet markdown plugin --- init.lua | 4 ++-- lua/pika/plugins/markdown.lua | 10 ++++++++++ lua/pika/plugins/which-key.lua | 22 +++++++++++----------- 3 files changed, 23 insertions(+), 13 deletions(-) create mode 100644 lua/pika/plugins/markdown.lua diff --git a/init.lua b/init.lua index 16befec..5c2c381 100644 --- a/init.lua +++ b/init.lua @@ -1,2 +1,2 @@ -require 'pika.core' -require 'pika.lazy' +require("pika.core") +require("pika.lazy") diff --git a/lua/pika/plugins/markdown.lua b/lua/pika/plugins/markdown.lua new file mode 100644 index 0000000..ca6585b --- /dev/null +++ b/lua/pika/plugins/markdown.lua @@ -0,0 +1,10 @@ +return { + "MeanderingProgrammer/markdown.nvim", + name = "render-markdown", -- Only needed if you have another plugin named markdown.nvim + dependencies = { "nvim-treesitter/nvim-treesitter", "echasnovski/mini.nvim" }, -- if you use the mini.nvim suite + -- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.icons' }, -- if you use standalone mini plugins + -- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons + config = function() + require("render-markdown").setup({}) + end, +} diff --git a/lua/pika/plugins/which-key.lua b/lua/pika/plugins/which-key.lua index a7c1456..0d22f69 100644 --- a/lua/pika/plugins/which-key.lua +++ b/lua/pika/plugins/which-key.lua @@ -1,13 +1,13 @@ return { - 'folke/which-key.nvim', - event = 'VeryLazy', - init = function() - vim.o.timeout = true - vim.o.timeoutlen = 300 - end, - opts = { - -- your configuration comes here - -- or leave it empty to use the default settings - -- refer to the configuration section below - }, + "folke/which-key.nvim", + event = "VeryLazy", + init = function() + vim.o.timeout = true + vim.o.timeoutlen = 500 + end, + opts = { + -- your configuration comes here + -- or leave it empty to use the default settings + -- refer to the configuration section below + }, }