diff --git a/config/nvim/plugins/autocomplete.lua b/config/nvim/plugins/autocomplete.lua index dd78444..1842736 100644 --- a/config/nvim/plugins/autocomplete.lua +++ b/config/nvim/plugins/autocomplete.lua @@ -1,9 +1,10 @@ +-- Disable autocomplete on enter. return { - "hrsh7th/nvim-cmp", - opts = function(_, opts) - local cmp = require("cmp") - opts.mapping = vim.tbl_deep_extend("force", opts.mapping, { - [""] = cmp.config.disable, - }) - end, + "hrsh7th/nvim-cmp", + opts = function(_, opts) + local cmp = require("cmp") + opts.mapping = vim.tbl_deep_extend("force", opts.mapping, { + [""] = cmp.config.disable, + }) + end, } diff --git a/config/nvim/plugins/disabled.lua b/config/nvim/plugins/disabled.lua index df58033..cfb2ea4 100644 --- a/config/nvim/plugins/disabled.lua +++ b/config/nvim/plugins/disabled.lua @@ -1,3 +1,4 @@ +-- Disable some unneeded plugins by default. return { { "nvimdev/dashboard-nvim", diff --git a/config/nvim/plugins/lsp.lua b/config/nvim/plugins/lsp.lua index 6c99ae3..8b0fe2e 100644 --- a/config/nvim/plugins/lsp.lua +++ b/config/nvim/plugins/lsp.lua @@ -1,3 +1,4 @@ +-- Disable inline hints by default. return { "neovim/nvim-lspconfig", opts = {