Compare commits
No commits in common. "bd633d91019451aeb041735c4c7e1997ed6b37d8" and "5eb58bd9c663dcb67c08553d2fe5f94fa57387bf" have entirely different histories.
bd633d9101
...
5eb58bd9c6
3 changed files with 0 additions and 63 deletions
|
@ -1,54 +0,0 @@
|
||||||
-- Copilot LLM Completions
|
|
||||||
-- https://github.com/jacobdot/copilot.nvim
|
|
||||||
|
|
||||||
-- Config as of 2024-08-04
|
|
||||||
return {
|
|
||||||
'zbirenbaum/copilot.lua',
|
|
||||||
cmd = 'Copilot',
|
|
||||||
event = 'InsertEnter',
|
|
||||||
config = function()
|
|
||||||
require('copilot').setup {
|
|
||||||
panel = {
|
|
||||||
enabled = false,
|
|
||||||
auto_refresh = false,
|
|
||||||
keymap = {
|
|
||||||
jump_prev = false, -- Originally '[['
|
|
||||||
jump_next = false, -- Originally ']]'
|
|
||||||
accept = '<CR>',
|
|
||||||
refresh = false, -- Originally 'gr'
|
|
||||||
open = false, --Originally '<M-CR>'
|
|
||||||
},
|
|
||||||
layout = {
|
|
||||||
position = 'right', -- | top | left | right
|
|
||||||
ratio = 0.4,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
suggestion = {
|
|
||||||
enabled = true,
|
|
||||||
auto_trigger = true,
|
|
||||||
debounce = 75,
|
|
||||||
keymap = {
|
|
||||||
accept = '<M-y>',
|
|
||||||
accept_word = '<M-h>',
|
|
||||||
accept_line = '<M-l>',
|
|
||||||
next = '<M-j>',
|
|
||||||
prev = '<M-k>',
|
|
||||||
dismiss = false,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
filetypes = {
|
|
||||||
yaml = false,
|
|
||||||
markdown = false,
|
|
||||||
help = false,
|
|
||||||
gitcommit = false,
|
|
||||||
gitrebase = false,
|
|
||||||
hgcommit = false,
|
|
||||||
svn = false,
|
|
||||||
cvs = false,
|
|
||||||
['.'] = false,
|
|
||||||
},
|
|
||||||
copilot_node_command = 'node', -- Node.js version must be > 18.x
|
|
||||||
server_opts_overrides = {},
|
|
||||||
}
|
|
||||||
end,
|
|
||||||
}
|
|
|
@ -15,10 +15,6 @@ return { -- LSP Configuration & Plugins
|
||||||
{ 'folke/lazydev.nvim', opts = {} },
|
{ 'folke/lazydev.nvim', opts = {} },
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
-- Manual config for Nushell LSP
|
|
||||||
-- TODO: Remove once `mason-lspconfig` supports Nushell
|
|
||||||
require('lspconfig').nushell.setup {}
|
|
||||||
|
|
||||||
-- Brief aside: **What is LSP?**
|
-- Brief aside: **What is LSP?**
|
||||||
--
|
--
|
||||||
-- LSP is an initialism you've probably heard, but might not understand what it is.
|
-- LSP is an initialism you've probably heard, but might not understand what it is.
|
||||||
|
|
|
@ -14,11 +14,6 @@ return { -- Highlight, edit, and navigate code
|
||||||
},
|
},
|
||||||
indent = { enable = true, disable = { 'ruby' } },
|
indent = { enable = true, disable = { 'ruby' } },
|
||||||
},
|
},
|
||||||
dependencies = {
|
|
||||||
-- NOTE: additional parser
|
|
||||||
-- TODO: Remove when no longer needed
|
|
||||||
{ 'nushell/tree-sitter-nu' },
|
|
||||||
},
|
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue