Add Copilot incl. auto-completion an chat
This commit is contained in:
parent
3569e4ec8e
commit
1700a7c450
3 changed files with 47 additions and 7 deletions
7
init.lua
7
init.lua
|
|
@ -626,7 +626,11 @@ require('lazy').setup({
|
|||
-- - settings (table): Override the default settings passed when initializing the server.
|
||||
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
|
||||
local servers = {
|
||||
clangd = {},
|
||||
clangd = {
|
||||
capabilities = {
|
||||
offsetEncoding = { 'utf-16' }, -- Match Copilot's encoding
|
||||
},
|
||||
},
|
||||
-- gopls = {},
|
||||
-- pyright = {},
|
||||
-- rust_analyzer = {},
|
||||
|
|
@ -841,6 +845,7 @@ require('lazy').setup({
|
|||
group_index = 0,
|
||||
},
|
||||
{ name = 'nvim_lsp' },
|
||||
{ name = 'copilot' },
|
||||
{ name = 'luasnip' },
|
||||
{ name = 'path' },
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue