diff --git a/lua/keymaps.lua b/lua/keymaps.lua index 7b5c7b1..3f272f3 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -77,17 +77,4 @@ vim.keymap.set('n', 'd', 'tabclose', { desc = 'Close Tab' vim.keymap.set('n', ']', 'tabnext', { desc = 'Next Tab' }) vim.keymap.set('n', '[', 'tabprevious', { desc = 'Previous Tab' }) --- Toggle LLM Suggestions -vim.keymap.set('n', 'tt', function() - local cp = require 'copilot.suggestion' - - cp.toggle_auto_trigger() - - if vim.b.copilot_suggestion_auto_trigger then - vim.notify 'Suggestions Enabled' - else - vim.notify 'Suggestions Disabled' - end -end, { desc = '[T]oggle LLM Suggestion Auto-[T]rigger' }) - -- vim: ts=2 sts=2 sw=2 et diff --git a/lua/plugins/copilot.lua b/lua/plugins/copilot.lua index 446c719..0a6e77f 100644 --- a/lua/plugins/copilot.lua +++ b/lua/plugins/copilot.lua @@ -25,7 +25,7 @@ return { }, suggestion = { enabled = true, - auto_trigger = false, + auto_trigger = true, debounce = 75, keymap = { accept = '', diff --git a/lua/plugins/lint.lua b/lua/plugins/lint.lua index 7ce78cf..0488593 100644 --- a/lua/plugins/lint.lua +++ b/lua/plugins/lint.lua @@ -3,15 +3,7 @@ return { event = { 'BufReadPre', 'BufNewFile' }, config = function() local lint = require 'lint' - - -- These configurations require the tools to be installed on your system (in your path). - -- See: https://mason-registry.dev/registry/list for a simple, automated way to install them. - -- ...Perhaps configure these in [["./nvim-lspconfig.lua"]]? - -- See: ':help MasonInstall' and ':help Mason' - - lint.linters_by_ft = { - markdown = { 'markdownlint' }, - } + lint.linters_by_ft = {} -- To allow other plugins to add linters to require('lint').linters_by_ft, -- instead set linters_by_ft like this: