From c3509e44d8421a8b1bf0d222779302c5e36159f3 Mon Sep 17 00:00:00 2001 From: Lucas Barbieri Date: Tue, 20 Aug 2024 16:24:00 -0300 Subject: [PATCH] feat: remove markdown modes --- init.lua | 4 +--- lua/custom/plugins/markdown-mode.lua | 4 ---- lua/custom/plugins/markdown.lua | 8 -------- 3 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 lua/custom/plugins/markdown-mode.lua diff --git a/init.lua b/init.lua index 6b498bf..f204a81 100644 --- a/init.lua +++ b/init.lua @@ -232,7 +232,7 @@ require('nvim-treesitter.configs').setup { ensure_installed = { 'c', 'go', 'lua', 'python', 'tsx', 'typescript', 'markdown', 'bash', 'html', 'css' }, -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!) - auto_install = false, + auto_install = true, highlight = { enable = true }, -- indent = { enable = true }, @@ -348,8 +348,6 @@ local on_attach = function(_, bufnr) vim.diagnostic.config({ float = { border = "single" } }) end local servers = { - clangd = {}, - -- hls = {}, gopls = { gopls = { usePlaceholders = true, diff --git a/lua/custom/plugins/markdown-mode.lua b/lua/custom/plugins/markdown-mode.lua deleted file mode 100644 index f62e965..0000000 --- a/lua/custom/plugins/markdown-mode.lua +++ /dev/null @@ -1,4 +0,0 @@ -return { - "https://github.com/tadmccorkle/markdown.nvim", - opts = {}, -} diff --git a/lua/custom/plugins/markdown.lua b/lua/custom/plugins/markdown.lua index 59f1ce8..97aeadd 100644 --- a/lua/custom/plugins/markdown.lua +++ b/lua/custom/plugins/markdown.lua @@ -1,10 +1,2 @@ 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, }