From cd10f760304820cc9d873e12ed90be0592e050a4 Mon Sep 17 00:00:00 2001 From: yannickreiss Date: Sat, 9 Dec 2023 11:49:45 +0100 Subject: [PATCH 1/2] Lazy --- lazy-lock.json | 6 +++--- lua/markdownpreview.lua | 23 +++++++++++++++++++++++ spell/en.utf-8.add | 1 + spell/en.utf-8.add.spl | Bin 1700 -> 1709 bytes viml/plugconfig.vim | 11 ++++++----- 5 files changed, 33 insertions(+), 8 deletions(-) create mode 100644 lua/markdownpreview.lua diff --git a/lazy-lock.json b/lazy-lock.json index 74da08a..5ad208b 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -22,12 +22,12 @@ "nerdtree-git-plugin": { "branch": "master", "commit": "e1fe727127a813095854a5b063c15e955a77eafb" }, "nvim-cmp": { "branch": "main", "commit": "0b751f6beef40fd47375eaf53d3057e0bfa317e4" }, "nvim-cmp-lua-latex-symbols": { "branch": "master", "commit": "89345d6e333c700d13748e8a7ee6fe57279b7f88" }, - "nvim-dap": { "branch": "master", "commit": "d7749eb3d9933a75d2244820308ce442f646c7ae" }, + "nvim-dap": { "branch": "master", "commit": "bbe2c6f3438542a37cc2141a8e385f7dfe07d87d" }, "nvim-doxyscan": { "branch": "master", "commit": "2c266fdb9395d6afa5d7188f8212fd7757193990" }, "nvim-lspconfig": { "branch": "master", "commit": "511609ae0311abfcfaed3c398429a147e895ce2c" }, - "nvim-treesitter": { "branch": "master", "commit": "180e1ca385442e35e1d18420221a148c5e045671" }, + "nvim-treesitter": { "branch": "master", "commit": "bd5517989398145c36d859927fb4e76a45c66cf6" }, "nvim-ts-rainbow": { "branch": "master", "commit": "ef95c15a935f97c65a80e48e12fe72d49aacf9b9" }, - "nvim-web-devicons": { "branch": "master", "commit": "5efb8bd06841f91f97c90e16de85e96d57e9c862" }, + "nvim-web-devicons": { "branch": "master", "commit": "8b2e5ef9eb8a717221bd96cb8422686d65a09ed5" }, "plenary.nvim": { "branch": "master", "commit": "55d9fe89e33efd26f532ef20223e5f9430c8b0c0" }, "telescope-ultisnips.nvim": { "branch": "main", "commit": "f48b6d4f53b31507d3fd514905c6940409e8ada8" }, "telescope.nvim": { "branch": "master", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" }, diff --git a/lua/markdownpreview.lua b/lua/markdownpreview.lua new file mode 100644 index 0000000..bbb405c --- /dev/null +++ b/lua/markdownpreview.lua @@ -0,0 +1,23 @@ +-- default config: +require("peek").setup({ + auto_load = true, -- whether to automatically load preview when + -- entering another markdown buffer + close_on_bdelete = true, -- close preview window on buffer delete + + syntax = true, -- enable syntax highlighting, affects performance + + theme = "dark", -- 'dark' or 'light' + + update_on_change = true, + + app = "webview", -- 'webview', 'browser', string or a table of strings + -- explained below + + filetype = { "markdown" }, -- list of filetypes to recognize as markdown + + -- relevant if update_on_change is true + throttle_at = 200000, -- start throttling when file exceeds this + -- amount of bytes in size + throttle_time = "auto", -- minimum amount of time in milliseconds + -- that has to pass before starting new render +}) diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add index 9c0890a..542bd35 100644 --- a/spell/en.utf-8.add +++ b/spell/en.utf-8.add @@ -127,3 +127,4 @@ intel Calma's nsf Vec +jedec diff --git a/spell/en.utf-8.add.spl b/spell/en.utf-8.add.spl index 27bb3c1622211bfce0c69a4c70b70d23fdcccee2..584443bf641e0ca05576c48797480e16cbb1ccca 100644 GIT binary patch delta 82 zcmZ3&yOx(P%+t5HAT=k)=syDk^TLgMMNHgGskw|PjEoEnyHY1NF}X5coP2^wh4J3x lw@kr|4<L-B$)&@bFs`~0stA;7h(Va delta 73 zcmZ3>yM&i7%+t5HAT=k)=syDk^PG)*MNCYLxs$t@Tp7 :call Build() nnoremap :bdelete nnoremap :b# - From 9fdf7a90af25c28cf19a5758a843f5dfda4c25eb Mon Sep 17 00:00:00 2001 From: yannickreiss Date: Sat, 9 Dec 2023 12:18:33 +0100 Subject: [PATCH 2/2] Add multicursor plugin --- lua/plugins.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/plugins.lua b/lua/plugins.lua index 810fa55..9a509fd 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -54,4 +54,5 @@ return { "neovim/nvim-lspconfig", "mfussenegger/nvim-dap", "mhartington/formatter.nvim", + "mg979/vim-visual-multi", }