diff --git a/lua/custom/plugins/auto-pairs.lua b/lua/custom/plugins/auto-pairs.lua new file mode 100644 index 0000000..1e80eb4 --- /dev/null +++ b/lua/custom/plugins/auto-pairs.lua @@ -0,0 +1,7 @@ +return { + 'windwp/nvim-autopairs', + event = 'InsertEnter', + config = true, + -- use opts = {} for passing setup options + -- this is equivalent to setup({}) function +} diff --git a/lua/custom/plugins/lsp-config.lua b/lua/custom/plugins/lsp-config.lua index 6decfaa..96b782f 100644 --- a/lua/custom/plugins/lsp-config.lua +++ b/lua/custom/plugins/lsp-config.lua @@ -159,6 +159,7 @@ return { -- LSP Configuration & Plugins gopls = {}, pyright = {}, rust_analyzer = {}, + markdownlint = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- -- Some languages (like typescript) have entire language plugins that can be useful: diff --git a/lua/custom/plugins/mini.lua b/lua/custom/plugins/mini.lua index b7d2fcf..5e7f743 100644 --- a/lua/custom/plugins/mini.lua +++ b/lua/custom/plugins/mini.lua @@ -23,8 +23,6 @@ return { -- Collection of various small independent plugins/modules -- set use_icons to true if you have a Nerd Font statusline.setup { use_icons = vim.g.have_nerd_font } - require('mini.starter').setup() - -- You can configure sections in the statusline by overriding their -- default behavior. For example, here we set the section for -- cursor location to LINE:COLUMN diff --git a/lua/custom/plugins/oil.lua b/lua/custom/plugins/oil.lua index ecf70ca..3a2e923 100644 --- a/lua/custom/plugins/oil.lua +++ b/lua/custom/plugins/oil.lua @@ -186,6 +186,6 @@ return { opts = opt, -- Optional dependencies dependencies = { 'nvim-tree/nvim-web-devicons' }, -- use if prefer nvim-web-devicons - vim.keymap.set('n', 'ef', 'Oil --float', { desc = '[E]nter Oil [F]loat' }), - vim.keymap.set('n', 'ee', 'Oil --preview', { desc = '[E]nter Oil' }), + --vim.keymap.set('n', 'ef', 'Oil --float', { desc = '[E]nter Oil [F]loat' }), + vim.keymap.set('n', 'e', 'Oil --preview', { desc = '[E]nter Oil' }), }