implemented copilot integration as ghost text and simplified some
keyboard shortcuts
This commit is contained in:
@@ -3,6 +3,7 @@ require('lspconfig')
|
||||
local lsp_servers = {
|
||||
'clangd',
|
||||
'pyright',
|
||||
'bashls',
|
||||
'lua_ls',
|
||||
}
|
||||
for _, server in ipairs(lsp_servers) do
|
||||
@@ -24,6 +25,9 @@ for _, server in ipairs(lsp_servers) do
|
||||
},
|
||||
}
|
||||
end
|
||||
if server == 'bashls' then
|
||||
config.filetypes = { 'sh', 'bash', 'zsh' }
|
||||
end
|
||||
|
||||
-- Apply the config and enable
|
||||
vim.lsp.config(server, config)
|
||||
|
||||
Reference in New Issue
Block a user