From 2ea2ce282c3fcafa1d4f6878b4d683bbfff21d18 Mon Sep 17 00:00:00 2001 From: Adrian Bakke Date: Mon, 7 Oct 2024 16:24:14 +0200 Subject: [PATCH] ls --- init.lua | 7 +++++-- lua/custom/plugins/init.lua | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 99d0cec6..d3879426 100644 --- a/init.lua +++ b/init.lua @@ -609,7 +609,7 @@ 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 = {}, -- gopls = {}, pyright = {}, -- rust_analyzer = {}, @@ -620,7 +620,10 @@ require('lazy').setup({ -- -- But for many setups, the LSP (`tsserver`) will work just fine -- tsserver = {}, - -- + ts_ls = {}, + eslint = {}, + html = {}, + cssls = {}, lua_ls = { -- cmd = {...}, diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index 60925f7d..87e0cc15 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -47,7 +47,7 @@ return { ---@type AvanteSupportedProvider openai = { endpoint = 'https://api.openai.com/v1', - model = 'gpt-4o-mini', -- Replace with the desired OpenAI model + model = 'gpt-4o', -- Replace with the desired OpenAI model timeout = 30000, temperature = 0.7, max_tokens = 4096,