diff --git a/init.lua b/init.lua index ea2da01..6647f56 100644 --- a/init.lua +++ b/init.lua @@ -325,7 +325,7 @@ vim.keymap.set('n', 'sd', require('telescope.builtin').diagnostics, { de -- See `:help nvim-treesitter` require('nvim-treesitter.configs').setup { -- Add languages to be installed here that you want installed for treesitter - ensure_installed = { 'c', 'cpp', 'go', 'lua', 'markdown', 'markdown_inline', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim' }, + ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim' }, -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!) auto_install = false, diff --git a/lua/custom/plugins/mkdnflow.lua b/lua/custom/plugins/mkdnflow.lua new file mode 100644 index 0000000..1bc50e8 --- /dev/null +++ b/lua/custom/plugins/mkdnflow.lua @@ -0,0 +1,19 @@ +-- Mkdownflow plugin. +-- Allows to follow links, anchors, create links, and many more. +-- https://github.com/jakewvincent/mkdnflow.nvim + +-- Keymaps for mkdnflow. +-- Table +vim.keymap.set({'n','x','v'}, 'tf', 'MkdnTableFormat', {desc = 'Format table under cursor'}) + +return { + { + "jakewvincent/mkdnflow.nvim", + ft = 'pandoc', + lazy = true, + config = function () + require('mkdnflow').setup({ + }) + end + } +}