diff --git a/lua/plugins/editing.lua b/lua/plugins/editing.lua index ddbe4b3..2d1e5fc 100644 --- a/lua/plugins/editing.lua +++ b/lua/plugins/editing.lua @@ -85,7 +85,7 @@ return { -- buffers vim.keymap.set('n', 'bb', builtin.buffers, { desc = 'Telescope buffers' }) vim.keymap.set('n', 'bd', function() - vim.cmd [[bd]] + vim.cmd [[Bd]] end, { desc = 'Save and close' }) vim.keymap.set('n', ']b', function() vim.cmd [[bnext]] @@ -103,5 +103,7 @@ return { config = function() vim.keymap.set({ "v", "n" }, "ca", require("actions-preview").code_actions, { desc = "Telescope code actions"}) end, + }, { + "famiu/bufdelete.nvim" } } diff --git a/lua/plugins/tsdev.lua b/lua/plugins/tsdev.lua index 02d0a2b..9a3840e 100644 --- a/lua/plugins/tsdev.lua +++ b/lua/plugins/tsdev.lua @@ -66,6 +66,9 @@ return { single_file_support = false, root_dir = require('lspconfig.util').root_pattern("deno.json", "deno.jsonc") } + lspconfig.marksman.setup{ + capabilities = capabilities + } end },{ "nvim-treesitter/nvim-treesitter", diff --git a/lua/plugins/visuals.lua b/lua/plugins/visuals.lua index 2e818cb..3e41f62 100644 --- a/lua/plugins/visuals.lua +++ b/lua/plugins/visuals.lua @@ -79,5 +79,11 @@ return { end } end + },{ + 'MeanderingProgrammer/render-markdown.nvim', + dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons + ---@module 'render-markdown' + ---@type render.md.UserConfig + opts = {}, } }