diff --git a/init.lua b/init.lua index 33f4440f..5c29d613 100644 --- a/init.lua +++ b/init.lua @@ -333,7 +333,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', 'python', 'rust', 'tsx', 'typescript', 'help', 'vim' }, + ensure_installed = { 'c', 'cpp', 'go', 'lua', 'rust', 'tsx', 'typescript', 'help', '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/init.lua b/lua/custom/plugins/init.lua index 24ce776c..f64070be 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -77,4 +77,31 @@ return { { "ul", "UrlView", desc = "View buffer URLs" }, }, }, + + -- Toggleterm: multiple terminals + { 'akinsho/toggleterm.nvim', + version = "*", + config = function() + require("toggleterm").setup { + insert_mappings = true, -- whether or not the open mapping applies in insert mode + size = 10, + open_mapping = [[]], + shading_factor = 2, + direction = "float", + float_opts = { + border = "curved", + highlights = { + border = "Normal", + background = "Normal", + }, + }, + } + end, + }, + + -- Markdown preview (attempt) + { + "iamcco/markdown-preview.nvim", + run = function() vim.fn["mkdp#util#install"]() end, + } }